9397
|
1 |
#
|
|
2 |
# spec file for package ttf-freefont
|
|
3 |
#
|
21679
|
4 |
# Copyright (c) 2005, 2011, Oracle and/or its affiliates. All rights reserved.
|
9397
|
5 |
# This file and all modifications and additions to the pristine
|
|
6 |
# package are under the same license as the package itself.
|
|
7 |
#
|
16434
|
8 |
%define owner dermot
|
9397
|
9 |
#
|
16427
|
10 |
|
17893
|
11 |
%define OSR delivered in s10:n/a
|
16427
|
12 |
|
9397
|
13 |
Name: ttf-freefont
|
21679
|
14 |
License: GPLv3
|
9397
|
15 |
Group: User Interface/X
|
21679
|
16 |
Version: 20100919
|
9397
|
17 |
Release: 54
|
|
18 |
Distribution: Java Desktop System
|
17865
|
19 |
Vendor: Other
|
9397
|
20 |
Summary: Free UCS TrueType Fonts
|
21679
|
21 |
Source: http://ftp.gnu.org/gnu/freefont/freefont-ttf-20100919.tar.gz
|
|
22 |
URL: http://savannah.gnu.org/projects/freefont/
|
9397
|
23 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
24 |
Docdir: %{_defaultdocdir}/doc
|
|
25 |
Autoreqprov: on
|
|
26 |
BuildArchitectures: noarch
|
|
27 |
|
|
28 |
PreReq: aaa_base
|
|
29 |
|
16777
|
30 |
%define font_dir %{_datadir}/fonts/TrueType/freefont
|
9397
|
31 |
|
|
32 |
%description
|
|
33 |
A set of free scalable fonts covering the ISO 10646/Unicode UCS.
|
|
34 |
|
|
35 |
%prep
|
|
36 |
%setup -q -c -n ttf-freefont
|
|
37 |
|
|
38 |
|
|
39 |
%install
|
|
40 |
install -d ${RPM_BUILD_ROOT}%{font_dir}
|
21679
|
41 |
install --mode=0444 freefont-%{version}/*.ttf ${RPM_BUILD_ROOT}%{font_dir}
|
|
42 |
if [ -x /usr/bin/mkfontscale -a -x /usr/bin/mkfontdir ]; then
|
|
43 |
cd ${RPM_BUILD_ROOT}%{font_dir} \
|
|
44 |
&& /usr/bin/mkfontscale \
|
|
45 |
&& /usr/bin/mkfontdir \
|
|
46 |
&& /usr/bin/chmod 0444 fonts.dir fonts.scale
|
|
47 |
fi
|
9397
|
48 |
|
|
49 |
%clean
|
|
50 |
rm -rf $RPM_BUILD_ROOT
|
|
51 |
|
|
52 |
%post
|
|
53 |
test -x /sbin/SuSEconfig && /sbin/SuSEconfig --module fonts
|
|
54 |
|
|
55 |
%postun
|
|
56 |
test -x /sbin/SuSEconfig && /sbin/SuSEconfig --module fonts
|
|
57 |
|
|
58 |
%files
|
|
59 |
%defattr(-,root,root)
|
|
60 |
%doc README AUTHORS CREDITS INSTALL ChangeLog
|
|
61 |
%{font_dir}/*.ttf
|
|
62 |
|
|
63 |
%changelog
|
21679
|
64 |
* Wed Mar 30 2011 - [email protected]
|
|
65 |
- update freefont to 20100919
|
|
66 |
|
16777
|
67 |
* Thu Oct 15 2009 - [email protected]
|
|
68 |
- move from /usr/openwin to /usr/share/fonts
|
|
69 |
|
9397
|
70 |
* Fri Dec 02 2005 - [email protected]
|
|
71 |
- Remove %{version} from Source URL as there isn't one on website.
|
|
72 |
|
|
73 |
* Wed Feb 16 2005 - [email protected]
|
|
74 |
- prereq aaa_base
|
|
75 |
|
|
76 |
* Sat Oct 30 2004 - [email protected]
|
|
77 |
- test if SuSEconfig is installed before running it, fixes 4911608
|
|
78 |
|
|
79 |
* Sat May 01 2004 - [email protected]
|
|
80 |
- install fonts into /usr/openwin on Solaris
|
|
81 |
|
|
82 |
* Tue Feb 24 2004 - [email protected]
|
|
83 |
- Updated to Cinnabar.
|
|
84 |
|
|
85 |
* Thu Jul 17 2003 - [email protected]
|
|
86 |
- Changed to invoke SuSEconfig directly.
|
|
87 |
|
|
88 |
* Thu Jul 10 2003 - [email protected]
|
|
89 |
- Initial release
|
|
90 |
- Using version numbered copy of freefont-ttf.tar.gz as original is not version numbered.
|