519
|
1 |
#
|
|
2 |
# Copyright (c) 2003 Sun Microsystems Inc.
|
|
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
|
|
11 |
Release: 2
|
|
12 |
Distribution: Mercury
|
|
13 |
Vendor: Sun Microsystems Inc.
|
|
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
|
|
20 |
BuildArch: noarch
|
|
21 |
|
|
22 |
%define font_dir %{_prefix}/X11R6/lib/X11/fonts/truetype
|
|
23 |
|
|
24 |
%description
|
|
25 |
A set of free scalable fonts covering the ISO 10646/Unicode UCS.
|
|
26 |
|
|
27 |
%prep
|
|
28 |
%setup -q -c -n ttf-freefont
|
|
29 |
|
|
30 |
%install
|
|
31 |
install -d ${RPM_BUILD_ROOT}%{font_dir}
|
|
32 |
install sfd/*.ttf ${RPM_BUILD_ROOT}%{font_dir}
|
|
33 |
|
|
34 |
%clean
|
|
35 |
rm -rf $RPM_BUILD_ROOT
|
|
36 |
|
|
37 |
%post
|
|
38 |
echo "Please run SuSEconfig or '/sbin/SuSEconfig --module fonts' to update the font settings"
|
|
39 |
|
|
40 |
%postun
|
|
41 |
echo "Please run SuSEconfig or '/sbin/SuSEconfig --module fonts' to update the font settings"
|
|
42 |
|
|
43 |
%files
|
|
44 |
%defattr(-,root,root)
|
|
45 |
%doc README AUTHORS CREDITS INSTALL ChangeLog
|
|
46 |
%{font_dir}/*.ttf
|
|
47 |
|
|
48 |
%changelog
|
|
49 |
* Thu Jul 10 2003 - [email protected]
|
|
50 |
- Initial release
|
|
51 |
- Using version numbered copy of freefont-ttf.tar.gz as original is not version numbered.
|