File bitstream-vera.spec of Package bitstream-vera

#
# spec file for package bitstream-vera (Version 1.10)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild


Name:           bitstream-vera
License:        Redistributable. Change name upon modification
Group:          System/X11/Fonts
AutoReqProv:    on
PreReq:         %suseconfig_fonts_prereq
Version:        1.10
Release:        304
Summary:        Bitstream Vera(tm) Truetype fonts
Source:         ttf-%name-%version.tar.bz2
Url:            http://www.bitstream.com
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

%description
The package contains the "Vera" truetype fonts from Bitstream Inc.



Authors:
--------
    Copyright (c) 2002 by Bitstream, Inc.

%prep
%setup -n ttf-%name-%version

%build

%install
mkdir -p $RPM_BUILD_ROOT/usr/share/fonts/truetype/
install -m 0644 *.ttf \
        $RPM_BUILD_ROOT/usr/share/fonts/truetype/

%clean
rm -rf $RPM_BUILD_ROOT

%post
%run_suseconfig_fonts

%postun
%run_suseconfig_fonts

%files
%defattr(-,root,root,755)
%doc COPYRIGHT.TXT RELEASENOTES.TXT README.TXT local.conf
/usr/share/fonts/truetype

%changelog
* Wed Aug 09 2006 dmueller@suse.de
- install into /usr/share/fonts/truetype
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Fri Dec 03 2004 mfabian@suse.de
- use new macro "%%run_suseconfig_fonts".
* Thu Aug 12 2004 mfabian@suse.de
- Bugzilla #39451: run SuSEconfig.fonts only if it exists.
* Fri Mar 19 2004 mfabian@suse.de
- use %%suseconfig_fonts_prereq
- run SuSEconfig.fonts and SuSEconfig.pango in %%post and %%postun
* Mon Feb 23 2004 hmacht@suse.de
- building as non-root (# norootforbuild)
* Mon Jun 16 2003 coolo@suse.de
- package directories
* Thu Apr 17 2003 adrian@suse.de
- update to final released fonts version 1.10
* Wed Feb 19 2003 adrian@suse.de
- initial package of Bitstream Vera fonts 1.0