- 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
|
||||
|
||||
|
@ -17,17 +17,17 @@
|
||||
|
||||
|
||||
%define fontname bitstream-vera
|
||||
%define ttf_fontdir /usr/share/fonts/truetype
|
||||
|
||||
Name: bitstream-vera-fonts
|
||||
Version: 1.10
|
||||
Release: 304
|
||||
License: SUSE-Bitstream-Vera
|
||||
Release: 0
|
||||
Summary: Bitstream Vera(tm) Truetype fonts
|
||||
Url: http://www.bitstream.com
|
||||
License: SUSE-Bitstream-Vera
|
||||
Group: System/X11/Fonts
|
||||
Url: http://www.bitstream.com
|
||||
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
|
||||
Obsoletes: %{fontname} <= 1.10
|
||||
Provides: %{fontname} = %{version}
|
||||
@ -43,18 +43,14 @@ The package contains the "Vera" truetype fonts from Bitstream Inc.
|
||||
%build
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}%{ttf_fontdir}
|
||||
install -m 0644 *.ttf %{buildroot}%{ttf_fontdir}
|
||||
mkdir -p %{buildroot}%{_ttfontsdir}
|
||||
install -m 0644 *.ttf %{buildroot}%{_ttfontsdir}
|
||||
|
||||
%post
|
||||
%run_suseconfig_fonts
|
||||
|
||||
%postun
|
||||
%run_suseconfig_fonts
|
||||
%reconfigure_fonts_scriptlets
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,755)
|
||||
%doc COPYRIGHT.TXT RELEASENOTES.TXT README.TXT local.conf
|
||||
%{_datadir}/fonts/truetype
|
||||
%{_ttfontsdir}
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user