ttf-baekmuk.spec revision 20184
10292N/A#
10292N/A# spec file for package ttf-baekmuk
10292N/A#
10292N/A# Copyright (c) 2005, 2011, Oracle and/or its affiliates. All rights reserved.
10292N/A# This file and all modifications and additions to the pristine
10292N/A# package are under the same license as the package itself.
10292N/A#
10292N/A%define owner dermot
10292N/A#
10292N/A
10292N/A%define OSR 1757:20030628
10292N/A
10292N/AName: ttf-baekmuk
10292N/ALicense: baekmuk
10292N/AGroup: User Interface/X
10292N/AVersion: 2.1
10292N/ARelease: 54
10292N/ADistribution: Java Desktop System
10292N/AVendor: Other
10292N/ASummary: Korean Baekmuk Truetype Fonts
10292N/ASource: ftp://ftp.mizi.com/pub/baekmuk/baekmuk-ttf-%{version}.tar.gz
10292N/AURL: ftp://ftp.mizi.com/pub/baekmuk/
10292N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
10292N/ADocdir: %{_defaultdocdir}/doc
10292N/AAutoreqprov: on
10292N/ABuildArchitectures: noarch
10292N/A
10292N/APreReq: aaa_base
10292N/A
10292N/A%define font_dir %{_datadir}/fonts/TrueType/baekmuk
10292N/A
10292N/A%description
10292N/ABaekmuk Korean TrueType Fonts
10292N/A
10292N/A%prep
10292N/A%setup -q -c -n %{name}-%{version}
10292N/A
10292N/A
10292N/A%install
10292N/Ainstall -d ${RPM_BUILD_ROOT}%{font_dir}
10292N/Ainstall --mode=0444 *.ttf ${RPM_BUILD_ROOT}%{font_dir}
10292N/Aif [ -x /usr/bin/mkfontscale -a -x /usr/bin/mkfontdir ]; then
10292N/A cd ${RPM_BUILD_ROOT}%{font_dir} \
10292N/A && /usr/bin/mkfontscale \
10292N/A && /usr/bin/mkfontdir \
10292N/A && /usr/bin/chmod 0444 fonts.dir fonts.scale
10292N/Afi
10292N/A
10292N/A%clean
10292N/Arm -rf $RPM_BUILD_ROOT
10292N/A
10292N/A%post
10292N/Atest -x /sbin/SuSEconfig && /sbin/SuSEconfig --module fonts
10292N/A
10292N/A%postun
10292N/Atest -x /sbin/SuSEconfig && /sbin/SuSEconfig --module fonts
10292N/A
10292N/A%files
10292N/A%defattr(-,root,root)
10292N/A%{font_dir}/*.ttf
10292N/A
10292N/A%changelog
10292N/A* Wed Mar 30 2011 - jan.hnatek@oracle.com
10292N/A- include fonts.dir and fonts.scale files
10292N/A* Thu Oct 15 2009 - alan.coopersmith@sun.com
10292N/A- move from /usr/openwin to /usr/share/fonts
10292N/A* Wed Feb 16 2005 - dermot.mccluskey@sun.com
10292N/A- prereq aaa_base
10292N/A* Sat Oct 30 2004 - laca@sun.com
10292N/A- test if SuSEconfig is installed before running it, fixes 4911608
10292N/A* Sat May 01 2004 - laca@sun.com
10292N/A- install fonts into /usr/openwin on Solaris
10292N/A* Tue Feb 24 2004 - michael.twomey@sun.com
10292N/A- Updated to Cinnabar.
10292N/A* Thu Jul 17 2003 - michael.twomey@sun.com
10292N/A- Changed to invoke SuSEconfig directly.
10292N/A* Thu Jul 10 2003 - michael.twomey@sun.com
10292N/A- Initial release
10292N/A