ttf-freefont.spec
author dermotm
Mon, 24 Jul 2006 12:30:39 +0000
branchgnome-2-10
changeset 19949 94f49bf19351
parent 19719 d184ca39d269
permissions -rw-r--r--
access control test #4
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
519
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
     1
#
19693
ecfa915b40d9 2005-08-05 Laszlo Peter <[email protected]>
laca
parents: 19643
diff changeset
     2
# spec file for package ttf-freefont
ecfa915b40d9 2005-08-05 Laszlo Peter <[email protected]>
laca
parents: 19643
diff changeset
     3
#
ecfa915b40d9 2005-08-05 Laszlo Peter <[email protected]>
laca
parents: 19643
diff changeset
     4
# Copyright (c) 2005 Sun Microsystems, Inc.
519
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
     5
# This file and all modifications and additions to the pristine
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
     6
# package are under the same license as the package itself.
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
     7
#
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
     8
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
     9
Name:         ttf-freefont
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    10
License:      GPL
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    11
Group:        User Interface/X
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    12
Version:      20030709
19643
798139c9a46e 2005-08-03 Laszlo Peter <[email protected]>
laca
parents: 5370
diff changeset
    13
Release:      54
19693
ecfa915b40d9 2005-08-05 Laszlo Peter <[email protected]>
laca
parents: 19643
diff changeset
    14
Distribution: Java Desktop System
575
2b5c59a05848 2003-07-15 Mark McLoughlin <[email protected]>
markmc
parents: 552
diff changeset
    15
Vendor:	      Sun Microsystems, Inc.
519
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    16
Summary:      Free UCS TrueType Fonts
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    17
Source:       http://savannah.nongnu.org/download/freefont/freefont-ttf-%{version}.tar.gz
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    18
URL:          http://savannah.nongnu.org/projects/freefont/
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    19
BuildRoot:    %{_tmppath}/%{name}-%{version}-build
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    20
Docdir:       %{_defaultdocdir}/doc
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    21
Autoreqprov:  on
2037
cd60fa036ed6 Use %ifos to set a different font_dir for Solaris.
dc144907
parents: 1940
diff changeset
    22
BuildArchitectures:    noarch
519
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    23
5103
5915fae60eb7 6230009: added prereq:aaa_base to ttf- RPMS
dermotm
parents: 5082
diff changeset
    24
PreReq:       aaa_base
5915fae60eb7 6230009: added prereq:aaa_base to ttf- RPMS
dermotm
parents: 5082
diff changeset
    25
2037
cd60fa036ed6 Use %ifos to set a different font_dir for Solaris.
dc144907
parents: 1940
diff changeset
    26
%ifos solaris
2606
d5247cd2b842 2004-05-01 Laszlo Peter <[email protected]>
laca
parents: 2494
diff changeset
    27
%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
    28
%else
519
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    29
%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
    30
%endif
519
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    31
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    32
%description
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    33
A set of free scalable fonts covering the ISO 10646/Unicode UCS.
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    34
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    35
%prep
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    36
%setup -q -c -n ttf-freefont
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    37
4455
aea26bce3124 2004-11-05 Takao Fujiwara <[email protected]>
fujiwara
parents: 4409
diff changeset
    38
519
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    39
%install
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    40
install -d ${RPM_BUILD_ROOT}%{font_dir}
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    41
install sfd/*.ttf ${RPM_BUILD_ROOT}%{font_dir}
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    42
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    43
%clean
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    44
rm -rf $RPM_BUILD_ROOT
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    45
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    46
%post 
4397
e40ed07cdf47 2004-10-30 Laszlo Peter <[email protected]>
laca
parents: 4276
diff changeset
    47
test -x /sbin/SuSEconfig && /sbin/SuSEconfig --module fonts
519
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    48
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    49
%postun
4397
e40ed07cdf47 2004-10-30 Laszlo Peter <[email protected]>
laca
parents: 4276
diff changeset
    50
test -x /sbin/SuSEconfig && /sbin/SuSEconfig --module fonts
519
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    51
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    52
%files
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    53
%defattr(-,root,root)
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    54
%doc README AUTHORS CREDITS INSTALL ChangeLog
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    55
%{font_dir}/*.ttf
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    56
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    57
%changelog
5103
5915fae60eb7 6230009: added prereq:aaa_base to ttf- RPMS
dermotm
parents: 5082
diff changeset
    58
* Wed Feb 16 2005 - [email protected]
5915fae60eb7 6230009: added prereq:aaa_base to ttf- RPMS
dermotm
parents: 5082
diff changeset
    59
- prereq aaa_base
5915fae60eb7 6230009: added prereq:aaa_base to ttf- RPMS
dermotm
parents: 5082
diff changeset
    60
4397
e40ed07cdf47 2004-10-30 Laszlo Peter <[email protected]>
laca
parents: 4276
diff changeset
    61
* Sat Oct 30 2004 - [email protected]
e40ed07cdf47 2004-10-30 Laszlo Peter <[email protected]>
laca
parents: 4276
diff changeset
    62
- test if SuSEconfig is installed before running it, fixes 4911608
e40ed07cdf47 2004-10-30 Laszlo Peter <[email protected]>
laca
parents: 4276
diff changeset
    63
2606
d5247cd2b842 2004-05-01 Laszlo Peter <[email protected]>
laca
parents: 2494
diff changeset
    64
* Sat May 01 2004 - [email protected]
d5247cd2b842 2004-05-01 Laszlo Peter <[email protected]>
laca
parents: 2494
diff changeset
    65
- install fonts into /usr/openwin on Solaris
d5247cd2b842 2004-05-01 Laszlo Peter <[email protected]>
laca
parents: 2494
diff changeset
    66
1940
4fa13ac580fc Changed to cinnabar distro, no changes to spec files otherwise
mick
parents: 1876
diff changeset
    67
* Tue Feb 24 2004 - [email protected]
4fa13ac580fc Changed to cinnabar distro, no changes to spec files otherwise
mick
parents: 1876
diff changeset
    68
- Updated to Cinnabar.
4fa13ac580fc Changed to cinnabar distro, no changes to spec files otherwise
mick
parents: 1876
diff changeset
    69
623
c1985e25a91c Changed to invoke SuSEconfig directly
mick
parents: 601
diff changeset
    70
* Thu Jul 17 2003 - [email protected]
c1985e25a91c Changed to invoke SuSEconfig directly
mick
parents: 601
diff changeset
    71
- Changed to invoke SuSEconfig directly.
1940
4fa13ac580fc Changed to cinnabar distro, no changes to spec files otherwise
mick
parents: 1876
diff changeset
    72
519
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    73
* Thu Jul 10 2003 - [email protected]
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    74
- Initial release
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    75
- Using version numbered copy of freefont-ttf.tar.gz as original is not version numbered.