ttf-freefont.spec
author dermotm
Mon, 08 Sep 2003 11:20:18 +0000
changeset 1130 5592f2fcf018
parent 1119 3efad2671fd8
child 1157 c64ecc37251e
permissions -rw-r--r--
Incremented Release numbers for build 08

#
# Copyright (c) 2003 Sun Microsystems, Inc.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#

Name:         ttf-freefont
License:      GPL
Group:        User Interface/X
Version:      20030709
Release:      11
Distribution: Mercury
Vendor:	      Sun Microsystems, Inc.
Summary:      Free UCS TrueType Fonts
Source:       http://savannah.nongnu.org/download/freefont/freefont-ttf-%{version}.tar.gz
URL:          http://savannah.nongnu.org/projects/freefont/
BuildRoot:    %{_tmppath}/%{name}-%{version}-build
Docdir:       %{_defaultdocdir}/doc
Autoreqprov:  on
BuildArch:    noarch

%define font_dir %{_prefix}/X11R6/lib/X11/fonts/truetype

%description
A set of free scalable fonts covering the ISO 10646/Unicode UCS.

%prep
%setup -q -c -n ttf-freefont

%install
install -d ${RPM_BUILD_ROOT}%{font_dir}
install sfd/*.ttf ${RPM_BUILD_ROOT}%{font_dir}

%clean
rm -rf $RPM_BUILD_ROOT

%post 
/sbin/SuSEconfig --module fonts

%postun
/sbin/SuSEconfig --module fonts

%files
%defattr(-,root,root)
%doc README AUTHORS CREDITS INSTALL ChangeLog
%{font_dir}/*.ttf

%changelog
* Thu Jul 17 2003 - [email protected]
- Changed to invoke SuSEconfig directly.
* Thu Jul 10 2003 - [email protected]
- Initial release
- Using version numbered copy of freefont-ttf.tar.gz as original is not version numbered.