author | dcarbery |
Mon, 23 Oct 2006 12:46:17 +0000 | |
branch | gnome-2-14 |
changeset 19195 | 352a4716f1f3 |
parent 6332 | 6b12e96d8637 |
child 8564 | df62c23d2955 |
permissions | -rw-r--r-- |
519 | 1 |
# |
5518 | 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 |
|
6186 | 12 |
Version: 20050407 |
5518 | 13 |
Release: 54 |
14 |
Distribution: Java Desktop System |
|
575 | 15 |
Vendor: Sun Microsystems, Inc. |
519 | 16 |
Summary: Free UCS TrueType Fonts |
6332
6b12e96d8637
* ttf-freefont.spec: Remove %{version} from Source URL as there isn't
dc144907
parents:
6186
diff
changeset
|
17 |
Source: http://savannah.nongnu.org/download/freefont/freefont-ttf.tar.gz |
519 | 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 |
|
6332
6b12e96d8637
* ttf-freefont.spec: Remove %{version} from Source URL as there isn't
dc144907
parents:
6186
diff
changeset
|
58 |
* Fri Dec 02 2005 - [email protected] |
6b12e96d8637
* ttf-freefont.spec: Remove %{version} from Source URL as there isn't
dc144907
parents:
6186
diff
changeset
|
59 |
- Remove %{version} from Source URL as there isn't one on website. |
6b12e96d8637
* ttf-freefont.spec: Remove %{version} from Source URL as there isn't
dc144907
parents:
6186
diff
changeset
|
60 |
|
5103 | 61 |
* Wed Feb 16 2005 - [email protected] |
62 |
- prereq aaa_base |
|
63 |
||
4397 | 64 |
* Sat Oct 30 2004 - [email protected] |
65 |
- test if SuSEconfig is installed before running it, fixes 4911608 |
|
66 |
||
2606 | 67 |
* Sat May 01 2004 - [email protected] |
68 |
- install fonts into /usr/openwin on Solaris |
|
69 |
||
1940
4fa13ac580fc
Changed to cinnabar distro, no changes to spec files otherwise
mick
parents:
1876
diff
changeset
|
70 |
* Tue Feb 24 2004 - [email protected] |
4fa13ac580fc
Changed to cinnabar distro, no changes to spec files otherwise
mick
parents:
1876
diff
changeset
|
71 |
- Updated to Cinnabar. |
4fa13ac580fc
Changed to cinnabar distro, no changes to spec files otherwise
mick
parents:
1876
diff
changeset
|
72 |
|
623 | 73 |
* Thu Jul 17 2003 - [email protected] |
74 |
- Changed to invoke SuSEconfig directly. |
|
1940
4fa13ac580fc
Changed to cinnabar distro, no changes to spec files otherwise
mick
parents:
1876
diff
changeset
|
75 |
|
519 | 76 |
* Thu Jul 10 2003 - [email protected] |
77 |
- Initial release |
|
78 |
- Using version numbered copy of freefont-ttf.tar.gz as original is not version numbered. |