- Renamed bitstream-vera -> bitstream-vera-fonts according to
openSUSE packaging guidelines and FATE#313035 Adjusted Obsoletes and Provides accordingly - Remove redundant tags/sections from specfile - install into /usr/share/fonts/truetype - converted neededforbuild to BuildRequires - use new macro "%run_suseconfig_fonts". - Bugzilla #39451: run SuSEconfig.fonts only if it exists. - use %suseconfig_fonts_prereq - run SuSEconfig.fonts and SuSEconfig.pango in %post and %postun - building as non-root (# norootforbuild) - package directories - update to final released fonts version 1.10 - initial package of Bitstream Vera fonts 1.0 OBS-URL: https://build.opensuse.org/package/show/M17N:fonts/bitstream-vera-fonts?expand=0&rev=3
This commit is contained in:
parent
0b02d28d44
commit
6f576dab2a
@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Dec 21 14:38:27 UTC 2011 - toms@suse.de
|
||||||
|
|
||||||
|
- Renamed bitstream-vera -> bitstream-vera-fonts according to
|
||||||
|
openSUSE packaging guidelines and FATE#313035
|
||||||
|
Adjusted Obsoletes and Provides accordingly
|
||||||
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Sep 17 19:53:05 UTC 2011 - jengelh@medozas.de
|
Sat Sep 17 19:53:05 UTC 2011 - jengelh@medozas.de
|
||||||
|
|
@ -15,32 +15,36 @@
|
|||||||
# 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 ttf_fontdir /usr/share/fonts/truetype
|
||||||
|
|
||||||
|
Name: bitstream-vera-fonts
|
||||||
Name: bitstream-vera
|
|
||||||
License: Redistributable. Change name upon modification
|
License: Redistributable. Change name upon modification
|
||||||
Group: System/X11/Fonts
|
Group: System/X11/Fonts
|
||||||
PreReq: %suseconfig_fonts_prereq
|
PreReq: %suseconfig_fonts_prereq
|
||||||
Version: 1.10
|
Version: 1.10
|
||||||
Release: 304
|
Release: 304
|
||||||
Summary: Bitstream Vera(tm) Truetype fonts
|
Summary: Bitstream Vera(tm) Truetype fonts
|
||||||
Source: ttf-%name-%version.tar.bz2
|
Source: ttf-%{fontname}-%{version}.tar.bz2
|
||||||
Url: http://www.bitstream.com
|
Url: http://www.bitstream.com
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
# FIXME: This causes a rpmlint warning; change <= to < once there's a new upstream version
|
||||||
|
Obsoletes: %{fontname} <= 1.10
|
||||||
|
Provides: %{fontname} = %{version}
|
||||||
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The package contains the "Vera" truetype fonts from Bitstream Inc.
|
The package contains the "Vera" truetype fonts from Bitstream Inc.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -n ttf-%name-%version
|
%setup -n ttf-%{fontname}-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
mkdir -p $RPM_BUILD_ROOT/usr/share/fonts/truetype/
|
mkdir -p $RPM_BUILD_ROOT%{ttf_fontdir}
|
||||||
install -m 0644 *.ttf \
|
install -m 0644 *.ttf $RPM_BUILD_ROOT%{ttf_fontdir}
|
||||||
$RPM_BUILD_ROOT/usr/share/fonts/truetype/
|
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%run_suseconfig_fonts
|
%run_suseconfig_fonts
|
Loading…
Reference in New Issue
Block a user