ttf-baekmuk.spec
author dcarbery
Mon, 23 Oct 2006 12:46:17 +0000
branchgnome-2-14
changeset 19195 352a4716f1f3
parent 5518 235b0b4aa324
child 8564 df62c23d2955
permissions -rw-r--r--
2006-10-23 Damien Carbery <[email protected]> * docs/ssa/*: Remove these, as they're now up on the JDS project pages under 'Tasks/Single Sys Admin'.

#
# spec file for package ttf-baekmuk
#
# Copyright (c) 2005 Sun Microsystems, Inc.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#

Name:         ttf-baekmuk
License:      baekmuk
Group:        User Interface/X
Version:      2.1
Release:      54
Distribution: Java Desktop System
Vendor:	      Sun Microsystems, Inc.
Summary:      Korean Baekmuk Truetype Fonts
Source:       ftp://ftp.mizi.com/pub/baekmuk/baekmuk-ttf-%{version}.tar.gz
URL:          ftp://ftp.mizi.com/pub/baekmuk/
BuildRoot:    %{_tmppath}/%{name}-%{version}-build
Docdir:       %{_defaultdocdir}/doc
Autoreqprov:  on
BuildArchitectures:    noarch

PreReq:		aaa_base

%ifos solaris
%define font_dir /usr/openwin/lib/X11/fonts/TrueType
%else
%define font_dir %{_prefix}/X11R6/lib/X11/fonts/truetype
%endif

%description
Baekmuk Korean TrueType Fonts

%prep
%setup -q -c -n %{name}-%{version}


%install
install -d ${RPM_BUILD_ROOT}%{font_dir}
install *.ttf ${RPM_BUILD_ROOT}%{font_dir}

%clean
rm -rf $RPM_BUILD_ROOT

%post 
test -x /sbin/SuSEconfig && /sbin/SuSEconfig --module fonts

%postun
test -x /sbin/SuSEconfig && /sbin/SuSEconfig --module fonts

%files
%defattr(-,root,root)
%{font_dir}/*.ttf

%changelog
* Wed Feb 16 2005 - [email protected]
- prereq aaa_base

* Sat Oct 30 2004 - [email protected]
- test if SuSEconfig is installed before running it, fixes 4911608

* Sat May 01 2004 - [email protected]
- install fonts into /usr/openwin on Solaris

* Tue Feb 24 2004 - [email protected]
- Updated to Cinnabar.

* Thu Jul 17 2003 - [email protected]
- Changed to invoke SuSEconfig directly.

* Thu Jul 10 2003 - [email protected]
- Initial release