ttf-freefont.spec
author dermotm
Mon, 17 Jan 2005 10:53:00 +0000
changeset 4860 36c23f7402f2
parent 4801 e962671c7dcf
child 4867 e8cfe7e64783
permissions -rw-r--r--
Incremented release numbers for build 27
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
4860
36c23f7402f2 Incremented release numbers for build 27
dermotm
parents: 4801
diff changeset
    11
Release:      40
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
4455
aea26bce3124 2004-11-05 Takao Fujiwara <[email protected]>
fujiwara
parents: 4409
diff changeset
    16
Source1:       l10n-configure.sh
519
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    17
URL:          http://savannah.nongnu.org/projects/freefont/
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    18
BuildRoot:    %{_tmppath}/%{name}-%{version}-build
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    19
Docdir:       %{_defaultdocdir}/doc
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    20
Autoreqprov:  on
2037
cd60fa036ed6 Use %ifos to set a different font_dir for Solaris.
dc144907
parents: 1940
diff changeset
    21
BuildArchitectures:    noarch
519
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    22
2037
cd60fa036ed6 Use %ifos to set a different font_dir for Solaris.
dc144907
parents: 1940
diff changeset
    23
%ifos solaris
2606
d5247cd2b842 2004-05-01 Laszlo Peter <[email protected]>
laca
parents: 2494
diff changeset
    24
%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
    25
%else
519
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    26
%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
    27
%endif
519
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    28
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    29
%description
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    30
A set of free scalable fonts covering the ISO 10646/Unicode UCS.
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    31
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    32
%prep
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    33
%setup -q -c -n ttf-freefont
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    34
4455
aea26bce3124 2004-11-05 Takao Fujiwara <[email protected]>
fujiwara
parents: 4409
diff changeset
    35
bash -x %SOURCE1
aea26bce3124 2004-11-05 Takao Fujiwara <[email protected]>
fujiwara
parents: 4409
diff changeset
    36
519
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    37
%install
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    38
install -d ${RPM_BUILD_ROOT}%{font_dir}
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    39
install sfd/*.ttf ${RPM_BUILD_ROOT}%{font_dir}
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    40
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    41
%clean
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    42
rm -rf $RPM_BUILD_ROOT
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    43
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    44
%post 
4397
e40ed07cdf47 2004-10-30 Laszlo Peter <[email protected]>
laca
parents: 4276
diff changeset
    45
test -x /sbin/SuSEconfig && /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
%postun
4397
e40ed07cdf47 2004-10-30 Laszlo Peter <[email protected]>
laca
parents: 4276
diff changeset
    48
test -x /sbin/SuSEconfig && /sbin/SuSEconfig --module fonts
519
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    49
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    50
%files
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    51
%defattr(-,root,root)
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    52
%doc README AUTHORS CREDITS INSTALL ChangeLog
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    53
%{font_dir}/*.ttf
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    54
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    55
%changelog
4397
e40ed07cdf47 2004-10-30 Laszlo Peter <[email protected]>
laca
parents: 4276
diff changeset
    56
* Sat Oct 30 2004 - [email protected]
e40ed07cdf47 2004-10-30 Laszlo Peter <[email protected]>
laca
parents: 4276
diff changeset
    57
- test if SuSEconfig is installed before running it, fixes 4911608
e40ed07cdf47 2004-10-30 Laszlo Peter <[email protected]>
laca
parents: 4276
diff changeset
    58
2606
d5247cd2b842 2004-05-01 Laszlo Peter <[email protected]>
laca
parents: 2494
diff changeset
    59
* Sat May 01 2004 - [email protected]
d5247cd2b842 2004-05-01 Laszlo Peter <[email protected]>
laca
parents: 2494
diff changeset
    60
- install fonts into /usr/openwin on Solaris
d5247cd2b842 2004-05-01 Laszlo Peter <[email protected]>
laca
parents: 2494
diff changeset
    61
1940
4fa13ac580fc Changed to cinnabar distro, no changes to spec files otherwise
mick
parents: 1876
diff changeset
    62
* Tue Feb 24 2004 - [email protected]
4fa13ac580fc Changed to cinnabar distro, no changes to spec files otherwise
mick
parents: 1876
diff changeset
    63
- Updated to Cinnabar.
4fa13ac580fc Changed to cinnabar distro, no changes to spec files otherwise
mick
parents: 1876
diff changeset
    64
623
c1985e25a91c Changed to invoke SuSEconfig directly
mick
parents: 601
diff changeset
    65
* Thu Jul 17 2003 - [email protected]
c1985e25a91c Changed to invoke SuSEconfig directly
mick
parents: 601
diff changeset
    66
- Changed to invoke SuSEconfig directly.
1940
4fa13ac580fc Changed to cinnabar distro, no changes to spec files otherwise
mick
parents: 1876
diff changeset
    67
519
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    68
* Thu Jul 10 2003 - [email protected]
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    69
- Initial release
f6cbb5a9c9aa Packaged the GNU UCS free fonts
mick
parents:
diff changeset
    70
- Using version numbered copy of freefont-ttf.tar.gz as original is not version numbered.