[ctan-cm-lgc-fonts] drop tex-cm-lgc subpackage since now provided by texlive-cm-lgc

Jens Petersen petersen at fedoraproject.org
Fri Feb 8 02:53:01 UTC 2013


commit 085d76e232fb85ad2987ec53e22d10787ffa0f6f
Author: Jens Petersen <petersen at redhat.com>
Date:   Fri Feb 8 11:52:54 2013 +0900

    drop tex-cm-lgc subpackage since now provided by texlive-cm-lgc
    
    so no longer need to BR non-existent texlive-texmf (#907728)
    
    - update source link to http
    - clean away deprecated buildroot lines

 ctan-cm-lgc-fonts.spec |   92 +++++------------------------------------------
 1 files changed, 10 insertions(+), 82 deletions(-)
---
diff --git a/ctan-cm-lgc-fonts.spec b/ctan-cm-lgc-fonts.spec
index 7685e83..8969c85 100644
--- a/ctan-cm-lgc-fonts.spec
+++ b/ctan-cm-lgc-fonts.spec
@@ -3,7 +3,6 @@
 %define fontname     %{foundryname}-%{fontpkg}
 %define fontconf     64-%{fontname}
 %define ctan_date    20051007
-%define texfonts     %{_texmf_main}/fonts
 %define texfontpath  public/%{fontpkg}
 
 
@@ -15,22 +14,20 @@ LGR, and TS1 encodings, i.e. Latin, Cyrillic, and Greek.
 
 Name:           ctan-cm-lgc-fonts
 Version:        0.5
-Release:        20%{?dist}
+Release:        21%{?dist}
 Summary:        CM-LGC Type1 fonts
-Group:          Applications/Publishing
 # Font exception
 License:        GPLv2+ with exceptions
 URL:            http://www.ctan.org/tex-archive/fonts/ps-type1/cm-lgc
 Source0:        cm-lgc-%{ctan_date}.zip
 # upstream source - unversioned zip file
-# ftp://tug.ctan.org/pub/tex-archive/fonts/ps-type1/cm-lgc.zip
+# http://tug.ctan.org/fonts/ps-type1/cm-lgc.zip
 Source1:        %{fontname}-fontconfig.tar.gz
 # Tarball of fontconfig files for each font
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildRequires:  fontpackages-devel, texlive-texmf
 BuildArch:      noarch
+BuildRequires:  fontpackages-devel
 %description
-%{common_desc} 
+%{common_desc}
 
 
 %package common
@@ -78,19 +75,6 @@ This package contains the CM-LGC serif typeface based on Computer Modern.
 %_font_pkg -n typewriter -f %{fontconf}-typewriter.conf fct*
 
 
-%define texfontpkg tex-cm-lgc
-%package -n %{texfontpkg}
-Summary:  CM-LGC Type1 fonts, TeX support files
-Group:    User Interface/X
-Requires: %{romanfonts} = %{version}-%{release}, %{sansfonts} = %{version}-%{release}, %{typewriterfonts} = %{version}-%{release}
-Requires: tex(latex)
-Provides: tetex-font-cm-lgc = %{version}-%{release}
-Obsoletes: tetex-font-cm-lgc < 0.5-12
-%description -n %{texfontpkg}
-%{common_desc}
-TeX support files.
-
-
 %prep
 %setup -q -a1 -n %{fontpkg}
 
@@ -99,35 +83,11 @@ TeX support files.
 
 
 %install
-rm -rf %{buildroot}
-
-mkdir -p %{buildroot}%{_texmf_main}/tex/latex/%{fontpkg}
-mkdir -p %{buildroot}%{texfonts}/{afm,ofm,ovf,type1,tfm,vf}/%{texfontpath}
-mkdir -p %{buildroot}%{texfonts}/{enc,map}/dvips/%{fontpkg}
-
-install -m 644 -p tex/latex/%{fontpkg}/* %{buildroot}%{_texmf_main}/tex/latex/%{fontpkg}/
-install -m 644 -p fonts/ofm/%{texfontpath}/* %{buildroot}%{texfonts}/ofm/%{texfontpath}/
-install -m 644 -p fonts/ovf/%{texfontpath}/* %{buildroot}%{texfonts}/ovf/%{texfontpath}/
-install -m 644 -p fonts/tfm/%{texfontpath}/* %{buildroot}%{texfonts}/tfm/%{texfontpath}/
-install -m 644 -p fonts/vf/%{texfontpath}/* %{buildroot}%{texfonts}/vf/%{texfontpath}/
-install -m 644 -p dvips/base/* %{buildroot}%{texfonts}/enc/dvips/%{fontpkg}/
-install -m 644 -p dvips/config/* %{buildroot}%{texfonts}/map/dvips/%{fontpkg}/
-
 #install .pfb and .afm files in %{_fontdir} as per the fedora font guidelines
 install -m 0755 -d %{buildroot}%{_fontdir}
 install -m 0644 -p fonts/type1/%{texfontpath}/* %{buildroot}%{_fontdir}
 install -m 0644 -p fonts/afm/%{texfontpath}/* %{buildroot}%{_fontdir}
 
-pushd %{buildroot}%{_fontdir}
-for pfb_file in *.pfb ;  do
-    ln -s %{_fontdir}/$pfb_file %{buildroot}%{texfonts}/type1/%{texfontpath}/$pfb_file
-done
-for afm_file in *.afm ;  do
-    ln -s %{_fontdir}/$afm_file %{buildroot}%{texfonts}/afm/%{texfontpath}/$afm_file
-done
-popd
-
-
 # fontconfig stuff (see spectemplate-fonts-multi.spec)
 install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
                    %{buildroot}%{_fontconfig_confdir}
@@ -147,50 +107,18 @@ for fconf in %{fontconf}-roman.conf \
 done
 
 
-
-%clean
-rm -rf %{buildroot}
-
-
-%post -n %{texfontpkg}
-texhash
-conffile="$(texconfig-sys conf | grep updmap.cfg)"
-if [ "$1" -eq "1" ]; then
-    updmap-sys --quiet --nohash --cnffile ${conffile} --enable Map %{fontpkg}.map
-fi
-
-
-
-%postun -n %{texfontpkg}
-conffile="$(texconfig-sys conf | grep updmap.cfg)"
-if [ "$1" -eq "0" ]; then
-  updmap-sys --quiet --nohash --cnffile ${conffile} --disable %{fontpkg}.map
-fi
-texhash
-
-
-
 %files common
-%defattr(0644,root,root,0755)
 %doc COPYING HISTORY README
 %dir %{_fontdir}
 
 
-%files -n %{texfontpkg}
-%defattr(0644,root,root,0755)
-%{_texmf_main}/tex/latex/%{fontpkg}
-%{texfonts}/afm/%{texfontpath}
-%{texfonts}/ofm/%{texfontpath}
-%{texfonts}/ovf/%{texfontpath}
-%{texfonts}/tfm/%{texfontpath}
-%{texfonts}/type1/%{texfontpath}
-%{texfonts}/vf/%{texfontpath}
-%{texfonts}/enc/dvips/%{fontpkg}
-%{texfonts}/map/dvips/%{fontpkg}
-
-
-
 %changelog
+* Fri Feb  8 2013 Jens Petersen <petersen at redhat.com> - 0.5-21
+- drop tex-cm-lgc subpackage since it is now provided by texlive-cm-lgc
+  so no longer need to BR non-existent texlive-texmf (#907728)
+- update source link to http
+- clean away deprecated buildroot lines
+
 * Wed Jul 18 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.5-20
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 


More information about the scm-commits mailing list