Add metainfo file to show this font in gnome-software
- Remove owneship of %{_fontdir} in -common - Remove group tag
This commit is contained in:
parent
b810bd5107
commit
7845f8f645
@ -1,7 +1,7 @@
|
||||
%define fontname culmus
|
||||
%define fontconf 65-%{fontname}
|
||||
%global fontname culmus
|
||||
%global fontconf 65-%{fontname}
|
||||
|
||||
%define common_desc \
|
||||
%global common_desc \
|
||||
The culmus-fonts package contains fonts for the display of\
|
||||
Hebrew from the Culmus project.
|
||||
|
||||
@ -11,7 +11,6 @@ Version: 0.130
|
||||
Release: 5%{?dist}
|
||||
Summary: Fonts for Hebrew from Culmus project
|
||||
|
||||
Group: User Interface/X
|
||||
License: GPLv2
|
||||
URL: http://culmus.sourceforge.net
|
||||
Source0: http://downloads.sourceforge.net/culmus/%{fontname}-%{version}.tar.gz
|
||||
@ -33,6 +32,25 @@ Source15: %{fontconf}-shofar.conf
|
||||
Source16: http://downloads.sourceforge.net/culmus/culmus-type1-0.121.tar.gz
|
||||
Obsoletes: culmus-fonts < 0.102-1
|
||||
|
||||
#for appstream metainfo
|
||||
Source50: %{fontname}-aharoni-clm.metainfo.xml
|
||||
Source51: %{fontname}-caladings-clm.metainfo.xml
|
||||
Source52: %{fontname}-david-clm.metainfo.xml
|
||||
Source53: %{fontname}-drugulin-clm.metainfo.xml
|
||||
Source54: %{fontname}-ellinia-clm.metainfo.xml
|
||||
Source55: %{fontname}-frank-ruehl-clm.metainfo.xml
|
||||
Source56: %{fontname}-hadasim-clm.metainfo.xml
|
||||
Source57: %{fontname}-keteryg.metainfo.xml
|
||||
Source58: %{fontname}-miriam-clm.metainfo.xml
|
||||
Source59: %{fontname}-miriam-mono-clm.metainfo.xml
|
||||
Source60: %{fontname}-nachlieli-clm.metainfo.xml
|
||||
Source61: %{fontname}-simple-clm.metainfo.xml
|
||||
Source62: %{fontname}-stamashkenaz-clm.metainfo.xml
|
||||
Source63: %{fontname}-stamsefarad-clm.metainfo.xml
|
||||
Source64: %{fontname}-yehuda-clm.metainfo.xml
|
||||
Source65: %{fontname}-shofar.metainfo.xml
|
||||
Source66: %{fontname}.metainfo.xml
|
||||
|
||||
BuildArch: noarch
|
||||
BuildRequires: fontpackages-devel
|
||||
|
||||
@ -42,7 +60,6 @@ Meta-package of Culmus fonts which installs various families of culmus project.
|
||||
|
||||
%package common
|
||||
Summary: Common files of culmus-fonts
|
||||
Group: User Interface/X
|
||||
Requires: fontpackages-filesystem
|
||||
%description common
|
||||
%common_desc
|
||||
@ -51,167 +68,167 @@ 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
|
||||
%{_datadir}/appdata/%{fontname}-aharoni-clm.metainfo.xml
|
||||
|
||||
%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
|
||||
%{_datadir}/appdata/%{fontname}-caladings-clm.metainfo.xml
|
||||
|
||||
%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 DavidCLM-*.afm DavidCLM-*.pfa
|
||||
%{_datadir}/appdata/%{fontname}-david-clm.metainfo.xml
|
||||
|
||||
%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
|
||||
%{_datadir}/appdata/%{fontname}-drugulin-clm.metainfo.xml
|
||||
|
||||
%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
|
||||
%{_datadir}/appdata/%{fontname}-ellinia-clm.metainfo.xml
|
||||
|
||||
%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-*.ttf FrankRuehlCLM-*.afm FrankRuehlCLM-*.pfa
|
||||
%{_datadir}/appdata/%{fontname}-frank-ruehl-clm.metainfo.xml
|
||||
|
||||
|
||||
%package -n %{fontname}-hadasim-clm-fonts
|
||||
Summary: Fonts for Hebrew from Culmus project
|
||||
Group: User Interface/X
|
||||
Requires: %{name}-common = %{version}-%{release}
|
||||
|
||||
%description -n %{fontname}-hadasim-clm-fonts
|
||||
%common_desc
|
||||
|
||||
%_font_pkg -n hadasim-clm -f %{fontconf}-hadasim-clm.conf HadasimCLM-*.ttf
|
||||
%{_datadir}/appdata/%{fontname}-hadasim-clm.metainfo.xml
|
||||
|
||||
%package -n %{fontname}-keteryg-fonts
|
||||
Summary: Fonts for Hebrew from Culmus project
|
||||
Group: User Interface/X
|
||||
Requires: %{name}-common = %{version}-%{release}
|
||||
|
||||
%description -n %{fontname}-keteryg-fonts
|
||||
%common_desc
|
||||
|
||||
%_font_pkg -n keteryg -f %{fontconf}-keteryg.conf KeterYG-*.ttf
|
||||
%{_datadir}/appdata/%{fontname}-keteryg.metainfo.xml
|
||||
|
||||
|
||||
%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-*.ttf MiriamCLM-*.afm MiriamCLM-*.pfa
|
||||
%{_datadir}/appdata/%{fontname}-miriam-clm.metainfo.xml
|
||||
|
||||
%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-*.ttf MiriamMonoCLM-*.afm MiriamMonoCLM-*.pfa
|
||||
%{_datadir}/appdata/%{fontname}-miriam-mono-clm.metainfo.xml
|
||||
|
||||
%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
|
||||
%{_datadir}/appdata/%{fontname}-nachlieli-clm.metainfo.xml
|
||||
|
||||
|
||||
%package -n %{fontname}-simple-clm-fonts
|
||||
Summary: Fonts for Hebrew from Culmus project
|
||||
Group: User Interface/X
|
||||
Requires: %{name}-common = %{version}-%{release}
|
||||
|
||||
%description -n %{fontname}-simple-clm-fonts
|
||||
%common_desc
|
||||
|
||||
%_font_pkg -n simple-clm -f %{fontconf}-simple-clm.conf SimpleCLM-*.ttf
|
||||
%{_datadir}/appdata/%{fontname}-simple-clm.metainfo.xml
|
||||
|
||||
%package -n %{fontname}-stamashkenaz-clm-fonts
|
||||
Summary: Fonts for Hebrew from Culmus project
|
||||
Group: User Interface/X
|
||||
Requires: %{name}-common = %{version}-%{release}
|
||||
|
||||
%description -n %{fontname}-stamashkenaz-clm-fonts
|
||||
%common_desc
|
||||
|
||||
%_font_pkg -n stamashkenaz-clm -f %{fontconf}-stamashkenaz-clm.conf StamAshkenazCLM.ttf
|
||||
%{_datadir}/appdata/%{fontname}-stamashkenaz-clm.metainfo.xml
|
||||
|
||||
%package -n %{fontname}-stamsefarad-clm-fonts
|
||||
Summary: Fonts for Hebrew from Culmus project
|
||||
Group: User Interface/X
|
||||
Requires: %{name}-common = %{version}-%{release}
|
||||
|
||||
%description -n %{fontname}-stamsefarad-clm-fonts
|
||||
%common_desc
|
||||
|
||||
%_font_pkg -n stamsefarad-clm -f %{fontconf}-stamsefarad-clm.conf StamSefaradCLM.ttf
|
||||
%{_datadir}/appdata/%{fontname}-stamsefarad-clm.metainfo.xml
|
||||
|
||||
|
||||
%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
|
||||
%{_datadir}/appdata/%{fontname}-yehuda-clm.metainfo.xml
|
||||
|
||||
%package -n %{fontname}-shofar-fonts
|
||||
Summary: Fonts for Hebrew from Culmus project
|
||||
Group: User Interface/X
|
||||
Requires: %{name}-common = %{version}-%{release}
|
||||
|
||||
%description -n %{fontname}-shofar-fonts
|
||||
%common_desc
|
||||
|
||||
%_font_pkg -n shofar -f %{fontconf}-shofar.conf Shofar*.ttf
|
||||
%{_datadir}/appdata/%{fontname}-shofar.metainfo.xml
|
||||
|
||||
%prep
|
||||
%setup -q -n %{fontname}-%{version}
|
||||
@ -281,14 +298,53 @@ for fconf in %{fontconf}-aharoni-clm.conf \
|
||||
%{buildroot}%{_fontconfig_confdir}/$fconf
|
||||
done
|
||||
|
||||
# Add AppStream metadata
|
||||
install -Dm 0644 -p %{SOURCE50} \
|
||||
%{buildroot}%{_datadir}/appdata/%{fontname}-aharoni-clm.metainfo.xml
|
||||
install -Dm 0644 -p %{SOURCE51} \
|
||||
%{buildroot}%{_datadir}/appdata/%{fontname}-caladings-clm.metainfo.xml
|
||||
install -Dm 0644 -p %{SOURCE52} \
|
||||
%{buildroot}%{_datadir}/appdata/%{fontname}-david-clm.metainfo.xml
|
||||
install -Dm 0644 -p %{SOURCE53} \
|
||||
%{buildroot}%{_datadir}/appdata/%{fontname}-drugulin-clm.metainfo.xml
|
||||
install -Dm 0644 -p %{SOURCE54} \
|
||||
%{buildroot}%{_datadir}/appdata/%{fontname}-ellinia-clm.metainfo.xml
|
||||
install -Dm 0644 -p %{SOURCE55} \
|
||||
%{buildroot}%{_datadir}/appdata/%{fontname}-frank-ruehl-clm.metainfo.xml
|
||||
install -Dm 0644 -p %{SOURCE56} \
|
||||
%{buildroot}%{_datadir}/appdata/%{fontname}-hadasim-clm.metainfo.xml
|
||||
install -Dm 0644 -p %{SOURCE57} \
|
||||
%{buildroot}%{_datadir}/appdata/%{fontname}-keteryg.metainfo.xml
|
||||
install -Dm 0644 -p %{SOURCE58} \
|
||||
%{buildroot}%{_datadir}/appdata/%{fontname}-miriam-clm.metainfo.xml
|
||||
install -Dm 0644 -p %{SOURCE59} \
|
||||
%{buildroot}%{_datadir}/appdata/%{fontname}-miriam-mono-clm.metainfo.xml
|
||||
install -Dm 0644 -p %{SOURCE60} \
|
||||
%{buildroot}%{_datadir}/appdata/%{fontname}-nachlieli-clm.metainfo.xml
|
||||
install -Dm 0644 -p %{SOURCE61} \
|
||||
%{buildroot}%{_datadir}/appdata/%{fontname}-simple-clm.metainfo.xml
|
||||
install -Dm 0644 -p %{SOURCE62} \
|
||||
%{buildroot}%{_datadir}/appdata/%{fontname}-stamashkenaz-clm.metainfo.xml
|
||||
install -Dm 0644 -p %{SOURCE63} \
|
||||
%{buildroot}%{_datadir}/appdata/%{fontname}-stamsefarad-clm.metainfo.xml
|
||||
install -Dm 0644 -p %{SOURCE64} \
|
||||
%{buildroot}%{_datadir}/appdata/%{fontname}-yehuda-clm.metainfo.xml
|
||||
install -Dm 0644 -p %{SOURCE65} \
|
||||
%{buildroot}%{_datadir}/appdata/%{fontname}-shofar.metainfo.xml
|
||||
install -Dm 0644 -p %{SOURCE66} \
|
||||
%{buildroot}%{_datadir}/appdata/%{fontname}.metainfo.xml
|
||||
|
||||
|
||||
%files common
|
||||
%doc CHANGES GNU-GPL LICENSE LICENSE-BITSTREAM
|
||||
|
||||
%dir %{_fontdir}
|
||||
|
||||
%{_datadir}/appdata/%{fontname}.metainfo.xml
|
||||
|
||||
%changelog
|
||||
* Tue Nov 11 2014 Parag Nemade <pnemade AT redhat DOT com> - 0.130-6
|
||||
- Add metainfo file to show this font in gnome-software
|
||||
- Remove owneship of %%{_fontdir} in -common
|
||||
- Remove group tag
|
||||
|
||||
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.130-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user