[ctan-kerkis-fonts] drop tex-kerkis subpackage now provided by texlive-kerkis

Jens Petersen petersen at fedoraproject.org
Thu Feb 7 07:24:13 UTC 2013


commit 101a8402343a32cbb2d73bda3c45ee25e66abd6e
Author: Jens Petersen <petersen at redhat.com>
Date:   Thu Feb 7 16:22:38 2013 +0900

    drop tex-kerkis subpackage now provided by texlive-kerkis
    
    - no longer need to BR non-existent texlive-texmf (#907726)
    - update url and source link
    - clean away deprecated buildroot lines

 ctan-kerkis-fonts.spec |   84 +++++------------------------------------------
 1 files changed, 9 insertions(+), 75 deletions(-)
---
diff --git a/ctan-kerkis-fonts.spec b/ctan-kerkis-fonts.spec
index 49d24c5..78d6c36 100644
--- a/ctan-kerkis-fonts.spec
+++ b/ctan-kerkis-fonts.spec
@@ -3,8 +3,6 @@
 %global fontname     %{foundryname}-%{fontpkg}
 %global fontconf     64-%{fontname}
 %global ctan_date    20090115
-%global texfonts     %{_texmf_main}/fonts
-%global texfontpath  %{fontpkg}
 
 # Common description
 %global common_desc Kerkis type 1 fonts for LaTeX.  These fonts are particularly useful \
@@ -19,15 +17,14 @@ Release:        26%{?dist}
 Summary:        Kerkis Type 1 fonts
 Group:          Applications/Publishing
 License:        LPPL
-URL:            http://www.ctan.org/tex-archive/help/Catalogue/entries/kerkis.html
+URL:            http://www.ctan.org/pkg/kerkis
 Source0:        kerkis-%{ctan_date}.zip
 # upstream source - unversioned zip file
-# ftp://tug.ctan.org/pub/tex-archive/fonts/greek/kerkis.zip
+# http://tug.ctan.org/fonts/greek/kerkis.zip
 Source1:        %{fontname}-fontconfig.tar.gz
 # Tarball of fontconfig files for each font
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
-BuildRequires:  fontpackages-devel texlive-texmf
+BuildRequires:  fontpackages-devel
 %description
 %{common_desc}
 
@@ -80,20 +77,6 @@ family of Kerkis, based on URW Bookman.
 %_font_pkg -n calligraphic -f %{fontconf}-calligraphic.conf Kerkis-Calligraphic* ktsy.*
 
 
-%global texfontpkg tex-kerkis
-%package -n %{texfontpkg}
-Summary:  Kerkis Type1 fonts, TeX support files
-Group:    User Interface/X
-Requires: %{seriffonts} = %{version}-%{release}, %{sansfonts} = %{version}-%{release}
-Requires: tex(latex)
-Provides: tetex-font-kerkis = %{version}-%{release}
-Obsoletes: tetex-font-kerkis < 2.0-17
-
-%description -n %{texfontpkg}
-%{common_desc}
-TeX support files.
-
-
 %prep
 %setup -q -a1 -n %{fontpkg}
 
@@ -102,33 +85,11 @@ TeX support files.
 
 
 %install
-rm -rf %{buildroot}
-
-mkdir -p %{buildroot}%{_texmf_main}/tex/latex/%{fontpkg}
-mkdir -p %{buildroot}%{texfonts}/{afm,tfm,type1,vf}/%{texfontpath}
-mkdir -p %{buildroot}%{texfonts}/{map,enc}/dvips/%{fontpkg}
-
-install -p -m 644 tex/{*.sty,*.fd} %{buildroot}%{_texmf_main}/tex/latex/%{fontpkg}/
-install -p -m 644 tfm/*.tfm %{buildroot}%{texfonts}/tfm/%{texfontpath}/
-install -p -m 644 vf/*.vf %{buildroot}%{texfonts}/vf/%{texfontpath}/
-install -p -m 644 dvips/*.map %{buildroot}%{texfonts}/map/dvips/%{fontpkg}/
-install -p -m 644 dvips/*.enc %{buildroot}%{texfonts}/enc/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 type1/* %{buildroot}%{_fontdir}
 install -m 0644 -p afm/* %{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}
@@ -149,45 +110,18 @@ for fconf in %{fontconf}-serif.conf \
 done
 
 
-
-%clean
-rm -rf %{buildroot}
-
-
-%post -n %{texfontpkg}
-texhash
-conffile="$(texconfig-sys conf | grep updmap.cfg)"
-if [ "$1" = "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" = "0" ]; then
-    updmap-sys --quiet --nohash --cnffile ${conffile} --disable %{fontpkg}.map
-fi
-texhash
-
 %files common
-%defattr(0644,root,root,0755)
 %doc License.txt README.html
 %dir %{_fontdir}
 
 
-%files -n %{texfontpkg}
-%defattr(-,root,root,-)
-%{_texmf_main}/tex/latex/%{fontpkg}
-%{texfonts}/afm/%{texfontpath}
-%{texfonts}/tfm/%{texfontpath}
-%{texfonts}/type1/%{texfontpath}
-%{texfonts}/vf/%{texfontpath}
-%{texfonts}/map/dvips/%{fontpkg}
-%{texfonts}/enc/dvips/%{fontpkg}
-
-
-
 %changelog
+* Thu Feb  7 2013 Jens Petersen <petersen at redhat.com> - 2.0-26
+- drop tex-kerkis subpackage since it is now provided by texlive-kerkis
+  so no longer need to BR non-existent texlive-texmf (#907726)
+- update url and source link
+- clean away deprecated buildroot lines
+
 * Wed Jul 18 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.0-26
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 


More information about the scm-commits mailing list