- call spec-cleaner
OBS-URL: https://build.opensuse.org/package/show/M17N:fonts/un-fonts?expand=0&rev=6
This commit is contained in:
parent
9ba848507b
commit
081580de9f
@ -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
|
Mon Jan 30 14:31:02 UTC 2012 - pgajdos@suse.com
|
||||||
|
|
||||||
|
@ -18,48 +18,41 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: un-fonts
|
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 date 080608
|
||||||
%define ver 1.0.2
|
%define ver 1.0.2
|
||||||
Version: 1.0.20%{date}
|
Version: 1.0.20%{date}
|
||||||
Release: 0
|
Release: 0
|
||||||
|
License: GPL-2.0+
|
||||||
|
Summary: Korean TrueType fonts
|
||||||
Url: http://kldp.net/projects/unfonts/download
|
Url: http://kldp.net/projects/unfonts/download
|
||||||
|
Group: System/X11/Fonts
|
||||||
Source0: %{name}-core-%{ver}-%{date}.tar.bz2
|
Source0: %{name}-core-%{ver}-%{date}.tar.bz2
|
||||||
Source1: %{name}-extra-%{ver}-%{date}.tar.bz2
|
Source1: %{name}-extra-%{ver}-%{date}.tar.bz2
|
||||||
Source10: update-archive
|
Source10: update-archive
|
||||||
BuildArch: noarch
|
Requires(pre): %suseconfig_fonts_prereq
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
%define ttf_fontdir /usr/share/fonts/truetype
|
||||||
Summary: Korean TrueType fonts
|
Provides: scalable-font-ko
|
||||||
License: GPL-2.0+
|
Provides: locale(ko)
|
||||||
Group: System/X11/Fonts
|
|
||||||
# FIXME: This causes a rpmlint warning; change <= to < once here's a new upstream version
|
# FIXME: This causes a rpmlint warning; change <= to < once here's a new upstream version
|
||||||
Obsoletes: unfonts <= %{version}
|
Obsoletes: unfonts <= %{version}
|
||||||
Provides: unfonts == %{version}
|
Provides: unfonts = %{version}
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Collection of Korean TrueType fonts.
|
Collection of Korean TrueType fonts.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
KoaungHi Un
|
|
||||||
Won-Kyu Park <wkpark@chem.skku.ac.kr>
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name} -b 1
|
%setup -q -n %{name} -b 1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
mkdir -p $RPM_BUILD_ROOT%{ttf_fontdir}/
|
mkdir -p %{buildroot}%{ttf_fontdir}/
|
||||||
install -c -m 644 *.ttf $RPM_BUILD_ROOT%{ttf_fontdir}/
|
install -c -m 644 *.ttf %{buildroot}%{ttf_fontdir}/
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%run_suseconfig_fonts -c
|
%run_suseconfig_fonts -c
|
||||||
|
Loading…
x
Reference in New Issue
Block a user