Petr Gajdos
1766cea480
OBS-URL: https://build.opensuse.org/package/show/M17N:fonts/wang-fonts?expand=0&rev=4
57 lines
1.5 KiB
RPMSpec
57 lines
1.5 KiB
RPMSpec
#
|
|
# spec file for package wang-fonts
|
|
#
|
|
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
|
|
Name: wang-fonts
|
|
Version: 0.20040323
|
|
Release: 0
|
|
%define fontdir /usr/share/fonts/truetype
|
|
License: GPL-2.0+
|
|
Summary: Chinese (Unicode) TrueType fonts by Dr
|
|
Url: ftp://cle.linux.org.tw/pub/fonts/wangnew/
|
|
Group: System/X11/Fonts
|
|
Source0: wang-fonts-%{version}.tar.bz2
|
|
Requires(pre): %suseconfig_fonts_prereq
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
BuildArch: noarch
|
|
|
|
%description
|
|
Chinese (Unicode) TrueType fonts by Dr. Hann-Tzong Wang
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
|
|
%install
|
|
mkdir -p %{buildroot}%{fontdir}/
|
|
install -c -m 644 *.ttf %{buildroot}%{fontdir}
|
|
|
|
%post
|
|
%run_suseconfig_fonts -c
|
|
|
|
%postun
|
|
%run_suseconfig_fonts -c
|
|
|
|
%files
|
|
%defattr(-, root,root)
|
|
%doc license.txt *.doc *.pdf *.sxw *.png
|
|
%{fontdir}
|
|
|
|
%changelog
|