%define archivename ttf-bitstream-vera
%define fontdir %{_datadir}/fonts/bitstream-vera
Name: bitstream-vera-fonts
Version: 1.10
Release: 8
Summary: Bitstream Vera Fonts
Group: User Interface/X
License: Bitstream Vera
URL: http://www.gnome.org/fonts/
Source: ftp://ftp.gnome.org/pub/GNOME/sources/%{archivename}/%{version}/%{archivename}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
BuildArch: noarch
%description
The Vera fonts are high-quality Latin fonts donated by Bitstream.
These fonts have been released under a liberal license, see the
licensing FAQ in COPYRIGHT.TXT or the online up-to-date version
at %{url} for details.
%prep
%setup -q -n %{archivename}-%{version}
%build
%install
/bin/rm -rf $RPM_BUILD_ROOT
#fonts
install -d -m 0755 $RPM_BUILD_ROOT%{fontdir}
install -m 0644 *.ttf $RPM_BUILD_ROOT%{fontdir}
%clean
/bin/rm -rf $RPM_BUILD_ROOT
%post
if [ -x %{_bindir}/fc-cache ]; then
%{_bindir}/fc-cache %{_datadir}/fonts
fi
%postun
if [ "$1" = "0" ]; then
if [ -x %{_bindir}/fc-cache ]; then
%{_bindir}/fc-cache %{_datadir}/fonts
fi
fi
%files
%defattr(0644,root,root,0755)
%doc *.TXT
%dir %{fontdir}
%{fontdir}/*.ttf
%changelog
* Fri Aug 10 2007 Matthias Clasen <mclasen@redhat.com> - 1.10-8
- Update license field
- Shorten description line
* Fri Sep 08 2006 Behdad Esfahbod <besfahbo@redhat.com> - 1.10-7
- s/latin/Latin/ in package description (#205693)
* Fri Jul 14 2006 Behdad Esfahbod <besfahbo@redhat.com> - 1.10-6
- remove ghost file fonts.cache-1 as fontconfig uses out of tree
cache files now.
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.10-5.1.1
- rebuild
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
- rebuilt
* Sat Jan 08 2005 Florian La Roche <laroche@redhat.com>
- rebuilt to get rid of legacy selinux filecontexts
* Sun May 30 2004 Florian La Roche <Florian.LaRoche@redhat.de>
- change post/postun scripts
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
- rebuilt
* Tue Jun 10 2003 Owen Taylor <otaylor@redhat.com> 1.10-1
- Base package on spec file from Nicolas Mailhot <Nicolas.Mailhot at laPoste.net>
- Cleanups from Warren Togami and Nicolas Mailhot