base-specs/ttf-freefont.spec
author Jon Tibble <meths@btinternet.com>
Thu, 15 Mar 2012 09:58:35 +0000
branchs11express-2010-11
changeset 22104 cde243cbe3f6
parent 17893 36619080451b
child 21678 7d7676e78598
permissions -rw-r--r--
Added tag oi_151a_prestable2 for changeset 47b3f775541a

#
# spec file for package ttf-freefont
#
# Copyright (c) 2005 Sun Microsystems, Inc.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
%define owner dermot
#

%define OSR delivered in s10:n/a

Name:         ttf-freefont
License:      GPL
Group:        User Interface/X
Version:      20050407
Release:      54
Distribution: Java Desktop System
Vendor:	      Other
Summary:      Free UCS TrueType Fonts
Source:       http://savannah.nongnu.org/download/freefont/freefont-ttf.tar.gz
URL:          http://savannah.nongnu.org/projects/freefont/
BuildRoot:    %{_tmppath}/%{name}-%{version}-build
Docdir:       %{_defaultdocdir}/doc
Autoreqprov:  on
BuildArchitectures:    noarch

PreReq:       aaa_base

%define font_dir %{_datadir}/fonts/TrueType/freefont

%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 
test -x /sbin/SuSEconfig && /sbin/SuSEconfig --module fonts

%postun
test -x /sbin/SuSEconfig && /sbin/SuSEconfig --module fonts

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

%changelog
* Thu Oct 15 2009 - [email protected]
- move from /usr/openwin to /usr/share/fonts

* Fri Dec 02 2005 - [email protected]
- Remove %{version} from Source URL as there isn't one on website.

* Wed Feb 16 2005 - [email protected]
- prereq aaa_base

* Sat Oct 30 2004 - [email protected]
- test if SuSEconfig is installed before running it, fixes 4911608

* Sat May 01 2004 - [email protected]
- install fonts into /usr/openwin on Solaris

* Tue Feb 24 2004 - [email protected]
- Updated to Cinnabar.

* 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.