Compare commits

...
Sign in to create a new pull request.

4 commits

Author SHA1 Message Date
Fedora Release Engineering
16f7ac7dba dist-git conversion 2010-07-29 15:57:39 +00:00
Ondrej Vasik
680d67e427 Merge review(#226567) - fix buildroot, source0 location, do not zip
readme.txt
2009-12-11 16:17:31 +00:00
Bill Nottingham
f1d3a77d3d Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-26 01:34:29 +00:00
Jesse Keating
026c092ba7 Initialize branch F-12 for xmltex 2009-09-29 07:23:04 +00:00
3 changed files with 17 additions and 34 deletions

View file

View file

@ -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)

View file

@ -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