rpms/tetex-font-cm-lgc/devel .cvsignore, 1.3, 1.4 sources, 1.4, 1.5 tetex-font-cm-lgc.spec, 1.6, 1.7 cm-lgc-test.tex, 1.2, NONE

Sarantis Paskalis (sarantis) fedora-extras-commits at redhat.com
Mon Oct 10 12:46:11 UTC 2005


Author: sarantis

Update of /cvs/extras/rpms/tetex-font-cm-lgc/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv9116/devel

Modified Files:
	.cvsignore sources tetex-font-cm-lgc.spec 
Removed Files:
	cm-lgc-test.tex 
Log Message:
auto-import tetex-font-cm-lgc-0.5-3.fc5 on branch devel from tetex-font-cm-lgc-0.5-3.fc5.src.rpm


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/tetex-font-cm-lgc/devel/.cvsignore,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- .cvsignore	17 Jun 2005 02:26:32 -0000	1.3
+++ .cvsignore	10 Oct 2005 12:46:08 -0000	1.4
@@ -1 +1 @@
-tetex-font-cm-lgc-0.5.tar.bz2
+cm-lgc-20051007.zip


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/tetex-font-cm-lgc/devel/sources,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- sources	17 Jun 2005 02:26:32 -0000	1.4
+++ sources	10 Oct 2005 12:46:09 -0000	1.5
@@ -1 +1 @@
-da93842a94ad715fbd123e178102d414  tetex-font-cm-lgc-0.5.tar.bz2
+ba8e5a5b5bda6caa9a1c33cd9c3634de  cm-lgc-20051007.zip


Index: tetex-font-cm-lgc.spec
===================================================================
RCS file: /cvs/extras/rpms/tetex-font-cm-lgc/devel/tetex-font-cm-lgc.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- tetex-font-cm-lgc.spec	6 Jul 2005 12:21:23 -0000	1.6
+++ tetex-font-cm-lgc.spec	10 Oct 2005 12:46:09 -0000	1.7
@@ -1,29 +1,24 @@
-%define texmf     %{_datadir}/texmf
-%define tdsname   cm-lgc
-%define fontpath  public/cm-lgc
+%define ctan_date  20051007
+%define texmf      %{_datadir}/texmf
+%define texfonts   %{texmf}/fonts
+%define texpkg     cm-lgc
+%define fontpath   public/%{texpkg}
 
 Name:           tetex-font-cm-lgc
 Version:        0.5
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        CM-LGC Type1 fonts for LaTeX
-
 Group:          Applications/Publishing
 License:        GPL
 URL:            http://www.ctan.org/tex-archive/fonts/ps-type1/cm-lgc
-# NOTE: The sources included in this package might not match the one
-# you get from the FTP site. This occasionally happens because the FTP
-# site auto-generates the tar-ball. In such cases it is usually
-# sufficient to gunzip the .tar.gz file and compare the tar-balls.
-# ftp://ftp.dante.de/tex-archive/fonts/ps-type1/cm-lgc.tar.gz
-Source0:        tetex-font-cm-lgc-%{version}.tar.bz2
-Source1:        cm-lgc-test.tex
+Source0:        cm-lgc-%{ctan_date}.zip
+# upstream source - unversioned zip file
+# ftp://tug.ctan.org/pub/tex-archive/fonts/ps-type1/cm-lgc.zip
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-Requires:       tetex-latex
-Requires(post): tetex
-Requires(postun): tetex
+Requires:       tetex-latex tetex-fonts
 BuildArch:      noarch
 
+
 %description
 This package contains the CM-LGC fonts. These are PostScript Type 1
 fonts converted from the METAFONT sources of the Computer Modern font
@@ -33,63 +28,65 @@
 
 
 %prep
-%setup -q -n %{tdsname}
-cp -p %{SOURCE1} .
+%setup -q -n %{texpkg}
 
 
 %build
 
 
 %install
-rm -rf $RPM_BUILD_ROOT
-
-mkdir -p $RPM_BUILD_ROOT%{texmf}/tex/latex/%{tdsname}
-install -p -m 644 tex/latex/cm-lgc/* $RPM_BUILD_ROOT%{texmf}/tex/latex/%{tdsname}/
+rm -rf %{buildroot}
 
-mkdir -p $RPM_BUILD_ROOT%{texmf}/fonts/{ofm,ovf,type1,tfm,vf}/%{fontpath}
-install -p -m 644 fonts/ofm/public/cm-lgc/* $RPM_BUILD_ROOT%{texmf}/fonts/ofm/%{fontpath}/
-install -p -m 644 fonts/ovf/public/cm-lgc/* $RPM_BUILD_ROOT%{texmf}/fonts/ovf/%{fontpath}/
-install -p -m 644 fonts/type1/public/cm-lgc/* $RPM_BUILD_ROOT%{texmf}/fonts/type1/%{fontpath}/
-install -p -m 644 fonts/tfm/public/cm-lgc/* $RPM_BUILD_ROOT%{texmf}/fonts/tfm/%{fontpath}/
-install -p -m 644 fonts/vf/public/cm-lgc/* $RPM_BUILD_ROOT%{texmf}/fonts/vf/%{fontpath}/
-
-mkdir -p $RPM_BUILD_ROOT%{texmf}/fonts/{enc,map}/dvips/%{tdsname}
-install -p -m 644 dvips/base/* $RPM_BUILD_ROOT%{texmf}/fonts/enc/dvips/%{tdsname}/
-install -p -m 644 dvips/config/* $RPM_BUILD_ROOT%{texmf}/fonts/map/dvips/%{tdsname}/
+mkdir -p %{buildroot}%{texmf}/tex/latex/%{texpkg}
+mkdir -p %{buildroot}%{texfonts}/{ofm,ovf,type1,tfm,vf}/%{fontpath}
+mkdir -p %{buildroot}%{texfonts}/{enc,map}/dvips/%{texpkg}
+
+install -p -m 644 tex/latex/%{texpkg}/* %{buildroot}%{texmf}/tex/latex/%{texpkg}/
+install -p -m 644 fonts/ofm/%{fontpath}/* %{buildroot}%{texfonts}/ofm/%{fontpath}/
+install -p -m 644 fonts/ovf/%{fontpath}/* %{buildroot}%{texfonts}/ovf/%{fontpath}/
+install -p -m 644 fonts/type1/%{fontpath}/* %{buildroot}%{texfonts}/type1/%{fontpath}/
+install -p -m 644 fonts/tfm/%{fontpath}/* %{buildroot}%{texfonts}/tfm/%{fontpath}/
+install -p -m 644 fonts/vf/%{fontpath}/* %{buildroot}%{texfonts}/vf/%{fontpath}/
+install -p -m 644 dvips/base/* %{buildroot}%{texfonts}/enc/dvips/%{texpkg}/
+install -p -m 644 dvips/config/* %{buildroot}%{texfonts}/map/dvips/%{texpkg}/
 
 
 %clean
-rm -rf $RPM_BUILD_ROOT
+rm -rf %{buildroot}
 
 
 %post
-/usr/bin/mktexlsr %{texmf}
 if [ "$1" = "1" ]; then
   /usr/bin/updmap-sys --quiet --nohash --outputdir %{texmf}/dvips/config --enable Map cm-lgc.map
 fi
 
+
 %postun
 if [ "$1" = "0" ]; then
   /usr/bin/updmap-sys --quiet --nohash --outputdir %{texmf}/dvips/config --disable cm-lgc.map
 fi
-/usr/bin/mktexlsr %{texmf}
 
 
 %files
 %defattr(-,root,root,-)
-%doc COPYING HISTORY README cm-lgc-test.tex
-%{texmf}/tex/latex/%{tdsname}
-%{texmf}/fonts/ofm/%{fontpath}
-%{texmf}/fonts/ovf/%{fontpath}
-%{texmf}/fonts/tfm/%{fontpath}
-%{texmf}/fonts/type1/%{fontpath}
-%{texmf}/fonts/vf/%{fontpath}
-%{texmf}/fonts/enc/dvips/%{tdsname}
-%{texmf}/fonts/map/dvips/%{tdsname}
-
+%doc COPYING HISTORY README
+%{texmf}/tex/latex/%{texpkg}
+%{texfonts}/ofm/%{fontpath}
+%{texfonts}/ovf/%{fontpath}
+%{texfonts}/tfm/%{fontpath}
+%{texfonts}/type1/%{fontpath}
+%{texfonts}/vf/%{fontpath}
+%{texfonts}/enc/dvips/%{texpkg}
+%{texfonts}/map/dvips/%{texpkg}
 
 
 %changelog
+* Fri Oct  7 2005 Sarantis Paskalis <paskalis at di.uoa.gr> - 0.5-3
+- Require tetex-fonts.
+- Drop cm-lgc-test.tex.
+- Use ctan zip soure.
+- Other cleanups.
+
 * Wed Jul  6 2005 Sarantis Paskalis <paskalis at di.uoa.gr> - 0.5-2
 - Run updmap-sys only when installing, not when updating
 


--- cm-lgc-test.tex DELETED ---




More information about the fedora-extras-commits mailing list