diff --git a/un-fonts.changes b/un-fonts.changes index 3338201..f1b42a8 100644 --- a/un-fonts.changes +++ b/un-fonts.changes @@ -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 diff --git a/un-fonts.spec b/un-fonts.spec index d32533d..c2993d6 100644 --- a/un-fonts.spec +++ b/un-fonts.spec @@ -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 -# FIXME: This causes a rpmlint warning; change <= to < once here's a new upstream version +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 - %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 @@ -67,7 +60,7 @@ rm -rf $RPM_BUILD_ROOT %postun %run_suseconfig_fonts -c -%files +%files %defattr(-, root,root) %doc README COPYING %{ttf_fontdir}