author | dermotm |
Mon, 24 Jul 2006 12:30:39 +0000 | |
branch | gnome-2-10 |
changeset 19949 | 94f49bf19351 |
parent 19719 | d184ca39d269 |
permissions | -rw-r--r-- |
519 | 1 |
# |
19693 | 2 |
# spec file for package ttf-freefont |
3 |
# |
|
4 |
# Copyright (c) 2005 Sun Microsystems, Inc. |
|
519 | 5 |
# This file and all modifications and additions to the pristine |
6 |
# package are under the same license as the package itself. |
|
7 |
# |
|
8 |
||
9 |
Name: ttf-freefont |
|
10 |
License: GPL |
|
11 |
Group: User Interface/X |
|
12 |
Version: 20030709 |
|
19643 | 13 |
Release: 54 |
19693 | 14 |
Distribution: Java Desktop System |
575 | 15 |
Vendor: Sun Microsystems, Inc. |
519 | 16 |
Summary: Free UCS TrueType Fonts |
17 |
Source: http://savannah.nongnu.org/download/freefont/freefont-ttf-%{version}.tar.gz |
|
18 |
URL: http://savannah.nongnu.org/projects/freefont/ |
|
19 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
20 |
Docdir: %{_defaultdocdir}/doc |
|
21 |
Autoreqprov: on |
|
2037
cd60fa036ed6
Use %ifos to set a different font_dir for Solaris.
dc144907
parents:
1940
diff
changeset
|
22 |
BuildArchitectures: noarch |
519 | 23 |
|
5103 | 24 |
PreReq: aaa_base |
25 |
||
2037
cd60fa036ed6
Use %ifos to set a different font_dir for Solaris.
dc144907
parents:
1940
diff
changeset
|
26 |
%ifos solaris |
2606 | 27 |
%define font_dir /usr/openwin/lib/X11/fonts/TrueType |
2037
cd60fa036ed6
Use %ifos to set a different font_dir for Solaris.
dc144907
parents:
1940
diff
changeset
|
28 |
%else |
519 | 29 |
%define font_dir %{_prefix}/X11R6/lib/X11/fonts/truetype |
2037
cd60fa036ed6
Use %ifos to set a different font_dir for Solaris.
dc144907
parents:
1940
diff
changeset
|
30 |
%endif |
519 | 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 |
||
4455 | 38 |
|
519 | 39 |
%install |
40 |
install -d ${RPM_BUILD_ROOT}%{font_dir} |
|
41 |
install sfd/*.ttf ${RPM_BUILD_ROOT}%{font_dir} |
|
42 |
||
43 |
%clean |
|
44 |
rm -rf $RPM_BUILD_ROOT |
|
45 |
||
46 |
%post |
|
4397 | 47 |
test -x /sbin/SuSEconfig && /sbin/SuSEconfig --module fonts |
519 | 48 |
|
49 |
%postun |
|
4397 | 50 |
test -x /sbin/SuSEconfig && /sbin/SuSEconfig --module fonts |
519 | 51 |
|
52 |
%files |
|
53 |
%defattr(-,root,root) |
|
54 |
%doc README AUTHORS CREDITS INSTALL ChangeLog |
|
55 |
%{font_dir}/*.ttf |
|
56 |
||
57 |
%changelog |
|
5103 | 58 |
* Wed Feb 16 2005 - [email protected] |
59 |
- prereq aaa_base |
|
60 |
||
4397 | 61 |
* Sat Oct 30 2004 - [email protected] |
62 |
- test if SuSEconfig is installed before running it, fixes 4911608 |
|
63 |
||
2606 | 64 |
* Sat May 01 2004 - [email protected] |
65 |
- install fonts into /usr/openwin on Solaris |
|
66 |
||
1940
4fa13ac580fc
Changed to cinnabar distro, no changes to spec files otherwise
mick
parents:
1876
diff
changeset
|
67 |
* Tue Feb 24 2004 - [email protected] |
4fa13ac580fc
Changed to cinnabar distro, no changes to spec files otherwise
mick
parents:
1876
diff
changeset
|
68 |
- Updated to Cinnabar. |
4fa13ac580fc
Changed to cinnabar distro, no changes to spec files otherwise
mick
parents:
1876
diff
changeset
|
69 |
|
623 | 70 |
* Thu Jul 17 2003 - [email protected] |
71 |
- Changed to invoke SuSEconfig directly. |
|
1940
4fa13ac580fc
Changed to cinnabar distro, no changes to spec files otherwise
mick
parents:
1876
diff
changeset
|
72 |
|
519 | 73 |
* Thu Jul 10 2003 - [email protected] |
74 |
- Initial release |
|
75 |
- Using version numbered copy of freefont-ttf.tar.gz as original is not version numbered. |