|
|
|
@ -3,7 +3,7 @@
|
|
|
|
|
|
|
|
|
|
Name: zvbi
|
|
|
|
|
Version: 0.2.33
|
|
|
|
|
Release: 7%{?dist}
|
|
|
|
|
Release: 8%{?dist}
|
|
|
|
|
Summary: Raw VBI, Teletext and Closed Caption decoding library
|
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
|
# See NEWS for a full breakdown of licensing.
|
|
|
|
@ -53,13 +53,7 @@ Group: User Interface/X
|
|
|
|
|
Requires(post): fontconfig
|
|
|
|
|
Requires(postun): fontconfig
|
|
|
|
|
# Don't use chkfontpath for F8+, it's legacy.
|
|
|
|
|
%if 0%{?fedora} <= 7
|
|
|
|
|
Requires(post): chkfontpath
|
|
|
|
|
Requires(postun): chkfontpath
|
|
|
|
|
%endif
|
|
|
|
|
%if 0%{?fedora} > 9
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
%endif
|
|
|
|
|
Obsoletes: xawtv-tv-fonts < 3.95
|
|
|
|
|
Provides: xawtv-tv-fonts >= 3.95
|
|
|
|
|
|
|
|
|
@ -135,10 +129,8 @@ install -pm0644 contrib/fonts.* %{buildroot}%{fontdir}
|
|
|
|
|
#%%ghost the fonts.cache-1 and fonts.dir
|
|
|
|
|
touch %{buildroot}%{fontdir}/fonts.cache-1
|
|
|
|
|
|
|
|
|
|
%if 0%{?fedora} > 7
|
|
|
|
|
mkdir -p %{buildroot}%{catalogue}
|
|
|
|
|
ln -sf %{fontdir} %{buildroot}%{catalogue}/%{name}
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
@ -172,17 +164,11 @@ fi
|
|
|
|
|
|
|
|
|
|
%post fonts
|
|
|
|
|
fc-cache -f %{_datadir}/fonts/%{name} || :
|
|
|
|
|
%if 0%{?fedora} <= 7
|
|
|
|
|
chkfontpath -q -a %{fontdir} || :
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%postun fonts
|
|
|
|
|
if [ "$1" = "0" ]; then
|
|
|
|
|
fc-cache -f %{_datadir}/fonts || :
|
|
|
|
|
%if 0%{?fedora} <= 7
|
|
|
|
|
chkfontpath -q -r %{fontdir} || :
|
|
|
|
|
%endif
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -210,13 +196,14 @@ fi
|
|
|
|
|
%{fontdir}/*.gz
|
|
|
|
|
%{fontdir}/fonts.dir
|
|
|
|
|
%{fontdir}/fonts.alias
|
|
|
|
|
%if 0%{?fedora} > 7
|
|
|
|
|
%{catalogue}/%{name}
|
|
|
|
|
%endif
|
|
|
|
|
%ghost %{fontdir}/fonts.cache-1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Sep 6 2011 Dmitry Butskoy <Dmitry@Butskoy.name> - 0.2.33-8
|
|
|
|
|
- Drop chkconfig stuff completely
|
|
|
|
|
|
|
|
|
|
* Wed Aug 17 2011 Dmitry Butskoy <Dmitry@Butskoy.name> - 0.2.33-7
|
|
|
|
|
- Migration from SysV to Systemd init system (#730154)
|
|
|
|
|
|
|
|
|
|