Accepting request 133994 from M17N:fonts

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/133994
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/un-fonts?expand=0&rev=4
This commit is contained in:
Ismail Dönmez 2012-09-14 10:41:26 +00:00 committed by Git OBS Bridge
commit 797737f228
2 changed files with 14 additions and 16 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Jul 4 12:39:06 CEST 2012 - pgajdos@suse.cz
- amend spec file to reflect new font packaging scheme
(see openFATE#313536);
-------------------------------------------------------------------
Thu May 17 09:10:33 UTC 2012 - pgajdos@suse.com

View File

@ -16,21 +16,20 @@
#
Name: un-fonts
%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
License: GPL-2.0+
Group: System/X11/Fonts
Url: http://kldp.net/projects/unfonts/download
Source0: %{name}-core-%{ver}-%{date}.tar.bz2
Source1: %{name}-extra-%{ver}-%{date}.tar.bz2
Source10: update-archive
Requires(pre): %suseconfig_fonts_prereq
%define ttf_fontdir /usr/share/fonts/truetype
BuildRequires: fontpackages-devel
%reconfigure_fonts_prereq
Provides: scalable-font-ko
Provides: locale(ko)
# FIXME: This causes a rpmlint warning; change <= to < once here's a new upstream version
@ -48,21 +47,14 @@ Collection of Korean TrueType fonts.
%build
%install
mkdir -p %{buildroot}%{ttf_fontdir}/
install -c -m 644 *.ttf %{buildroot}%{ttf_fontdir}/
mkdir -p %{buildroot}%{_ttfontsdir}/
install -c -m 644 *.ttf %{buildroot}%{_ttfontsdir}/
%clean
rm -rf %{buildroot}
%post
%run_suseconfig_fonts -c
%postun
%run_suseconfig_fonts -c
%reconfigure_fonts_scriptlets -c
%files
%defattr(-, root,root)
%doc README COPYING
%{ttf_fontdir}
%{_ttfontsdir}
%changelog