Accepting request 133920 from M17N:fonts

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/133920
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bitstream-vera-fonts?expand=0&rev=4
This commit is contained in:
Ismail Dönmez 2012-09-14 10:14:43 +00:00 committed by Git OBS Bridge
commit ec03a972cb
2 changed files with 15 additions and 13 deletions

View File

@ -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

View File

@ -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