ttf-freefont.spec
author mick
Thu, 10 Jul 2003 10:08:19 +0000
changeset 519 f6cbb5a9c9aa
child 552 36a802302e86
permissions -rw-r--r--
Packaged the GNU UCS free fonts
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
519
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
     1
#
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
     2
# Copyright (c) 2003 Sun Microsystems Inc.
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
     3
# This file and all modifications and additions to the pristine
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
     4
# package are under the same license as the package itself.
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
     5
#
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
     6
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
     7
Name:         ttf-freefont
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
     8
License:      GPL
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
     9
Group:        User Interface/X
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    10
Version:      20030709
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    11
Release:      2
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    12
Distribution: Mercury
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    13
Vendor:	      Sun Microsystems Inc.
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    14
Summary:      Free UCS TrueType Fonts
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    15
Source:       http://savannah.nongnu.org/download/freefont/freefont-ttf-%{version}.tar.gz
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    16
URL:          http://savannah.nongnu.org/projects/freefont/
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    17
BuildRoot:    %{_tmppath}/%{name}-%{version}-build
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    18
Docdir:       %{_defaultdocdir}/doc
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    19
Autoreqprov:  on
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    20
BuildArch:    noarch
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    21
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    22
%define font_dir %{_prefix}/X11R6/lib/X11/fonts/truetype
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    23
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    24
%description
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    25
A set of free scalable fonts covering the ISO 10646/Unicode UCS.
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    26
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    27
%prep
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    28
%setup -q -c -n ttf-freefont
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    29
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    30
%install
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    31
install -d ${RPM_BUILD_ROOT}%{font_dir}
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    32
install sfd/*.ttf ${RPM_BUILD_ROOT}%{font_dir}
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    33
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    34
%clean
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    35
rm -rf $RPM_BUILD_ROOT
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    36
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    37
%post 
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    38
echo "Please run SuSEconfig or '/sbin/SuSEconfig --module fonts' to update the font settings"
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    39
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    40
%postun
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    41
echo "Please run SuSEconfig or '/sbin/SuSEconfig --module fonts' to update the font settings"
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    42
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    43
%files
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    44
%defattr(-,root,root)
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    45
%doc README AUTHORS CREDITS INSTALL ChangeLog
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    46
%{font_dir}/*.ttf
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    47
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    48
%changelog
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    49
* Thu Jul 10 2003 - [email protected]
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    50
- Initial release
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    51
- Using version numbered copy of freefont-ttf.tar.gz as original is not version numbered.