- amend spec file to reflect new font packaging scheme
(see openFATE#313536); OBS-URL: https://build.opensuse.org/package/show/M17N:fonts/bitstream-vera-fonts?expand=0&rev=8
This commit is contained in:
parent
f7d3f922e1
commit
3c1e5f6ba8
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jul 4 12:39:06 CEST 2012 - pgajdos@suse.cz
|
||||||
|
|
||||||
|
- amend spec file to reflect new font packaging scheme
|
||||||
|
(see openFATE#313536);
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu May 17 09:09:51 UTC 2012 - pgajdos@suse.com
|
Thu May 17 09:09:51 UTC 2012 - pgajdos@suse.com
|
||||||
|
|
||||||
|
@ -17,17 +17,17 @@
|
|||||||
|
|
||||||
|
|
||||||
%define fontname bitstream-vera
|
%define fontname bitstream-vera
|
||||||
%define ttf_fontdir /usr/share/fonts/truetype
|
|
||||||
|
|
||||||
Name: bitstream-vera-fonts
|
Name: bitstream-vera-fonts
|
||||||
Version: 1.10
|
Version: 1.10
|
||||||
Release: 304
|
Release: 0
|
||||||
License: SUSE-Bitstream-Vera
|
|
||||||
Summary: Bitstream Vera(tm) Truetype fonts
|
Summary: Bitstream Vera(tm) Truetype fonts
|
||||||
Url: http://www.bitstream.com
|
License: SUSE-Bitstream-Vera
|
||||||
Group: System/X11/Fonts
|
Group: System/X11/Fonts
|
||||||
|
Url: http://www.bitstream.com
|
||||||
Source: ttf-%{fontname}-%{version}.tar.bz2
|
Source: ttf-%{fontname}-%{version}.tar.bz2
|
||||||
Requires(pre): %suseconfig_fonts_prereq
|
BuildRequires: fontpackages-devel
|
||||||
|
%reconfigure_fonts_prereq
|
||||||
# FIXME: This causes a rpmlint warning; change <= to < once there's a new upstream version
|
# FIXME: This causes a rpmlint warning; change <= to < once there's a new upstream version
|
||||||
Obsoletes: %{fontname} <= 1.10
|
Obsoletes: %{fontname} <= 1.10
|
||||||
Provides: %{fontname} = %{version}
|
Provides: %{fontname} = %{version}
|
||||||
@ -43,18 +43,14 @@ The package contains the "Vera" truetype fonts from Bitstream Inc.
|
|||||||
%build
|
%build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
mkdir -p %{buildroot}%{ttf_fontdir}
|
mkdir -p %{buildroot}%{_ttfontsdir}
|
||||||
install -m 0644 *.ttf %{buildroot}%{ttf_fontdir}
|
install -m 0644 *.ttf %{buildroot}%{_ttfontsdir}
|
||||||
|
|
||||||
%post
|
%reconfigure_fonts_scriptlets
|
||||||
%run_suseconfig_fonts
|
|
||||||
|
|
||||||
%postun
|
|
||||||
%run_suseconfig_fonts
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,755)
|
%defattr(-,root,root,755)
|
||||||
%doc COPYRIGHT.TXT RELEASENOTES.TXT README.TXT local.conf
|
%doc COPYRIGHT.TXT RELEASENOTES.TXT README.TXT local.conf
|
||||||
%{_datadir}/fonts/truetype
|
%{_ttfontsdir}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user