base-specs/ttf-freefont.spec
author yippi
Thu, 31 May 2012 20:16:52 +0000
changeset 22481 1ff6784d9b6f
parent 21679 6d32e297998a
permissions -rw-r--r--
2012-05-31 Brian Cameron <[email protected]> * base-specs/shared-mime-info.spec: Bump to 1.0. * base-specs/nautilus.spec, base-specs/pulseaudio.spec, base-specs/gnome-settings-daemon.spec, specs/SUNWdconf.spec: Add patch comments. * base-specs/gnome-panel.spec: Add --disable-telepathy-glib so it does not build with this module we do not deliver.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     1
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     2
# spec file for package ttf-freefont
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     3
#
21679
6d32e297998a Update FreeFont.
hnhn
parents: 17893
diff changeset
     4
# Copyright (c) 2005, 2011, Oracle and/or its affiliates. All rights reserved.
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     5
# This file and all modifications and additions to the pristine
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     6
# package are under the same license as the package itself.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     7
#
16434
f21f22550fe9 2009-08-31 Christian Kelly <[email protected]>
chrisk
parents: 16427
diff changeset
     8
%define owner dermot
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     9
#
16427
63d81b085adb 2009-08-31 Christian Kelly <[email protected]>
chrisk
parents: 9397
diff changeset
    10
17893
36619080451b 2010-04-21 Christian Kelly <[email protected]>
chrisk
parents: 17865
diff changeset
    11
%define OSR delivered in s10:n/a
16427
63d81b085adb 2009-08-31 Christian Kelly <[email protected]>
chrisk
parents: 9397
diff changeset
    12
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    13
Name:         ttf-freefont
21679
6d32e297998a Update FreeFont.
hnhn
parents: 17893
diff changeset
    14
License:      GPLv3
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    15
Group:        User Interface/X
21679
6d32e297998a Update FreeFont.
hnhn
parents: 17893
diff changeset
    16
Version:      20100919
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    17
Release:      54
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    18
Distribution: Java Desktop System
17865
b7ff02e93f66 2010-04-19 Christian Kelly <[email protected]>
chrisk
parents: 16777
diff changeset
    19
Vendor:	      Other
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    20
Summary:      Free UCS TrueType Fonts
21679
6d32e297998a Update FreeFont.
hnhn
parents: 17893
diff changeset
    21
Source:       http://ftp.gnu.org/gnu/freefont/freefont-ttf-20100919.tar.gz
6d32e297998a Update FreeFont.
hnhn
parents: 17893
diff changeset
    22
URL:          http://savannah.gnu.org/projects/freefont/
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    23
BuildRoot:    %{_tmppath}/%{name}-%{version}-build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    24
Docdir:       %{_defaultdocdir}/doc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    25
Autoreqprov:  on
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    26
BuildArchitectures:    noarch
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    27
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    28
PreReq:       aaa_base
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    29
16777
9777dd15c7da 2009-10-15 Alan Coopersmith <[email protected]>
alanc
parents: 16434
diff changeset
    30
%define font_dir %{_datadir}/fonts/TrueType/freefont
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    31
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    32
%description
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    33
A set of free scalable fonts covering the ISO 10646/Unicode UCS.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    34
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    35
%prep
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    36
%setup -q -c -n ttf-freefont
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    37
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    38
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    39
%install
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    40
install -d ${RPM_BUILD_ROOT}%{font_dir}
21679
6d32e297998a Update FreeFont.
hnhn
parents: 17893
diff changeset
    41
install --mode=0444 freefont-%{version}/*.ttf ${RPM_BUILD_ROOT}%{font_dir}
6d32e297998a Update FreeFont.
hnhn
parents: 17893
diff changeset
    42
if [ -x /usr/bin/mkfontscale -a -x /usr/bin/mkfontdir ]; then
6d32e297998a Update FreeFont.
hnhn
parents: 17893
diff changeset
    43
	cd ${RPM_BUILD_ROOT}%{font_dir} \
6d32e297998a Update FreeFont.
hnhn
parents: 17893
diff changeset
    44
	  && /usr/bin/mkfontscale \
6d32e297998a Update FreeFont.
hnhn
parents: 17893
diff changeset
    45
	  && /usr/bin/mkfontdir \
6d32e297998a Update FreeFont.
hnhn
parents: 17893
diff changeset
    46
	  && /usr/bin/chmod 0444 fonts.dir fonts.scale
6d32e297998a Update FreeFont.
hnhn
parents: 17893
diff changeset
    47
fi
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    48
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    49
%clean
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    50
rm -rf $RPM_BUILD_ROOT
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    51
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    52
%post 
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    53
test -x /sbin/SuSEconfig && /sbin/SuSEconfig --module fonts
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    54
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    55
%postun
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    56
test -x /sbin/SuSEconfig && /sbin/SuSEconfig --module fonts
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    57
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    58
%files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    59
%defattr(-,root,root)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    60
%doc README AUTHORS CREDITS INSTALL ChangeLog
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    61
%{font_dir}/*.ttf
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    62
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    63
%changelog
21679
6d32e297998a Update FreeFont.
hnhn
parents: 17893
diff changeset
    64
* Wed Mar 30 2011 - [email protected]
6d32e297998a Update FreeFont.
hnhn
parents: 17893
diff changeset
    65
- update freefont to 20100919
6d32e297998a Update FreeFont.
hnhn
parents: 17893
diff changeset
    66
16777
9777dd15c7da 2009-10-15 Alan Coopersmith <[email protected]>
alanc
parents: 16434
diff changeset
    67
* Thu Oct 15 2009 - [email protected]
9777dd15c7da 2009-10-15 Alan Coopersmith <[email protected]>
alanc
parents: 16434
diff changeset
    68
- move from /usr/openwin to /usr/share/fonts
9777dd15c7da 2009-10-15 Alan Coopersmith <[email protected]>
alanc
parents: 16434
diff changeset
    69
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    70
* Fri Dec 02 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    71
- Remove %{version} from Source URL as there isn't one on website.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    72
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    73
* Wed Feb 16 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    74
- prereq aaa_base
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    75
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    76
* Sat Oct 30 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    77
- test if SuSEconfig is installed before running it, fixes 4911608
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    78
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    79
* Sat May 01 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    80
- install fonts into /usr/openwin on Solaris
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    81
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    82
* Tue Feb 24 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    83
- Updated to Cinnabar.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    84
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    85
* Thu Jul 17 2003 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    86
- Changed to invoke SuSEconfig directly.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    87
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    88
* Thu Jul 10 2003 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    89
- Initial release
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    90
- Using version numbered copy of freefont-ttf.tar.gz as original is not version numbered.