author | dcarbery |
Fri, 24 Nov 2006 16:37:59 +0000 | |
branch | 217update |
changeset 19096 | d542fc2c823e |
parent 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 |
# |
|
8564 | 8 |
# Owner: dermot |
9 |
# |
|
519 | 10 |
Name: ttf-freefont |
11 |
License: GPL |
|
12 |
Group: User Interface/X |
|
6186 | 13 |
Version: 20050407 |
5518 | 14 |
Release: 54 |
15 |
Distribution: Java Desktop System |
|
575 | 16 |
Vendor: Sun Microsystems, Inc. |
519 | 17 |
Summary: Free UCS TrueType Fonts |
6332
6b12e96d8637
* ttf-freefont.spec: Remove %{version} from Source URL as there isn't
dc144907
parents:
6186
diff
changeset
|
18 |
Source: http://savannah.nongnu.org/download/freefont/freefont-ttf.tar.gz |
519 | 19 |
URL: http://savannah.nongnu.org/projects/freefont/ |
20 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
21 |
Docdir: %{_defaultdocdir}/doc |
|
22 |
Autoreqprov: on |
|
2037
cd60fa036ed6
Use %ifos to set a different font_dir for Solaris.
dc144907
parents:
1940
diff
changeset
|
23 |
BuildArchitectures: noarch |
519 | 24 |
|
5103 | 25 |
PreReq: aaa_base |
26 |
||
2037
cd60fa036ed6
Use %ifos to set a different font_dir for Solaris.
dc144907
parents:
1940
diff
changeset
|
27 |
%ifos solaris |
2606 | 28 |
%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
|
29 |
%else |
519 | 30 |
%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
|
31 |
%endif |
519 | 32 |
|
33 |
%description |
|
34 |
A set of free scalable fonts covering the ISO 10646/Unicode UCS. |
|
35 |
||
36 |
%prep |
|
37 |
%setup -q -c -n ttf-freefont |
|
38 |
||
4455 | 39 |
|
519 | 40 |
%install |
41 |
install -d ${RPM_BUILD_ROOT}%{font_dir} |
|
42 |
install sfd/*.ttf ${RPM_BUILD_ROOT}%{font_dir} |
|
43 |
||
44 |
%clean |
|
45 |
rm -rf $RPM_BUILD_ROOT |
|
46 |
||
47 |
%post |
|
4397 | 48 |
test -x /sbin/SuSEconfig && /sbin/SuSEconfig --module fonts |
519 | 49 |
|
50 |
%postun |
|
4397 | 51 |
test -x /sbin/SuSEconfig && /sbin/SuSEconfig --module fonts |
519 | 52 |
|
53 |
%files |
|
54 |
%defattr(-,root,root) |
|
55 |
%doc README AUTHORS CREDITS INSTALL ChangeLog |
|
56 |
%{font_dir}/*.ttf |
|
57 |
||
58 |
%changelog |
|
6332
6b12e96d8637
* ttf-freefont.spec: Remove %{version} from Source URL as there isn't
dc144907
parents:
6186
diff
changeset
|
59 |
* Fri Dec 02 2005 - [email protected] |
6b12e96d8637
* ttf-freefont.spec: Remove %{version} from Source URL as there isn't
dc144907
parents:
6186
diff
changeset
|
60 |
- 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
|
61 |
|
5103 | 62 |
* Wed Feb 16 2005 - [email protected] |
63 |
- prereq aaa_base |
|
64 |
||
4397 | 65 |
* Sat Oct 30 2004 - [email protected] |
66 |
- test if SuSEconfig is installed before running it, fixes 4911608 |
|
67 |
||
2606 | 68 |
* Sat May 01 2004 - [email protected] |
69 |
- install fonts into /usr/openwin on Solaris |
|
70 |
||
1940
4fa13ac580fc
Changed to cinnabar distro, no changes to spec files otherwise
mick
parents:
1876
diff
changeset
|
71 |
* Tue Feb 24 2004 - [email protected] |
4fa13ac580fc
Changed to cinnabar distro, no changes to spec files otherwise
mick
parents:
1876
diff
changeset
|
72 |
- Updated to Cinnabar. |
4fa13ac580fc
Changed to cinnabar distro, no changes to spec files otherwise
mick
parents:
1876
diff
changeset
|
73 |
|
623 | 74 |
* Thu Jul 17 2003 - [email protected] |
75 |
- Changed to invoke SuSEconfig directly. |
|
1940
4fa13ac580fc
Changed to cinnabar distro, no changes to spec files otherwise
mick
parents:
1876
diff
changeset
|
76 |
|
519 | 77 |
* Thu Jul 10 2003 - [email protected] |
78 |
- Initial release |
|
79 |
- Using version numbered copy of freefont-ttf.tar.gz as original is not version numbered. |