ttf-freefont.spec
author dermotm
Mon, 12 Jul 2004 09:46:45 +0000
changeset 3320 1b6af4da604e
parent 3224 8ca3f4526524
child 3425 1df6e1328537
permissions -rw-r--r--
Incremented release numbers for build 14
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
519
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
     1
#
601
7a2f75f5bd95 2003-07-16 Mark McLoughlin <[email protected]>
markmc
parents: 575
diff changeset
     2
# Copyright (c) 2003 Sun Microsystems, Inc.
519
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
3320
1b6af4da604e Incremented release numbers for build 14
dermotm
parents: 3224
diff changeset
    11
Release:      27
1940
4fa13ac580fc Changed to cinnabar distro, no changes to spec files otherwise
mick
parents: 1876
diff changeset
    12
Distribution: Cinnabar
575
2b5c59a05848 2003-07-15 Mark McLoughlin <[email protected]>
markmc
parents: 552
diff changeset
    13
Vendor:	      Sun Microsystems, Inc.
519
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
2037
cd60fa036ed6 Use %ifos to set a different font_dir for Solaris.
dc144907
parents: 1940
diff changeset
    20
BuildArchitectures:    noarch
519
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    21
2037
cd60fa036ed6 Use %ifos to set a different font_dir for Solaris.
dc144907
parents: 1940
diff changeset
    22
%ifos solaris
2606
d5247cd2b842 2004-05-01 Laszlo Peter <[email protected]>
laca
parents: 2494
diff changeset
    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
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    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
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    27
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    28
%description
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    29
A set of free scalable fonts covering the ISO 10646/Unicode UCS.
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    30
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    31
%prep
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    32
%setup -q -c -n ttf-freefont
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    33
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    34
%install
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    35
install -d ${RPM_BUILD_ROOT}%{font_dir}
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    36
install sfd/*.ttf ${RPM_BUILD_ROOT}%{font_dir}
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    37
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    38
%clean
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    39
rm -rf $RPM_BUILD_ROOT
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    40
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    41
%post 
623
c1985e25a91c Changed to invoke SuSEconfig directly
mick
parents: 601
diff changeset
    42
/sbin/SuSEconfig --module fonts
519
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    43
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    44
%postun
623
c1985e25a91c Changed to invoke SuSEconfig directly
mick
parents: 601
diff changeset
    45
/sbin/SuSEconfig --module fonts
519
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    46
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    47
%files
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    48
%defattr(-,root,root)
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    49
%doc README AUTHORS CREDITS INSTALL ChangeLog
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    50
%{font_dir}/*.ttf
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    51
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    52
%changelog
2606
d5247cd2b842 2004-05-01 Laszlo Peter <[email protected]>
laca
parents: 2494
diff changeset
    53
* Sat May 01 2004 - [email protected]
d5247cd2b842 2004-05-01 Laszlo Peter <[email protected]>
laca
parents: 2494
diff changeset
    54
- install fonts into /usr/openwin on Solaris
d5247cd2b842 2004-05-01 Laszlo Peter <[email protected]>
laca
parents: 2494
diff changeset
    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
c1985e25a91c Changed to invoke SuSEconfig directly
mick
parents: 601
diff changeset
    59
* Thu Jul 17 2003 - [email protected]
c1985e25a91c Changed to invoke SuSEconfig directly
mick
parents: 601
diff changeset
    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
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    62
* Thu Jul 10 2003 - [email protected]
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    63
- Initial release
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    64
- Using version numbered copy of freefont-ttf.tar.gz as original is not version numbered.