Updated to new version and packaging guidelines
This commit is contained in:
parent
455b18bbb2
commit
79130cd877
@ -1 +1 @@
|
|||||||
culmus-0.101.tar.gz
|
culmus-0.102.tar.gz
|
||||||
|
18
62-culmus-aharoni-clm.conf
Normal file
18
62-culmus-aharoni-clm.conf
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||||
|
<fontconfig>
|
||||||
|
|
||||||
|
<!-- WINDOWS ALIASES -->
|
||||||
|
<alias>
|
||||||
|
<family>Guttman Aharoni</family>
|
||||||
|
<family>Guttman-Aharoni</family>
|
||||||
|
<accept><family>Aharoni CLM</family></accept>
|
||||||
|
</alias>
|
||||||
|
|
||||||
|
<!-- CULMUS ALIASES -->
|
||||||
|
<alias>
|
||||||
|
<family>Aharoni</family>
|
||||||
|
<accept><family>Aharoni CLM</family></accept>
|
||||||
|
</alias>
|
||||||
|
|
||||||
|
</fontconfig>
|
8
62-culmus-caladings-clm.conf
Normal file
8
62-culmus-caladings-clm.conf
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||||
|
<fontconfig>
|
||||||
|
|
||||||
|
<!-- CULMUS ALIASES -->
|
||||||
|
<alias> <family>Caladings</family> <accept><family>Caladings CLM</family></accept> </alias>
|
||||||
|
|
||||||
|
</fontconfig>
|
32
62-culmus-david-clm.conf
Normal file
32
62-culmus-david-clm.conf
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||||
|
<fontconfig>
|
||||||
|
|
||||||
|
<!-- WINDOWS ALIASES -->
|
||||||
|
|
||||||
|
<!-- Guttman Adii is replaced with David Medium Italic -->
|
||||||
|
<match target="pattern" >
|
||||||
|
<test name="family" >
|
||||||
|
<string>Guttman Adii</string>
|
||||||
|
</test>
|
||||||
|
<edit mode="prepend" binding="same" name="family" >
|
||||||
|
<string>David CLM</string>
|
||||||
|
</edit>
|
||||||
|
<edit mode="prepend" binding="same" name="style" >
|
||||||
|
<string>Medium Italic</string>
|
||||||
|
</edit>
|
||||||
|
</match>
|
||||||
|
|
||||||
|
<alias>
|
||||||
|
<family>David Transparent</family>
|
||||||
|
<family>Guttman David</family>
|
||||||
|
<accept><family>David CLM</family></accept>
|
||||||
|
</alias>
|
||||||
|
|
||||||
|
<!-- CULMUS ALIASES -->
|
||||||
|
<alias> <family>David</family> <accept><family>David CLM</family></accept> </alias>
|
||||||
|
<alias> <family>David OT</family> <accept><family>David CLM</family></accept> </alias>
|
||||||
|
|
||||||
|
<!-- MAC ALIASES -->
|
||||||
|
<alias> <family>Raanana</family> <accept><family>David CLM</family></accept> </alias>
|
||||||
|
</fontconfig>
|
15
62-culmus-drugulin-clm.conf
Normal file
15
62-culmus-drugulin-clm.conf
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||||
|
<fontconfig>
|
||||||
|
|
||||||
|
<!-- WINDOWS ALIASES -->
|
||||||
|
<alias>
|
||||||
|
<family>Guttman Drogolin</family>
|
||||||
|
<family>Guttman Vilna</family>
|
||||||
|
<accept><family>Drugulin CLM</family></accept>
|
||||||
|
</alias>
|
||||||
|
|
||||||
|
<!-- CULMUS ALIASES -->
|
||||||
|
<alias> <family>Drugulin</family> <accept><family>Drugulin CLM</family></accept> </alias>
|
||||||
|
|
||||||
|
</fontconfig>
|
8
62-culmus-ellinia-clm.conf
Normal file
8
62-culmus-ellinia-clm.conf
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||||
|
<fontconfig>
|
||||||
|
|
||||||
|
<!-- CULMUS ALIASES -->
|
||||||
|
<alias> <family>Ellinia</family> <accept><family>Ellinia CLM</family></accept> </alias>
|
||||||
|
|
||||||
|
</fontconfig>
|
19
62-culmus-frank-ruehl-clm.conf
Normal file
19
62-culmus-frank-ruehl-clm.conf
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||||
|
<fontconfig>
|
||||||
|
|
||||||
|
<!-- WINDOWS ALIASES -->
|
||||||
|
<alias>
|
||||||
|
<family>FrankRuehl</family>
|
||||||
|
<family>Guttman Frank</family>
|
||||||
|
<family>Guttman Frnew</family>
|
||||||
|
<accept><family>Frank Ruehl CLM</family></accept>
|
||||||
|
</alias>
|
||||||
|
|
||||||
|
<!-- CULMUS ALIASES -->
|
||||||
|
<alias> <family>Frank Ruehl</family> <accept><family>Frank Ruehl CLM</family></accept></alias>
|
||||||
|
|
||||||
|
<!-- MAC ALIASES -->
|
||||||
|
<alias> <family>New Peninim MT</family> <accept><family>Frank Ruehl CLM</family></accept></alias>
|
||||||
|
|
||||||
|
</fontconfig>
|
14
62-culmus-miriam-clm.conf
Normal file
14
62-culmus-miriam-clm.conf
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||||
|
<fontconfig>
|
||||||
|
|
||||||
|
<!-- WINDOWS ALIASES -->
|
||||||
|
<alias>
|
||||||
|
<family>Guttman Miryam</family>
|
||||||
|
<family>Levenim MT</family>
|
||||||
|
<family>Miriam</family>
|
||||||
|
<family>Miriam Transparent</family>
|
||||||
|
<accept><family>Miriam CLM</family></accept>
|
||||||
|
</alias>
|
||||||
|
|
||||||
|
</fontconfig>
|
17
62-culmus-miriam-mono-clm.conf
Normal file
17
62-culmus-miriam-mono-clm.conf
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||||
|
<fontconfig>
|
||||||
|
|
||||||
|
<!-- WINDOWS ALIASES -->
|
||||||
|
<alias>
|
||||||
|
<family>Fixed Miriam Transparent</family>
|
||||||
|
<family>Guttman Myamfix</family>
|
||||||
|
<family>Guttman-CourMir</family>
|
||||||
|
<family>Miriam Fixed</family>
|
||||||
|
<accept><family>Miriam Mono CLM</family></accept>
|
||||||
|
</alias>
|
||||||
|
|
||||||
|
<!-- CULMUS ALIASES -->
|
||||||
|
<alias> <family>Miriam Mono</family> <accept><family>Miriam Mono CLM</family></accept></alias>
|
||||||
|
|
||||||
|
</fontconfig>
|
11
62-culmus-nachlieli-clm.conf
Normal file
11
62-culmus-nachlieli-clm.conf
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||||
|
<fontconfig>
|
||||||
|
|
||||||
|
<!-- CULMUS ALIASES -->
|
||||||
|
<alias> <family>Nachlieli</family> <accept><family>Nachlieli CLM</family></accept> </alias>
|
||||||
|
|
||||||
|
<!-- MAC ALIASES -->
|
||||||
|
<alias> <family>ArialHB</family> <accept><family>Nachlieli CLM</family></accept> </alias>
|
||||||
|
|
||||||
|
</fontconfig>
|
@ -1,59 +1,216 @@
|
|||||||
%define fontname culmus
|
%define fontname culmus
|
||||||
%define fontdir %{_datadir}/fonts/%{fontname}
|
%define fontconf 62-%{fontname}
|
||||||
|
|
||||||
Name: %{fontname}-fonts
|
#%define archivename %{name}-%{version}
|
||||||
Version: 0.101
|
|
||||||
Release: 5%{?dist}
|
%define common_desc \
|
||||||
License: GPLv2
|
The culmus-fonts package contains fonts for the display of\
|
||||||
Source: http://downloads.sourceforge.net/sourceforge/%{fontname}/%{fontname}-%{version}.tar.gz
|
Hebrew from the Culmus project.
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
||||||
BuildArch: noarch
|
|
||||||
Group: User Interface/X
|
Name: %{fontname}-fonts
|
||||||
#Provides can be dropped in F11.
|
Version: 0.102
|
||||||
Provides: fonts-hebrew = 0.101-2
|
Release: 1%{?dist}
|
||||||
Obsoletes: fonts-hebrew <= 0.101-2
|
Summary: Fonts for Hebrew from Culmus project
|
||||||
Summary: Fonts for Hebrew from Culmus project
|
|
||||||
URL: http://culmus.sourceforge.net/
|
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
|
||||||
|
|
||||||
|
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
||||||
|
|
||||||
|
BuildArch: noarch
|
||||||
|
BuildRequires: fontpackages-devel
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The culmus-fonts package contains fonts for the display of
|
%common_desc
|
||||||
Hebrew from the Culmus project.
|
|
||||||
|
|
||||||
|
%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.
|
||||||
|
|
||||||
|
%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
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{fontname}-%{version}
|
%setup -q -n %{fontname}-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
echo "Nothing to do in Build."
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf %{buildroot}
|
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
|
||||||
|
|
||||||
install -m 0755 -d %{buildroot}%{fontdir}
|
|
||||||
install -m 0644 -p *.pfa *.afm %{buildroot}%{fontdir}
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf %{buildroot}
|
rm -fr %{buildroot}
|
||||||
|
|
||||||
%post
|
|
||||||
if [ -x %{_bindir}/fc-cache ]; then
|
|
||||||
%{_bindir}/fc-cache %{fontdir}
|
|
||||||
fi
|
|
||||||
|
|
||||||
%postun
|
%files common
|
||||||
if [ "$1" = "0" ]; then
|
%defattr(0644,root,root,0755)
|
||||||
if [ -x %{_bindir}/fc-cache ]; then
|
|
||||||
%{_bindir}/fc-cache %{fontdir}
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
%files
|
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%doc CHANGES GNU-GPL LICENSE LICENSE-BITSTREAM
|
%doc CHANGES GNU-GPL LICENSE LICENSE-BITSTREAM
|
||||||
%dir %{fontdir}
|
|
||||||
%{fontdir}/*.pfa
|
%dir %{_fontdir}
|
||||||
%{fontdir}/*.afm
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Feb 04 2009 Rahul Bhalerao <rbhalera@redhat.com> - 0.102-1.fc11
|
||||||
|
- Updated version.
|
||||||
|
- Following new font packaging guidelines.
|
||||||
|
|
||||||
* Wed Jul 23 2008 Rahul Bhalerao <rbhalera@redhat.com> - 0.101-5.fc10
|
* Wed Jul 23 2008 Rahul Bhalerao <rbhalera@redhat.com> - 0.101-5.fc10
|
||||||
- Obsoleted dead package fonts-hebrew
|
- Obsoleted dead package fonts-hebrew
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user