ttf-baekmuk.spec
author laca
Sat, 01 May 2004 12:30:44 +0000
changeset 2606 d5247cd2b842
parent 2494 6b1189c3cc84
child 2619 a032fc86f08a
permissions -rw-r--r--
2004-05-01 Laszlo Peter <[email protected]> * evolution.spec: add javahelp conversion * hydrogen.spec: remove icon conflict hack as it is fixed in the tarball * mozilla.spec: changed nspr package version to 4.5.0.17 to avoid upgrade issues * ttf-baekmuk.spec: install fonts into /usr/openwin on Solaris * ttf-freefont.spec: install fonts into /usr/openwin on Solaris

#
# Copyright (c) 2003 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:      21
Distribution: Cinnabar
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

%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 
/sbin/SuSEconfig --module fonts

%postun
/sbin/SuSEconfig --module fonts

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

%changelog
* 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