Spec file cleanup #878538

This commit is contained in:
प्रविण सातपुते 2012-11-27 12:00:52 +05:30
parent b2be7504c9
commit 8291309287

View File

@ -8,7 +8,7 @@ Hebrew from the Culmus project.
Name: %{fontname}-fonts Name: %{fontname}-fonts
Version: 0.121 Version: 0.121
Release: 3%{?dist} Release: 4%{?dist}
Summary: Fonts for Hebrew from Culmus project Summary: Fonts for Hebrew from Culmus project
Group: User Interface/X Group: User Interface/X
@ -31,7 +31,6 @@ Source13: %{fontconf}-stamashkenaz-clm.conf
Source14: %{fontconf}-stamsefarad-clm.conf Source14: %{fontconf}-stamsefarad-clm.conf
Source15: http://downloads.sourceforge.net/culmus/culmus-type1-0.121.tar.gz Source15: http://downloads.sourceforge.net/culmus/culmus-type1-0.121.tar.gz
Obsoletes: culmus-fonts < 0.102-1 Obsoletes: culmus-fonts < 0.102-1
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildArch: noarch BuildArch: noarch
BuildRequires: fontpackages-devel BuildRequires: fontpackages-devel
@ -50,53 +49,6 @@ Obsoletes: culmus-fonts < 0.102-1
This package consists of files used by other %{name} packages. This package consists of files used by other %{name} packages.
%package -n %{fontname}-fonts-compat
Summary: Compatibility files of Culmus font families
Group: User Interface/X
Provides: culmus-fonts = %{version}-%{release}
Obsoletes: %{fontname}-fonts-common < 0.102-5
Obsoletes: %{fontname}-aharoni-clm-fonts < 0.102-5
Obsoletes: %{fontname}-caladings-clm-fonts < 0.102-5
Obsoletes: %{fontname}-david-clm-fonts < 0.102-5
Obsoletes: %{fontname}-drugulin-clm-fonts < 0.102-5
Obsoletes: %{fontname}-ellinia-clm-fonts < 0.102-5
Obsoletes: %{fontname}-frank-ruehl-clm-fonts < 0.102-5
Obsoletes: %{fontname}-miriam-clm-fonts < 0.102-5
Obsoletes: %{fontname}-miriam-mono-clm-fonts < 0.102-5
Obsoletes: %{fontname}-nachlieli-clm-fonts < 0.102-5
Obsoletes: %{fontname}-yehuda-clm-fonts < 0.102-5
Obsoletes: culmus-fonts < 0.103-5
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}-hadasim-clm-fonts = %{version}-%{release}
Requires: %{fontname}-keteryg-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}-simple-clm-fonts = %{version}-%{release}
Requires: %{fontname}-stamashkenaz-clm-fonts = %{version}-%{release}
Requires: %{fontname}-stamsefarad-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.
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.
%files -n %{fontname}-fonts-compat
%package -n %{fontname}-aharoni-clm-fonts %package -n %{fontname}-aharoni-clm-fonts
Summary: Fonts for Hebrew from Culmus project Summary: Fonts for Hebrew from Culmus project
Group: User Interface/X Group: User Interface/X
@ -260,7 +212,6 @@ mv %{fontname}-type1-0.121/* .
%build %build
%install %install
rm -fr %{buildroot}
install -m 0755 -d %{buildroot}%{_fontdir} install -m 0755 -d %{buildroot}%{_fontdir}
install -m 0644 -p *.ttf %{buildroot}%{_fontdir} install -m 0644 -p *.ttf %{buildroot}%{_fontdir}
@ -318,18 +269,16 @@ for fconf in %{fontconf}-aharoni-clm.conf \
done done
%clean
rm -fr %{buildroot}
%files common %files common
%defattr(0644,root,root,0755)
%doc CHANGES GNU-GPL LICENSE LICENSE-BITSTREAM %doc CHANGES GNU-GPL LICENSE LICENSE-BITSTREAM
%dir %{_fontdir} %dir %{_fontdir}
%changelog %changelog
* Tue Nov 27 2012 Pravin Satpute <psatpute@redhat.com> - 0.121-4
- Spec file cleanup #878538
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.121-3 * Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.121-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild