2007-10-16 10:15:54 +00:00
|
|
|
%define fontname culmus
|
2009-02-04 11:33:20 +00:00
|
|
|
%define fontconf 62-%{fontname}
|
|
|
|
|
|
|
|
#%define archivename %{name}-%{version}
|
|
|
|
|
|
|
|
%define common_desc \
|
|
|
|
The culmus-fonts package contains fonts for the display of\
|
2007-10-16 10:15:54 +00:00
|
|
|
Hebrew from the Culmus project.
|
|
|
|
|
2009-02-04 11:33:20 +00:00
|
|
|
|
|
|
|
Name: %{fontname}-fonts
|
|
|
|
Version: 0.102
|
2009-02-16 07:11:56 +00:00
|
|
|
Release: 3%{?dist}
|
2009-02-04 11:33:20 +00:00
|
|
|
Summary: Fonts for Hebrew from Culmus project
|
|
|
|
|
|
|
|
Group: User Interface/X
|
|
|
|
License: GPLv2
|
|
|
|
URL: http://culmus.sourceforge.net
|
|
|
|
Source0: http://downloads.sourceforge.net/sourceforge/%{fontname}/%{fontname}-%{version}.tar.gz
|
|
|
|
Source1: %{fontconf}-aharoni-clm.conf
|
|
|
|
Source2: %{fontconf}-caladings-clm.conf
|
|
|
|
Source3: %{fontconf}-david-clm.conf
|
|
|
|
Source4: %{fontconf}-drugulin-clm.conf
|
|
|
|
Source5: %{fontconf}-ellinia-clm.conf
|
|
|
|
Source6: %{fontconf}-frank-ruehl-clm.conf
|
|
|
|
Source7: %{fontconf}-miriam-clm.conf
|
|
|
|
Source8: %{fontconf}-miriam-mono-clm.conf
|
|
|
|
Source9: %{fontconf}-nachlieli-clm.conf
|
2009-02-09 09:33:15 +00:00
|
|
|
Obsoletes: culmus-fonts < 0.102-1
|
2009-02-04 11:33:20 +00:00
|
|
|
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: fontpackages-devel
|
|
|
|
|
|
|
|
%description
|
|
|
|
%common_desc
|
2009-02-09 09:33:15 +00:00
|
|
|
Meta-package of Culmus fonts which installs various families of culmus project.
|
2009-02-04 11:33:20 +00:00
|
|
|
|
|
|
|
%package common
|
|
|
|
Summary: Common files of culmus-fonts
|
|
|
|
Group: User Interface/X
|
|
|
|
Requires: fontpackages-filesystem
|
|
|
|
|
|
|
|
%description common
|
|
|
|
%common_desc
|
|
|
|
|
|
|
|
This package consists of files used by other %{name} packages.
|
|
|
|
|
2009-02-09 09:33:15 +00:00
|
|
|
|
|
|
|
%package -n %{fontname}-fonts-compat
|
|
|
|
Summary: Compatibility files of Culmus font families.
|
|
|
|
Group: User Interface/X
|
2009-02-16 07:11:56 +00:00
|
|
|
Obsoletes: %{fontname}-fonts-common < %{version}-%{release}
|
|
|
|
Obsoletes: %{fontname}-aharoni-clm-fonts < %{version}-%{release}
|
|
|
|
Obsoletes: %{fontname}-caladings-clm-fonts < %{version}-%{release}
|
|
|
|
Obsoletes: %{fontname}-david-clm-fonts < %{version}-%{release}
|
|
|
|
Obsoletes: %{fontname}-drugulin-clm-fonts < %{version}-%{release}
|
|
|
|
Obsoletes: %{fontname}-ellinia-clm-fonts < %{version}-%{release}
|
|
|
|
Obsoletes: %{fontname}-frank-ruehl-clm-fonts < %{version}-%{release}
|
|
|
|
Obsoletes: %{fontname}-miriam-clm-fonts < %{version}-%{release}
|
|
|
|
Obsoletes: %{fontname}-miriam-mono-clm-fonts < %{version}-%{release}
|
|
|
|
Obsoletes: %{fontname}-nachlieli-clm-fonts < %{version}-%{release}
|
|
|
|
Obsoletes: %{fontname}-yehuda-clm-fonts < %{version}-%{release}
|
|
|
|
|
2009-02-09 09:33:15 +00:00
|
|
|
Requires: %{fontname}-fonts-common = %{version}-%{release}
|
|
|
|
Requires: %{fontname}-aharoni-clm-fonts = %{version}-%{release}
|
|
|
|
Requires: %{fontname}-caladings-clm-fonts = %{version}-%{release}
|
|
|
|
Requires: %{fontname}-david-clm-fonts = %{version}-%{release}
|
|
|
|
Requires: %{fontname}-drugulin-clm-fonts = %{version}-%{release}
|
|
|
|
Requires: %{fontname}-ellinia-clm-fonts = %{version}-%{release}
|
|
|
|
Requires: %{fontname}-frank-ruehl-clm-fonts = %{version}-%{release}
|
|
|
|
Requires: %{fontname}-miriam-clm-fonts = %{version}-%{release}
|
|
|
|
Requires: %{fontname}-miriam-mono-clm-fonts = %{version}-%{release}
|
|
|
|
Requires: %{fontname}-nachlieli-clm-fonts = %{version}-%{release}
|
|
|
|
Requires: %{fontname}-yehuda-clm-fonts = %{version}-%{release}
|
|
|
|
|
|
|
|
%description -n %{fontname}-fonts-compat
|
|
|
|
%common_desc
|
|
|
|
Meta-package for installing all font families of Culmus.
|
2009-02-16 07:11:56 +00:00
|
|
|
This package only exists to help transition culmus-fonts 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.
|
|
|
|
|
2009-02-09 09:33:15 +00:00
|
|
|
|
|
|
|
%files -n %{fontname}-fonts-compat
|
|
|
|
%{nil}
|
|
|
|
|
|
|
|
|
2009-02-04 11:33:20 +00:00
|
|
|
%package -n %{fontname}-aharoni-clm-fonts
|
|
|
|
Summary: Fonts for Hebrew from Culmus project
|
|
|
|
Group: User Interface/X
|
|
|
|
Requires: %{name}-common = %{version}-%{release}
|
|
|
|
|
|
|
|
%description -n %{fontname}-aharoni-clm-fonts
|
|
|
|
%common_desc
|
|
|
|
|
|
|
|
%_font_pkg -n aharoni-clm -f %{fontconf}-aharoni-clm.conf AharoniCLM-*.afm AharoniCLM-*.pfa
|
|
|
|
|
|
|
|
%package -n %{fontname}-caladings-clm-fonts
|
|
|
|
Summary: Fonts for Hebrew from Culmus project
|
|
|
|
Group: User Interface/X
|
|
|
|
Requires: %{name}-common = %{version}-%{release}
|
|
|
|
|
|
|
|
%description -n %{fontname}-caladings-clm-fonts
|
|
|
|
%common_desc
|
|
|
|
|
|
|
|
%_font_pkg -n caladings-clm -f %{fontconf}-caladings-clm.conf CaladingsCLM.afm CaladingsCLM.pfa
|
|
|
|
|
|
|
|
%package -n %{fontname}-david-clm-fonts
|
|
|
|
Summary: Fonts for Hebrew from Culmus project
|
|
|
|
Group: User Interface/X
|
|
|
|
Requires: %{name}-common = %{version}-%{release}
|
|
|
|
|
|
|
|
%description -n %{fontname}-david-clm-fonts
|
|
|
|
%common_desc
|
|
|
|
|
|
|
|
%_font_pkg -n david-clm -f %{fontconf}-david-clm.conf DavidCLM-*.ttf
|
|
|
|
|
|
|
|
%package -n %{fontname}-drugulin-clm-fonts
|
|
|
|
Summary: Fonts for Hebrew from Culmus project
|
|
|
|
Group: User Interface/X
|
|
|
|
Requires: %{name}-common = %{version}-%{release}
|
|
|
|
|
|
|
|
%description -n %{fontname}-drugulin-clm-fonts
|
|
|
|
%common_desc
|
|
|
|
|
|
|
|
%_font_pkg -n drugulin-clm -f %{fontconf}-drugulin-clm.conf DrugulinCLM-*.afm DrugulinCLM-*.pfa
|
|
|
|
|
|
|
|
%package -n %{fontname}-ellinia-clm-fonts
|
|
|
|
Summary: Fonts for Hebrew from Culmus project
|
|
|
|
Group: User Interface/X
|
|
|
|
Requires: %{name}-common = %{version}-%{release}
|
|
|
|
|
|
|
|
%description -n %{fontname}-ellinia-clm-fonts
|
|
|
|
%common_desc
|
|
|
|
|
|
|
|
%_font_pkg -n ellinia-clm -f %{fontconf}-ellinia-clm.conf ElliniaCLM-*.afm ElliniaCLM-*.pfa
|
|
|
|
|
|
|
|
%package -n %{fontname}-frank-ruehl-clm-fonts
|
|
|
|
Summary: Fonts for Hebrew from Culmus project
|
|
|
|
Group: User Interface/X
|
|
|
|
Requires: %{name}-common = %{version}-%{release}
|
|
|
|
|
|
|
|
%description -n %{fontname}-frank-ruehl-clm-fonts
|
|
|
|
%common_desc
|
|
|
|
|
|
|
|
%_font_pkg -n frank-ruehl-clm -f %{fontconf}-frank-ruehl-clm.conf FrankRuehlCLM-*.afm FrankRuehlCLM-*.pfa
|
|
|
|
|
|
|
|
%package -n %{fontname}-miriam-clm-fonts
|
|
|
|
Summary: Fonts for Hebrew from Culmus project
|
|
|
|
Group: User Interface/X
|
|
|
|
Requires: %{name}-common = %{version}-%{release}
|
|
|
|
|
|
|
|
%description -n %{fontname}-miriam-clm-fonts
|
|
|
|
%common_desc
|
|
|
|
|
|
|
|
%_font_pkg -n miriam-clm -f %{fontconf}-miriam-clm.conf MiriamCLM-*.afm MiriamCLM-*.pfa
|
|
|
|
|
|
|
|
%package -n %{fontname}-miriam-mono-clm-fonts
|
|
|
|
Summary: Fonts for Hebrew from Culmus project
|
|
|
|
Group: User Interface/X
|
|
|
|
Requires: %{name}-common = %{version}-%{release}
|
|
|
|
|
|
|
|
%description -n %{fontname}-miriam-mono-clm-fonts
|
|
|
|
%common_desc
|
|
|
|
|
|
|
|
%_font_pkg -n miriam-mono-clm -f %{fontconf}-miriam-mono-clm.conf MiriamMonoCLM-*.afm MiriamMonoCLM-*.pfa
|
|
|
|
|
|
|
|
%package -n %{fontname}-nachlieli-clm-fonts
|
|
|
|
Summary: Fonts for Hebrew from Culmus project
|
|
|
|
Group: User Interface/X
|
|
|
|
Requires: %{name}-common = %{version}-%{release}
|
|
|
|
|
|
|
|
%description -n %{fontname}-nachlieli-clm-fonts
|
|
|
|
%common_desc
|
|
|
|
|
|
|
|
%_font_pkg -n nachlieli-clm -f %{fontconf}-nachlieli-clm.conf NachlieliCLM-*.afm NachlieliCLM-*.pfa
|
|
|
|
|
|
|
|
%package -n %{fontname}-yehuda-clm-fonts
|
|
|
|
Summary: Fonts for Hebrew from Culmus project
|
|
|
|
Group: User Interface/X
|
|
|
|
Requires: %{name}-common = %{version}-%{release}
|
|
|
|
|
|
|
|
%description -n %{fontname}-yehuda-clm-fonts
|
|
|
|
%common_desc
|
|
|
|
|
|
|
|
%_font_pkg -n yehuda-clm YehudaCLM-*.afm YehudaCLM-*.pfa
|
|
|
|
|
2007-10-16 10:15:54 +00:00
|
|
|
%prep
|
|
|
|
%setup -q -n %{fontname}-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
%install
|
2009-02-04 11:33:20 +00:00
|
|
|
rm -fr %{buildroot}
|
|
|
|
|
|
|
|
install -m 0755 -d %{buildroot}%{_fontdir}
|
|
|
|
install -m 0644 -p *.ttf %{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}
|
|
|
|
|
|
|
|
install -m 0644 -p %{SOURCE1} \
|
|
|
|
%{buildroot}%{_fontconfig_templatedir}/%{fontconf}-aharoni-clm.conf
|
|
|
|
install -m 0644 -p %{SOURCE2} \
|
|
|
|
%{buildroot}%{_fontconfig_templatedir}/%{fontconf}-caladings-clm.conf
|
|
|
|
install -m 0644 -p %{SOURCE3} \
|
|
|
|
%{buildroot}%{_fontconfig_templatedir}/%{fontconf}-david-clm.conf
|
|
|
|
install -m 0644 -p %{SOURCE4} \
|
|
|
|
%{buildroot}%{_fontconfig_templatedir}/%{fontconf}-drugulin-clm.conf
|
|
|
|
install -m 0644 -p %{SOURCE5} \
|
|
|
|
%{buildroot}%{_fontconfig_templatedir}/%{fontconf}-ellinia-clm.conf
|
|
|
|
install -m 0644 -p %{SOURCE6} \
|
|
|
|
%{buildroot}%{_fontconfig_templatedir}/%{fontconf}-frank-ruehl-clm.conf
|
|
|
|
install -m 0644 -p %{SOURCE7} \
|
|
|
|
%{buildroot}%{_fontconfig_templatedir}/%{fontconf}-miriam-clm.conf
|
|
|
|
install -m 0644 -p %{SOURCE8} \
|
|
|
|
%{buildroot}%{_fontconfig_templatedir}/%{fontconf}-miriam-mono-clm.conf
|
|
|
|
install -m 0644 -p %{SOURCE9} \
|
|
|
|
%{buildroot}%{_fontconfig_templatedir}/%{fontconf}-nachlieli-clm.conf
|
|
|
|
|
|
|
|
for fconf in %{fontconf}-aharoni-clm.conf \
|
|
|
|
%{fontconf}-caladings-clm.conf \
|
|
|
|
%{fontconf}-david-clm.conf \
|
|
|
|
%{fontconf}-drugulin-clm.conf \
|
|
|
|
%{fontconf}-ellinia-clm.conf \
|
|
|
|
%{fontconf}-frank-ruehl-clm.conf \
|
|
|
|
%{fontconf}-miriam-clm.conf \
|
|
|
|
%{fontconf}-miriam-mono-clm.conf \
|
|
|
|
%{fontconf}-nachlieli-clm.conf ; do
|
|
|
|
ln -s %{_fontconfig_templatedir}/$fconf \
|
|
|
|
%{buildroot}%{_fontconfig_confdir}/$fconf
|
|
|
|
done
|
2007-10-16 10:15:54 +00:00
|
|
|
|
|
|
|
|
|
|
|
%clean
|
2009-02-04 11:33:20 +00:00
|
|
|
rm -fr %{buildroot}
|
|
|
|
|
|
|
|
|
|
|
|
%files common
|
|
|
|
%defattr(0644,root,root,0755)
|
|
|
|
%doc CHANGES GNU-GPL LICENSE LICENSE-BITSTREAM
|
|
|
|
|
|
|
|
%dir %{_fontdir}
|
|
|
|
|
2007-10-16 10:15:54 +00:00
|
|
|
|
|
|
|
%changelog
|
2009-02-16 07:11:56 +00:00
|
|
|
* Mon Feb 16 2009 Rahul Bhalerao <rbhalera@redhat.com> - 0.102-3.fc11
|
|
|
|
- Modified -compat.
|
|
|
|
|
2009-02-09 09:33:15 +00:00
|
|
|
* Mon Feb 09 2009 Rahul Bhalerao <rbhalera@redhat.com> - 0.102-2.fc11
|
|
|
|
- Created -compat for subpackage for smooth upgrade.
|
|
|
|
|
2009-02-04 11:33:20 +00:00
|
|
|
* Wed Feb 04 2009 Rahul Bhalerao <rbhalera@redhat.com> - 0.102-1.fc11
|
|
|
|
- Updated version.
|
|
|
|
- Following new font packaging guidelines.
|
|
|
|
|
2008-07-23 10:00:32 +00:00
|
|
|
* Wed Jul 23 2008 Rahul Bhalerao <rbhalera@redhat.com> - 0.101-5.fc10
|
|
|
|
- Obsoleted dead package fonts-hebrew
|
|
|
|
|
2007-10-16 10:15:54 +00:00
|
|
|
* Mon Oct 15 2007 Rahul Bhalerao <rbhalera@redhat.com> - 0.101-4.fc8
|
|
|
|
- License change
|
|
|
|
|
|
|
|
* Thu Oct 11 2007 Rahul Bhalerao <rbhalera@redhat.com> - 0.101-3.fc8
|
|
|
|
- Updated according to the review
|
|
|
|
|
|
|
|
* Thu Oct 04 2007 Rahul Bhalerao <rbhalera@redhat.com> - 0.101-2.fc8
|
|
|
|
- Using common spec template for font packages
|
|
|
|
|
|
|
|
* Thu Oct 04 2007 Rahul Bhalerao <rbhalera@redhat.com> - 0.101-1.fc8
|
|
|
|
- Font directory and package name corrected and updated the version
|
|
|
|
|
|
|
|
* Thu Oct 04 2007 Rahul Bhalerao <rbhalera@redhat.com> - 0.100-1.fc8
|
|
|
|
- Split package from fonts-hebrew to reflect upstream project name
|