base-specs/ttf-baekmuk.spec
author alanc
Fri, 16 Oct 2009 01:07:34 +0000
changeset 16777 9777dd15c7da
parent 16434 f21f22550fe9
child 17865 b7ff02e93f66
permissions -rw-r--r--
2009-10-15 Alan Coopersmith <[email protected]> * SUNWgnome-fonts.spec, base-specs/ttf-baekmuk.spec, base-specs/ttf-freefont.spec: Move fonts from /usr/openwin/lib/X11/fonts to /usr/share/fonts

#
# 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.
#
%define owner dermot
#

%define OSR 1757:20030628

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

%define font_dir %{_datadir}/fonts/TrueType/baekmuk

%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
* Thu Oct 15 2009 - [email protected]
- move from /usr/openwin to /usr/share/fonts
* 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