SPECS: tetex-revtex.spec - cleanup duplicate R and install; rel 5

glen glen at pld-linux.org
Tue Jan 8 01:46:43 CET 2008


Author: glen                         Date: Tue Jan  8 00:46:43 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- cleanup duplicate R and install; rel 5

---- Files affected:
SPECS:
   tetex-revtex.spec (1.20 -> 1.21) 

---- Diffs:

================================================================
Index: SPECS/tetex-revtex.spec
diff -u SPECS/tetex-revtex.spec:1.20 SPECS/tetex-revtex.spec:1.21
--- SPECS/tetex-revtex.spec:1.20	Mon Feb 12 23:09:17 2007
+++ SPECS/tetex-revtex.spec	Tue Jan  8 01:46:38 2008
@@ -1,20 +1,19 @@
 # $Revision$, $Date$
-%define	_short_name 	revtex
+%define		short_name 	revtex
 Summary:	Set of LaTeX macros for physicists
 Summary(pl.UTF-8):	Zestaw makr LaTeXa dla fizyków
 Name:		tetex-revtex
 # NOTE: this is _not_ intended to be upgraded to v4 (or any newer)
 Version:	3.1
-Release:	4
+Release:	5
 License:	non-commercial
 Group:		Applications/Publishing/TeX
-Source0:	http://ftp.agh.edu.pl/pub/tex/macros/latex209/contrib/revtex/%{_short_name}%{version}.tar.gz
+Source0:	http://ftp.agh.edu.pl/pub/tex/macros/latex209/contrib/revtex/%{short_name}%{version}.tar.gz
 # Source0-md5:	70de3a42b831a26bfa3f1521944d7a56
 Patch0:		%{name}-array.patch
 %requires_eq	tetex
 %requires_eq	tetex-latex
 BuildRequires:	tetex-latex
-Prereq:		tetex
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -24,17 +23,13 @@
 Zestaw makr LaTeXa dla fizyków.
 
 %prep
-%setup -q -c -n %{_short_name}
+%setup -q -c -n %{short_name}
 %patch0 -p1
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_datadir}/texmf/tex/latex/%{_short_name} \
-	$RPM_BUILD_ROOT%{_datadir}/texmf/doc/latex/%{_short_name}
-
-install *.cls *.sty *.bst $RPM_BUILD_ROOT%{_datadir}/texmf/tex/latex/%{_short_name}
-
-install *.sty *.bst $RPM_BUILD_ROOT%{_datadir}/texmf/tex/latex/%{_short_name}
+install -d $RPM_BUILD_ROOT%{_datadir}/texmf/tex/latex/%{short_name}
+install *.cls *.sty *.bst $RPM_BUILD_ROOT%{_datadir}/texmf/tex/latex/%{short_name}
 
 %post	-p %{_bindir}/mktexlsr
 %postun	-p %{_bindir}/mktexlsr
@@ -45,7 +40,7 @@
 %files
 %defattr(644,root,root,755)
 %doc README *.tex
-%{_datadir}/texmf/tex/latex/%{_short_name}
+%{_datadir}/texmf/tex/latex/%{short_name}
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -53,6 +48,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.21  2008-01-08 00:46:38  glen
+- cleanup duplicate R and install; rel 5
+
 Revision 1.20  2007-02-12 22:09:17  glen
 - tabs in preamble
 
@@ -81,7 +79,7 @@
 - adapterized
 
 Revision 1.11  2002/11/29 22:46:46  ankry
-- massive attack: new %%doc
+- massive attack: new %doc
 
 Revision 1.10  2002/06/05 09:04:22  dobrek
 - Begining of the fight with aps.
@@ -94,7 +92,7 @@
   Group field using gettext).
 
 Revision 1.7  2002/01/18 02:15:10  kloczek
-perl -pi -e "s/pld-list\@pld.org.pl/feedback\@pld.org.pl/"
+- perl -pi -e "s/pld-list\@pld.org.pl/feedback\@pld.org.pl/"
 
 Revision 1.6  2001/11/23 14:26:29  qboosh
 - s/Copyrigh/License/, pl translations, simplified post/postun
@@ -103,7 +101,7 @@
 - changed Summary and %description to something more accurate
 
 Revision 1.4  2001/04/06 13:42:43  wiget
-use %%require_eq for tetex (*.fmt files are not compatible across versions of teTeX);release++
+- use %require_eq for tetex (*.fmt files are not compatible across versions of teTeX);release++
 
 Revision 1.3  2000/09/11 13:30:46  kloczek
 - simplifications.
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/tetex-revtex.spec?r1=1.20&r2=1.21&f=u



More information about the pld-cvs-commit mailing list