ttf-freefont.spec
author markmc
Tue, 15 Jul 2003 17:34:01 +0000
changeset 575 2b5c59a05848
parent 552 36a802302e86
child 601 7a2f75f5bd95
permissions -rw-r--r--
2003-07-15 Mark McLoughlin <[email protected]> * *.spec: use the same format for the vendor string. That is : "Sun Microsystems, Inc."

#
# 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:      4
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 
echo "Please run SuSEconfig or '/sbin/SuSEconfig --module fonts' to update the font settings"

%postun
echo "Please run SuSEconfig or '/sbin/SuSEconfig --module fonts' to update the font settings"

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

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