wang-fonts/wang-fonts.spec

63 lines
1.6 KiB
RPMSpec
Raw Normal View History

#
# spec file for package wang-fonts (Version 0.20040323)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: wang-fonts
%define fontdir /usr/share/fonts/truetype
License: GPL-2.0+
Group: System/X11/Fonts
Autoreqprov: on
PreReq: %suseconfig_fonts_prereq
Version: 0.20040323
Release: 0
Url: ftp://cle.linux.org.tw/pub/fonts/wangnew/
Source0: wang-fonts-%{version}.tar.bz2
BuildArchitectures: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Summary: Chinese (Unicode) TrueType fonts by Dr. Hann-Tzong Wang
%description
Chinese (Unicode) TrueType fonts by Dr. Hann-Tzong Wang
Authors:
--------
Dr. Hann-Tzong Wang
%prep
%setup
%build
%install
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;
mkdir -p $RPM_BUILD_ROOT%{fontdir}/
install -c -m 644 *.ttf $RPM_BUILD_ROOT%{fontdir}
%clean
#[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;
%post
%run_suseconfig_fonts -c
%postun
%run_suseconfig_fonts -c
%files
%defattr(-, root,root)
%doc license.txt *.doc *.pdf *.sxw *.png
%{fontdir}
%changelog -n wang-fonts
* Fri Aug 11 2006 - mfabian@suse.de
- move fonts to /usr/share/fonts/truetype
(openSUSE 10.2 will use X11R7).
* Tue Mar 23 2004 - mfabian@suse.de
- new package: wang-fonts version 0.20040323.