Accepting request 122193 from M17N:fonts

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/122193
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/un-fonts?expand=0&rev=2
This commit is contained in:
Stephan Kulow 2012-05-26 07:30:00 +00:00 committed by Git OBS Bridge
commit ed6bbfa698
2 changed files with 20 additions and 22 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu May 17 09:10:33 UTC 2012 - pgajdos@suse.com
- call spec-cleaner
-------------------------------------------------------------------
Mon Jan 30 14:31:02 UTC 2012 - pgajdos@suse.com

View File

@ -18,48 +18,41 @@
Name: un-fonts
%define ttf_fontdir /usr/share/fonts/truetype
Provides: scalable-font-ko
PreReq: %suseconfig_fonts_prereq
Provides: locale(ko)
%define date 080608
%define ver 1.0.2
Version: 1.0.20%{date}
Release: 0
License: GPL-2.0+
Summary: Korean TrueType fonts
Url: http://kldp.net/projects/unfonts/download
Group: System/X11/Fonts
Source0: %{name}-core-%{ver}-%{date}.tar.bz2
Source1: %{name}-extra-%{ver}-%{date}.tar.bz2
Source10: update-archive
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Summary: Korean TrueType fonts
License: GPL-2.0+
Group: System/X11/Fonts
Requires(pre): %suseconfig_fonts_prereq
%define ttf_fontdir /usr/share/fonts/truetype
Provides: scalable-font-ko
Provides: locale(ko)
# FIXME: This causes a rpmlint warning; change <= to < once here's a new upstream version
Obsoletes: unfonts <= %{version}
Provides: unfonts == %{version}
Provides: unfonts = %{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%description
Collection of Korean TrueType fonts.
Authors:
--------
KoaungHi Un
Won-Kyu Park <wkpark@chem.skku.ac.kr>
%prep
%setup -q -n %{name} -b 1
%build
%install
mkdir -p $RPM_BUILD_ROOT%{ttf_fontdir}/
install -c -m 644 *.ttf $RPM_BUILD_ROOT%{ttf_fontdir}/
mkdir -p %{buildroot}%{ttf_fontdir}/
install -c -m 644 *.ttf %{buildroot}%{ttf_fontdir}/
%clean
rm -rf $RPM_BUILD_ROOT
rm -rf %{buildroot}
%post
%run_suseconfig_fonts -c