Compare commits
4 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
16f7ac7dba | ||
|
|
680d67e427 | ||
|
|
f1d3a77d3d | ||
|
|
026c092ba7 |
3 changed files with 17 additions and 34 deletions
0
.cvsignore → .gitignore
vendored
0
.cvsignore → .gitignore
vendored
21
Makefile
21
Makefile
|
|
@ -1,21 +0,0 @@
|
|||
# Makefile for source rpm: xmltex
|
||||
# $Id: Makefile,v 1.1 2004/09/09 14:51:41 cvsdist Exp $
|
||||
NAME := xmltex
|
||||
SPECFILE = $(firstword $(wildcard *.spec))
|
||||
|
||||
define find-makefile-common
|
||||
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(find-makefile-common))
|
||||
|
||||
ifeq ($(MAKEFILE_COMMON),)
|
||||
# attempt a checkout
|
||||
define checkout-makefile-common
|
||||
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
|
||||
endif
|
||||
|
||||
include $(MAKEFILE_COMMON)
|
||||
30
xmltex.spec
30
xmltex.spec
|
|
@ -1,15 +1,16 @@
|
|||
Summary: Namespace-aware XML parser written in TeX
|
||||
Name: xmltex
|
||||
Version: 20020625
|
||||
Release: 15%{?dist}
|
||||
Release: 16%{?dist}
|
||||
License: LPPL
|
||||
Group: Applications/Publishing
|
||||
URL: http://www.dcarlisle.demon.co.uk/xmltex/manual.html
|
||||
Source0: ftp://ftp.tex.ac.uk/tex-archive/macros/xmltex-1.9.tar.gz
|
||||
Source1: xmltex.1
|
||||
URL: http://www.dcarlisle.demon.co.uk/xmltex/manual.html
|
||||
#Source0 located at ftp://ftp.tex.ac.uk/tex-archive/macros/xmltex
|
||||
Source0: xmltex-1.9.tar.gz
|
||||
Source1: xmltex.1
|
||||
Requires: tex(latex)
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
BuildRequires: tex(latex)
|
||||
|
||||
|
|
@ -27,15 +28,13 @@ mv -f xmltex/base/* .
|
|||
rm -rf $RPM_BUILD_ROOT
|
||||
install -d $RPM_BUILD_ROOT%{_datadir}/texmf/tex/xmltex
|
||||
install -d $RPM_BUILD_ROOT%{_bindir}
|
||||
install -p *.xmt %{name}.cfg *.ini *.tex $RPM_BUILD_ROOT%{_datadir}/texmf/tex/xmltex
|
||||
install -p -m 0644 *.xmt %{name}.cfg *.ini *.tex $RPM_BUILD_ROOT%{_datadir}/texmf/tex/xmltex
|
||||
ln -s pdftex ${RPM_BUILD_ROOT}%{_bindir}/pdf%{name}
|
||||
ln -s latex ${RPM_BUILD_ROOT}%{_bindir}/%{name}
|
||||
mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man1
|
||||
install -c -p -m 0644 %{SOURCE1} ${RPM_BUILD_ROOT}%{_mandir}/man1
|
||||
ln -s xmltex.1.gz ${RPM_BUILD_ROOT}%{_mandir}/man1/pdfxmltex.1
|
||||
|
||||
gzip -9nf readme.txt
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
|
@ -56,14 +55,19 @@ done
|
|||
exit 0
|
||||
|
||||
%files
|
||||
%defattr(644,root,root,755)
|
||||
%doc *.gz *.html
|
||||
%attr(755,root,root) %{_bindir}/*
|
||||
%defattr(-,root,root,-)
|
||||
%doc readme.txt manual.html
|
||||
%attr(755,root,root) %{_bindir}/xmltex
|
||||
%attr(755,root,root) %{_bindir}/pdfxmltex
|
||||
%{_datadir}/texmf/tex/xmltex
|
||||
%{_mandir}/man1/xmltex.1*
|
||||
%{_mandir}/man1/pdfxmltex.1*
|
||||
|
||||
%changelog
|
||||
* Fri Dec 11 2009 Ondrej Vasik <ovasik@redhat.com> - 20020625-16
|
||||
- Merge review(#226567) - fix buildroot, source0 location, do not
|
||||
zip readme.txt
|
||||
|
||||
* Fri Aug 28 2009 Ondrej Vasik <ovasik@redhat.com> - 20020625-15
|
||||
- ship xmltex manpage from Debian
|
||||
|
||||
|
|
@ -167,8 +171,8 @@ exit 0
|
|||
All persons listed below can be reached at <cvs_login>@pld.org.pl
|
||||
|
||||
$Log: xmltex.spec,v $
|
||||
Revision 1.24 2009/08/28 08:27:14 ovasik
|
||||
ship xmltex manpage from Debian
|
||||
Revision 1.25 2009/12/11 16:17:31 ovasik
|
||||
Merge review(#226567) - fix buildroot, source0 location, do not zip readme.txt
|
||||
|
||||
Revision 1.6 2001/03/27 16:50:29 wiget
|
||||
add xmltex.cfg file and one missing dir in %%files; release 3
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue