12
0

- amend spec file to reflect new font packaging scheme

(see openFATE#313536);

OBS-URL: https://build.opensuse.org/package/show/M17N:fonts/liberation-fonts?expand=0&rev=10
This commit is contained in:
2012-07-10 12:49:53 +00:00
committed by Git OBS Bridge
parent 61d7c594d0
commit 1f4e3b8d88
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);
-------------------------------------------------------------------
Fri May 25 10:36:33 UTC 2012 - cfarrell@suse.com

View File

@@ -16,18 +16,17 @@
#
Name: liberation-fonts
Version: 1.06.0.20100721
Release: 0
License: SUSE-Liberation
Summary: Liberation Fonts
Url: https://fedorahosted.org/liberation-fonts/
License: SUSE-Liberation
Group: System/X11/Fonts
Url: https://fedorahosted.org/liberation-fonts/
Source: %{name}-ttf-%{version}.tar.bz2
Source1: %{name}-rpmlintrc
%define ttf_fontdir /usr/share/fonts/truetype
Requires(pre): %suseconfig_fonts_prereq
BuildRequires: fontpackages-devel
%reconfigure_fonts_prereq
Provides: locale(bg;el;ru;bg)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
@@ -42,21 +41,14 @@ and "Courier New".
%build
%install
mkdir -p %{buildroot}%{ttf_fontdir}
install -m 0644 *.ttf %{buildroot}%{ttf_fontdir}/
mkdir -p %{buildroot}%{_ttfontsdir}
install -m 0644 *.ttf %{buildroot}%{_ttfontsdir}/
%post
%run_suseconfig_fonts
%postun
%run_suseconfig_fonts
%clean
rm -rf %{buildroot}
%reconfigure_fonts_scriptlets
%files
%defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog License.txt README
%{ttf_fontdir}
%{_ttfontsdir}
%changelog