Petr Gajdos 2012-05-17 09:14:48 +00:00 committed by Git OBS Bridge
parent b3b29405e0
commit f7d3f922e1
2 changed files with 17 additions and 12 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu May 17 09:09:51 UTC 2012 - pgajdos@suse.com
- call spec-cleaner
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Mar 29 13:42:31 UTC 2012 - pgajdos@suse.com Thu Mar 29 13:42:31 UTC 2012 - pgajdos@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package bitstream-vera # spec file for package bitstream-vera-fonts
# #
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -15,24 +15,24 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
%define fontname bitstream-vera %define fontname bitstream-vera
%define ttf_fontdir /usr/share/fonts/truetype %define ttf_fontdir /usr/share/fonts/truetype
Name: bitstream-vera-fonts Name: bitstream-vera-fonts
License: SUSE-Bitstream-Vera
Group: System/X11/Fonts
PreReq: %suseconfig_fonts_prereq
Version: 1.10 Version: 1.10
Release: 304 Release: 304
License: SUSE-Bitstream-Vera
Summary: Bitstream Vera(tm) Truetype fonts Summary: Bitstream Vera(tm) Truetype fonts
Source: ttf-%{fontname}-%{version}.tar.bz2
Url: http://www.bitstream.com Url: http://www.bitstream.com
BuildRoot: %{_tmppath}/%{name}-%{version}-build Group: System/X11/Fonts
BuildArch: noarch Source: ttf-%{fontname}-%{version}.tar.bz2
Requires(pre): %suseconfig_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}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%description %description
The package contains the "Vera" truetype fonts from Bitstream Inc. The package contains the "Vera" truetype fonts from Bitstream Inc.
@ -43,8 +43,8 @@ The package contains the "Vera" truetype fonts from Bitstream Inc.
%build %build
%install %install
mkdir -p $RPM_BUILD_ROOT%{ttf_fontdir} mkdir -p %{buildroot}%{ttf_fontdir}
install -m 0644 *.ttf $RPM_BUILD_ROOT%{ttf_fontdir} install -m 0644 *.ttf %{buildroot}%{ttf_fontdir}
%post %post
%run_suseconfig_fonts %run_suseconfig_fonts
@ -55,6 +55,6 @@ install -m 0644 *.ttf $RPM_BUILD_ROOT%{ttf_fontdir}
%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
/usr/share/fonts/truetype %{_datadir}/fonts/truetype
%changelog %changelog