rpms/fonts-hebrew-fancy/devel .cvsignore, 1.2, 1.3 fonts-hebrew-fancy.spec, 1.6, 1.7 sources, 1.2, 1.3
Dan Kenigsberg
danken at fedoraproject.org
Fri Feb 27 15:01:48 UTC 2009
Author: danken
Update of /cvs/extras/rpms/fonts-hebrew-fancy/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv26799
Modified Files:
.cvsignore fonts-hebrew-fancy.spec sources
Log Message:
rename package to culmus-fancy and follow other font packaging guidelines
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/fonts-hebrew-fancy/devel/.cvsignore,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- .cvsignore 22 Nov 2005 22:31:38 -0000 1.2
+++ .cvsignore 27 Feb 2009 15:01:18 -0000 1.3
@@ -5,3 +5,10 @@
gladia.tar.gz
ktav-yad.tar.gz
ozrad.tar.gz
+62-culmus-fancy-anka.conf
+62-culmus-fancy-comix-no2.conf
+62-culmus-fancy-dorian.conf
+62-culmus-fancy-gan.conf
+62-culmus-fancy-gladia.conf
+62-culmus-fancy-ktav-yad.conf
+62-culmus-fancy-ozrad.conf
Index: fonts-hebrew-fancy.spec
===================================================================
RCS file: /cvs/extras/rpms/fonts-hebrew-fancy/devel/fonts-hebrew-fancy.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- fonts-hebrew-fancy.spec 24 Feb 2009 17:53:41 -0000 1.6
+++ fonts-hebrew-fancy.spec 27 Feb 2009 15:01:18 -0000 1.7
@@ -1,8 +1,13 @@
-%define culmus_version 0.101
+%define fontname culmus-fancy
+%define fontconf 62-%{fontname}
-Name: fonts-hebrew-fancy
+%define common_desc \
+The %{name} package contains fancy (non-standard) Hebrew fonts \
+from the Culmus project by Maxim Iorsh.
+
+Name: %{fontname}-fonts
Version: 0.20051122
-Release: 5%{?dist}
+Release: 6%{?dist}
License: GPLv2
Source0: http://culmus.sourceforge.net/fancy/comix.tar.gz
Source1: http://culmus.sourceforge.net/fancy/dorian.tar.gz
@@ -11,21 +16,143 @@
Source4: http://culmus.sourceforge.net/fancy/ktav-yad.tar.gz
Source5: http://culmus.sourceforge.net/fancy/ozrad.tar.gz
Source6: http://culmus.sourceforge.net/fancy/anka.tar.gz
+Source10: %{fontconf}-comix-no2.conf
+Source11: %{fontconf}-dorian.conf
+Source12: %{fontconf}-gan.conf
+Source13: %{fontconf}-gladia.conf
+Source14: %{fontconf}-ktav-yad.conf
+Source15: %{fontconf}-ozrad.conf
+Source16: %{fontconf}-anka.conf
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
BuildArch: noarch
+BuildRequires: fontpackages-devel
Group: User Interface/X
Summary: Fancy fonts for Hebrew
Summary(he): ×××¤× ×× ×ק×ש××× ××¢×ר×ת
URL: http://culmus.sourceforge.net/fancy
%description
-The fonts-hebrew-fancy package contains fancy (non-standard) Hebrew fonts
-from the Culmus project by Maxim Iorsh.
+%common_desc
%description -l he
-×××××× fonts-hebrew-fancy ××××ת ×××¤× ×× ×ק×ש××× (×× ×¡×× ×ר××××) ××¢×ר×ת,
+×××××× %{name} ××××ת ×××¤× ×× ×ק×ש××× (×× ×¡×× ×ר××××) ××¢×ר×ת,
×פר×××§× ×§××××ס ×©× ×קס×× ××רש.
+%package common
+Summary: Common files of culmus-fancy-fonts
+Group: User Interface/X
+Requires: fontpackages-filesystem
+
+%description common
+%common_desc
+
+This package consists of files used by other %{name} packages.
+
+%package -n fonts-hebrew-fancy-compat
+Summary: Compatibility files of Culmus fancy font families.
+Group: User Interface/X
+Obsoletes: %{fontname}-fonts-common < %{version}-%{release}
+Obsoletes: %{fontname}-comix-no2-fonts < %{version}-%{release}
+Obsoletes: %{fontname}-dorian-fonts < %{version}-%{release}
+Obsoletes: %{fontname}-gan-fonts < %{version}-%{release}
+Obsoletes: %{fontname}-gladia-fonts < %{version}-%{release}
+Obsoletes: %{fontname}-ktav-yad-fonts < %{version}-%{release}
+Obsoletes: %{fontname}-ozrad-fonts < %{version}-%{release}
+Obsoletes: %{fontname}-anka-fonts < %{version}-%{release}
+
+Requires: %{fontname}-fonts-common = %{version}-%{release}
+Requires: %{fontname}-comix-no2-fonts = %{version}-%{release}
+Requires: %{fontname}-dorian-fonts = %{version}-%{release}
+Requires: %{fontname}-gan-fonts = %{version}-%{release}
+Requires: %{fontname}-gladia-fonts = %{version}-%{release}
+Requires: %{fontname}-ktav-yad-fonts = %{version}-%{release}
+Requires: %{fontname}-ozrad-fonts = %{version}-%{release}
+Requires: %{fontname}-anka-fonts = %{version}-%{release}
+
+Obsoletes: fonts-hebrew-fancy < %{version}-%{release}
+Provides: fonts-hebrew-fancy = %{version}-%{release}
+
+%description -n fonts-hebrew-fancy-compat
+%common_desc
+Meta-package for installing all fancy font families of Culmus.
+This package only exists to help transition fonts-hebrew-fancy users to the new
+package split. It will be removed after one distribution release cycle, please
+do not reference it or depend on it in any way.
+
+%files -n fonts-hebrew-fancy-compat
+%{nil}
+
+%package -n %{fontname}-comix-no2-fonts
+Summary: Fancy Fonts for Hebrew from Culmus project
+Group: User Interface/X
+Requires: %{name}-common = %{version}-%{release}
+
+%description -n %{fontname}-comix-no2-fonts
+%common_desc
+
+%_font_pkg -n comix-no2 -f %{fontconf}-comix-no2.conf ComixNo2CLM-*.afm ComixNo2CLM-*.pfa
+
+%package -n %{fontname}-dorian-fonts
+Summary: Fancy Fonts for Hebrew from Culmus project
+Group: User Interface/X
+Requires: %{name}-common = %{version}-%{release}
+
+%description -n %{fontname}-dorian-fonts
+%common_desc
+
+%_font_pkg -n dorian -f %{fontconf}-dorian.conf DorianCLM-*.afm DorianCLM-*.pfa
+
+%package -n %{fontname}-gan-fonts
+Summary: Fancy Fonts for Hebrew from Culmus project
+Group: User Interface/X
+Requires: %{name}-common = %{version}-%{release}
+
+%description -n %{fontname}-gan-fonts
+%common_desc
+
+%_font_pkg -n gan -f %{fontconf}-gan.conf GanCLM-*.afm GanCLM-*.pfa
+
+%package -n %{fontname}-gladia-fonts
+Summary: Fancy Fonts for Hebrew from Culmus project
+Group: User Interface/X
+Requires: %{name}-common = %{version}-%{release}
+
+%description -n %{fontname}-gladia-fonts
+%common_desc
+
+%_font_pkg -n gladia -f %{fontconf}-gladia.conf GladiaCLM-*.afm GladiaCLM-*.pfa
+
+%package -n %{fontname}-ktav-yad-fonts
+Summary: Fancy Fonts for Hebrew from Culmus project
+Group: User Interface/X
+Requires: %{name}-common = %{version}-%{release}
+
+%description -n %{fontname}-ktav-yad-fonts
+%common_desc
+
+%_font_pkg -n ktav-yad -f %{fontconf}-ktav-yad.conf KtavYadCLM-*.afm KtavYadCLM-*.pfa
+
+%package -n %{fontname}-ozrad-fonts
+Summary: Fancy Fonts for Hebrew from Culmus project
+Group: User Interface/X
+Requires: %{name}-common = %{version}-%{release}
+
+%description -n %{fontname}-ozrad-fonts
+%common_desc
+
+%_font_pkg -n ozrad -f %{fontconf}-ozrad.conf OzradCLM-*.afm OzradCLM-*.pfa
+
+%package -n %{fontname}-anka-fonts
+Summary: Fancy Fonts for Hebrew from Culmus project
+Group: User Interface/X
+Requires: %{name}-common = %{version}-%{release}
+
+%description -n %{fontname}-anka-fonts
+%common_desc
+
+%_font_pkg -n anka -f %{fontconf}-anka.conf AnkaCLM-*.afm AnkaCLM-*.pfa
+
%prep
%setup -c
%setup -T -D -a 1
@@ -36,38 +163,37 @@
%setup -T -D -a 6
%install
-rm -rf $RPM_BUILD_ROOT
+rm -fr %{buildroot}
-mkdir -p $RPM_BUILD_ROOT%{_datadir}/fonts/hebrew-fancy
-cp *.pfa *.afm $RPM_BUILD_ROOT%{_datadir}/fonts/hebrew-fancy
-# %%ghost the fonts.cache-1 file
-touch $RPM_BUILD_ROOT%{_datadir}/fonts/hebrew-fancy/fonts.cache-{1,2}
+install -m 0755 -d %{buildroot}%{_fontdir}
+install -m 0644 -p *.afm %{buildroot}%{_fontdir}
+install -m 0644 -p *.pfa %{buildroot}%{_fontdir}
+
+install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
+ %{buildroot}%{_fontconfig_confdir}
+
+for c in %{SOURCE10} %{SOURCE11} %{SOURCE12} \
+ %{SOURCE13} %{SOURCE14} %{SOURCE15} %{SOURCE16}; do
+ fconf=`basename "$c"`
+ install -m 0644 -p $c \
+ %{buildroot}%{_fontconfig_templatedir}/"$fconf"
+ ln -s %{_fontconfig_templatedir}/$fconf \
+ %{buildroot}%{_fontconfig_confdir}/$fconf
+done
%clean
-rm -rf $RPM_BUILD_ROOT
+rm -rf %{buildroot}
-%post
-if [ -x %{_bindir}/fc-cache ]; then
- %{_bindir}/fc-cache %{_datadir}/fonts/hebrew-fancy
-fi
-
-%postun
-if [ "$1" = "0" ]; then
- if [ -x %{_bindir}/fc-cache ]; then
- %{_bindir}/fc-cache %{_datadir}/fonts
- fi
-fi
-
-%files
-%defattr(-,root,root,-)
+%files common
+%defattr(0644,root,root,0755)
%doc GNU-GPL
-%dir %{_datadir}/fonts/hebrew-fancy
-%{_datadir}/fonts/hebrew-fancy/*.pfa
-%{_datadir}/fonts/hebrew-fancy/*.afm
-%ghost %verify(not md5 size mtime) %{_datadir}/fonts/hebrew-fancy/fonts.cache-1
-%ghost %verify(not md5 size mtime) %{_datadir}/fonts/hebrew-fancy/fonts.cache-2
+
+%dir %{_fontdir}
%changelog
+* Fri Feb 27 2009 Dan Kenigsberg <danken at cs.technion.ac.il> 0.20051122-6
+- Follow new font packaging guidelines.
+
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.20051122-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/fonts-hebrew-fancy/devel/sources,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- sources 22 Nov 2005 22:31:38 -0000 1.2
+++ sources 27 Feb 2009 15:01:18 -0000 1.3
@@ -5,3 +5,10 @@
34c72b7ee66d38baddae31998000678c gladia.tar.gz
e5e9572e5cbca24c976b8091feeb586f ktav-yad.tar.gz
1e3c28c01fc9a7b40fed694a571034cc ozrad.tar.gz
+0f2535801c221d16d2a6a73da71e5d36 62-culmus-fancy-anka.conf
+f231a26dbf1c882fb18d1d48b3c60adc 62-culmus-fancy-comix-no2.conf
+6ff29dc95f8cf4a063139554b7e31a1f 62-culmus-fancy-dorian.conf
+24468acc5927297e1b9f50759f3ce875 62-culmus-fancy-gan.conf
+49f334dcec45bab31c43c00dd8e06f56 62-culmus-fancy-gladia.conf
+f42cf94f2eb13295bebef866ee851741 62-culmus-fancy-ktav-yad.conf
+4cacccb4935129fba71cc18e14b29d08 62-culmus-fancy-ozrad.conf
More information about the Fedora-fonts-bugs-list
mailing list