10139N/A#
10139N/A# spec file for package ttf-freefont
10139N/A#
20184N/A# Copyright (c) 2005, 2011, Oracle and/or its affiliates. All rights reserved.
10139N/A# This file and all modifications and additions to the pristine
10139N/A# package are under the same license as the package itself.
10139N/A#
17185N/A%define owner dermot
10139N/A#
17178N/A
18644N/A%define OSR delivered in s10:n/a
17178N/A
10139N/AName: ttf-freefont
20184N/ALicense: GPLv3
10139N/AGroup: User Interface/X
20184N/AVersion: 20100919
10139N/ARelease: 54
10139N/ADistribution: Java Desktop System
18616N/AVendor: Other
10139N/ASummary: Free UCS TrueType Fonts
20184N/ASource: http://ftp.gnu.org/gnu/freefont/freefont-ttf-20100919.tar.gz
20184N/AURL: http://savannah.gnu.org/projects/freefont/
10139N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
10139N/ADocdir: %{_defaultdocdir}/doc
10139N/AAutoreqprov: on
10139N/ABuildArchitectures: noarch
10139N/A
10139N/APreReq: aaa_base
10139N/A
17528N/A%define font_dir %{_datadir}/fonts/TrueType/freefont
10139N/A
10139N/A%description
10139N/AA set of free scalable fonts covering the ISO 10646/Unicode UCS.
10139N/A
10139N/A%prep
10139N/A%setup -q -c -n ttf-freefont
10139N/A
10139N/A
10139N/A%install
10139N/Ainstall -d ${RPM_BUILD_ROOT}%{font_dir}
20184N/Ainstall --mode=0444 freefont-%{version}/*.ttf ${RPM_BUILD_ROOT}%{font_dir}
20184N/Aif [ -x /usr/bin/mkfontscale -a -x /usr/bin/mkfontdir ]; then
20184N/A cd ${RPM_BUILD_ROOT}%{font_dir} \
20184N/A && /usr/bin/mkfontscale \
20184N/A && /usr/bin/mkfontdir \
20184N/A && /usr/bin/chmod 0444 fonts.dir fonts.scale
20184N/Afi
10139N/A
10139N/A%clean
10139N/Arm -rf $RPM_BUILD_ROOT
10139N/A
10139N/A%post
10139N/Atest -x /sbin/SuSEconfig && /sbin/SuSEconfig --module fonts
10139N/A
10139N/A%postun
10139N/Atest -x /sbin/SuSEconfig && /sbin/SuSEconfig --module fonts
10139N/A
10139N/A%files
10139N/A%defattr(-,root,root)
10139N/A%doc README AUTHORS CREDITS INSTALL ChangeLog
10139N/A%{font_dir}/*.ttf
10139N/A
10139N/A%changelog
20184N/A* Wed Mar 30 2011 - jan.hnatek@oracle.com
20184N/A- update freefont to 20100919
20184N/A
17528N/A* Thu Oct 15 2009 - alan.coopersmith@sun.com
17528N/A- move from /usr/openwin to /usr/share/fonts
17528N/A
10139N/A* Fri Dec 02 2005 - damien.carbery@sun.com
10139N/A- Remove %{version} from Source URL as there isn't one on website.
10139N/A
10139N/A* Wed Feb 16 2005 - dermot.mccluskey@sun.com
10139N/A- prereq aaa_base
10139N/A
10139N/A* Sat Oct 30 2004 - laca@sun.com
10139N/A- test if SuSEconfig is installed before running it, fixes 4911608
10139N/A
10139N/A* Sat May 01 2004 - laca@sun.com
10139N/A- install fonts into /usr/openwin on Solaris
10139N/A
10139N/A* Tue Feb 24 2004 - michael.twomey@sun.com
10139N/A- Updated to Cinnabar.
10139N/A
10139N/A* Thu Jul 17 2003 - michael.twomey@sun.com
10139N/A- Changed to invoke SuSEconfig directly.
10139N/A
10139N/A* Thu Jul 10 2003 - michael.twomey@sun.com
10139N/A- Initial release
10139N/A- Using version numbered copy of freefont-ttf.tar.gz as original is not version numbered.