From 1766cea4801c6a480b13fe41ad9ff983a18ef297a724a0bc8ba56e65ea979f70 Mon Sep 17 00:00:00 2001 From: Petr Gajdos Date: Thu, 17 May 2012 09:25:46 +0000 Subject: [PATCH] - call spec-cleaner OBS-URL: https://build.opensuse.org/package/show/M17N:fonts/wang-fonts?expand=0&rev=4 --- wang-fonts.changes | 5 +++++ wang-fonts.spec | 46 ++++++++++++++++++++++------------------------ 2 files changed, 27 insertions(+), 24 deletions(-) diff --git a/wang-fonts.changes b/wang-fonts.changes index 1c158fb..38d4b68 100644 --- a/wang-fonts.changes +++ b/wang-fonts.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu May 17 09:10:35 UTC 2012 - pgajdos@suse.com + +- call spec-cleaner + ------------------------------------------------------------------- Fri Apr 27 15:39:35 UTC 2012 - pgajdos@suse.com diff --git a/wang-fonts.spec b/wang-fonts.spec index 4542178..b477f90 100644 --- a/wang-fonts.spec +++ b/wang-fonts.spec @@ -1,43 +1,46 @@ # -# spec file for package wang-fonts (Version 0.20040323) +# spec file for package wang-fonts # -# 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. +# 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 -%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 +%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 -BuildArchitectures: noarch +Requires(pre): %suseconfig_fonts_prereq BuildRoot: %{_tmppath}/%{name}-%{version}-build -Summary: Chinese (Unicode) TrueType fonts by Dr. Hann-Tzong Wang +BuildArch: noarch %description Chinese (Unicode) TrueType fonts by Dr. Hann-Tzong Wang -Authors: --------- - Dr. Hann-Tzong Wang - %prep -%setup +%setup -q %build %install -mkdir -p $RPM_BUILD_ROOT%{fontdir}/ -install -c -m 644 *.ttf $RPM_BUILD_ROOT%{fontdir} +mkdir -p %{buildroot}%{fontdir}/ +install -c -m 644 *.ttf %{buildroot}%{fontdir} %post %run_suseconfig_fonts -c @@ -50,9 +53,4 @@ install -c -m 644 *.ttf $RPM_BUILD_ROOT%{fontdir} %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. +%changelog