author | dcarbery |
Mon, 23 Oct 2006 12:46:17 +0000 | |
branch | gnome-2-14 |
changeset 19195 | 352a4716f1f3 |
parent 5518 | 235b0b4aa324 |
child 8564 | df62c23d2955 |
permissions | -rw-r--r-- |
522 | 1 |
# |
5518 | 2 |
# spec file for package ttf-baekmuk |
3 |
# |
|
4 |
# Copyright (c) 2005 Sun Microsystems, Inc. |
|
522 | 5 |
# This file and all modifications and additions to the pristine |
6 |
# package are under the same license as the package itself. |
|
7 |
# |
|
8 |
||
9 |
Name: ttf-baekmuk |
|
10 |
License: baekmuk |
|
11 |
Group: User Interface/X |
|
12 |
Version: 2.1 |
|
5518 | 13 |
Release: 54 |
14 |
Distribution: Java Desktop System |
|
575 | 15 |
Vendor: Sun Microsystems, Inc. |
522 | 16 |
Summary: Korean Baekmuk Truetype Fonts |
17 |
Source: ftp://ftp.mizi.com/pub/baekmuk/baekmuk-ttf-%{version}.tar.gz |
|
18 |
URL: ftp://ftp.mizi.com/pub/baekmuk/ |
|
19 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
20 |
Docdir: %{_defaultdocdir}/doc |
|
21 |
Autoreqprov: on |
|
2038
a30e70d7cdb5
Use %ifos to set a different font_dir for Solaris.
dc144907
parents:
1940
diff
changeset
|
22 |
BuildArchitectures: noarch |
522 | 23 |
|
5103 | 24 |
PreReq: aaa_base |
25 |
||
2038
a30e70d7cdb5
Use %ifos to set a different font_dir for Solaris.
dc144907
parents:
1940
diff
changeset
|
26 |
%ifos solaris |
2606 | 27 |
%define font_dir /usr/openwin/lib/X11/fonts/TrueType |
2038
a30e70d7cdb5
Use %ifos to set a different font_dir for Solaris.
dc144907
parents:
1940
diff
changeset
|
28 |
%else |
522 | 29 |
%define font_dir %{_prefix}/X11R6/lib/X11/fonts/truetype |
2038
a30e70d7cdb5
Use %ifos to set a different font_dir for Solaris.
dc144907
parents:
1940
diff
changeset
|
30 |
%endif |
522 | 31 |
|
32 |
%description |
|
33 |
Baekmuk Korean TrueType Fonts |
|
34 |
||
35 |
%prep |
|
36 |
%setup -q -c -n %{name}-%{version} |
|
37 |
||
4455 | 38 |
|
522 | 39 |
%install |
40 |
install -d ${RPM_BUILD_ROOT}%{font_dir} |
|
41 |
install *.ttf ${RPM_BUILD_ROOT}%{font_dir} |
|
42 |
||
43 |
%clean |
|
44 |
rm -rf $RPM_BUILD_ROOT |
|
45 |
||
46 |
%post |
|
4397 | 47 |
test -x /sbin/SuSEconfig && /sbin/SuSEconfig --module fonts |
522 | 48 |
|
49 |
%postun |
|
4397 | 50 |
test -x /sbin/SuSEconfig && /sbin/SuSEconfig --module fonts |
522 | 51 |
|
52 |
%files |
|
53 |
%defattr(-,root,root) |
|
54 |
%{font_dir}/*.ttf |
|
55 |
||
56 |
%changelog |
|
5103 | 57 |
* Wed Feb 16 2005 - [email protected] |
58 |
- prereq aaa_base |
|
59 |
||
4397 | 60 |
* Sat Oct 30 2004 - [email protected] |
61 |
- test if SuSEconfig is installed before running it, fixes 4911608 |
|
62 |
||
2606 | 63 |
* Sat May 01 2004 - [email protected] |
64 |
- install fonts into /usr/openwin on Solaris |
|
65 |
||
1940
4fa13ac580fc
Changed to cinnabar distro, no changes to spec files otherwise
mick
parents:
1876
diff
changeset
|
66 |
* Tue Feb 24 2004 - [email protected] |
4fa13ac580fc
Changed to cinnabar distro, no changes to spec files otherwise
mick
parents:
1876
diff
changeset
|
67 |
- Updated to Cinnabar. |
4fa13ac580fc
Changed to cinnabar distro, no changes to spec files otherwise
mick
parents:
1876
diff
changeset
|
68 |
|
623 | 69 |
* Thu Jul 17 2003 - [email protected] |
70 |
- Changed to invoke SuSEconfig directly. |
|
71 |
||
522 | 72 |
* Thu Jul 10 2003 - [email protected] |
73 |
- Initial release |