author | dermotm |
Mon, 12 Jul 2004 09:46:45 +0000 | |
changeset 3320 | 1b6af4da604e |
parent 3224 | 8ca3f4526524 |
child 3425 | 1df6e1328537 |
permissions | -rw-r--r-- |
519 | 1 |
# |
601 | 2 |
# Copyright (c) 2003 Sun Microsystems, Inc. |
519 | 3 |
# This file and all modifications and additions to the pristine |
4 |
# package are under the same license as the package itself. |
|
5 |
# |
|
6 |
||
7 |
Name: ttf-freefont |
|
8 |
License: GPL |
|
9 |
Group: User Interface/X |
|
10 |
Version: 20030709 |
|
3320 | 11 |
Release: 27 |
1940
4fa13ac580fc
Changed to cinnabar distro, no changes to spec files otherwise
mick
parents:
1876
diff
changeset
|
12 |
Distribution: Cinnabar |
575 | 13 |
Vendor: Sun Microsystems, Inc. |
519 | 14 |
Summary: Free UCS TrueType Fonts |
15 |
Source: http://savannah.nongnu.org/download/freefont/freefont-ttf-%{version}.tar.gz |
|
16 |
URL: http://savannah.nongnu.org/projects/freefont/ |
|
17 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
18 |
Docdir: %{_defaultdocdir}/doc |
|
19 |
Autoreqprov: on |
|
2037
cd60fa036ed6
Use %ifos to set a different font_dir for Solaris.
dc144907
parents:
1940
diff
changeset
|
20 |
BuildArchitectures: noarch |
519 | 21 |
|
2037
cd60fa036ed6
Use %ifos to set a different font_dir for Solaris.
dc144907
parents:
1940
diff
changeset
|
22 |
%ifos solaris |
2606 | 23 |
%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
|
24 |
%else |
519 | 25 |
%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
|
26 |
%endif |
519 | 27 |
|
28 |
%description |
|
29 |
A set of free scalable fonts covering the ISO 10646/Unicode UCS. |
|
30 |
||
31 |
%prep |
|
32 |
%setup -q -c -n ttf-freefont |
|
33 |
||
34 |
%install |
|
35 |
install -d ${RPM_BUILD_ROOT}%{font_dir} |
|
36 |
install sfd/*.ttf ${RPM_BUILD_ROOT}%{font_dir} |
|
37 |
||
38 |
%clean |
|
39 |
rm -rf $RPM_BUILD_ROOT |
|
40 |
||
41 |
%post |
|
623 | 42 |
/sbin/SuSEconfig --module fonts |
519 | 43 |
|
44 |
%postun |
|
623 | 45 |
/sbin/SuSEconfig --module fonts |
519 | 46 |
|
47 |
%files |
|
48 |
%defattr(-,root,root) |
|
49 |
%doc README AUTHORS CREDITS INSTALL ChangeLog |
|
50 |
%{font_dir}/*.ttf |
|
51 |
||
52 |
%changelog |
|
2606 | 53 |
* Sat May 01 2004 - [email protected] |
54 |
- install fonts into /usr/openwin on Solaris |
|
55 |
||
1940
4fa13ac580fc
Changed to cinnabar distro, no changes to spec files otherwise
mick
parents:
1876
diff
changeset
|
56 |
* Tue Feb 24 2004 - [email protected] |
4fa13ac580fc
Changed to cinnabar distro, no changes to spec files otherwise
mick
parents:
1876
diff
changeset
|
57 |
- Updated to Cinnabar. |
4fa13ac580fc
Changed to cinnabar distro, no changes to spec files otherwise
mick
parents:
1876
diff
changeset
|
58 |
|
623 | 59 |
* Thu Jul 17 2003 - [email protected] |
60 |
- Changed to invoke SuSEconfig directly. |
|
1940
4fa13ac580fc
Changed to cinnabar distro, no changes to spec files otherwise
mick
parents:
1876
diff
changeset
|
61 |
|
519 | 62 |
* Thu Jul 10 2003 - [email protected] |
63 |
- Initial release |
|
64 |
- Using version numbered copy of freefont-ttf.tar.gz as original is not version numbered. |