From 1f4e3b8d885bae84f75473878e405c3db6d47928a19103110fa070de3330811f Mon Sep 17 00:00:00 2001 From: Petr Gajdos Date: Tue, 10 Jul 2012 12:49:53 +0000 Subject: [PATCH 1/2] - 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 --- liberation-fonts.changes | 6 ++++++ liberation-fonts.spec | 24 ++++++++---------------- 2 files changed, 14 insertions(+), 16 deletions(-) diff --git a/liberation-fonts.changes b/liberation-fonts.changes index 05f94ef..c93e2f8 100644 --- a/liberation-fonts.changes +++ b/liberation-fonts.changes @@ -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 diff --git a/liberation-fonts.spec b/liberation-fonts.spec index 11fa2f1..999ccc4 100644 --- a/liberation-fonts.spec +++ b/liberation-fonts.spec @@ -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 From 897ce7b06124a5968efe0496472969b5a2f8d7593790b7e0935f4cef42e60247 Mon Sep 17 00:00:00 2001 From: Marguerite Su Date: Fri, 3 Aug 2012 06:19:05 +0000 Subject: [PATCH 2/2] Accepting request 129723 from home:adra:branches:M17N:fonts Update to version 2.00.0, Changed license to OFL-1.1, Build the fonts from sources, Add a Provides: entry for scalable-font-el OBS-URL: https://build.opensuse.org/request/show/129723 OBS-URL: https://build.opensuse.org/package/show/M17N:fonts/liberation-fonts?expand=0&rev=11 --- liberation-fonts-2.00.0.tar.gz | 3 +++ liberation-fonts-ttf-1.06.0.20100721.tar.bz2 | 3 --- liberation-fonts.changes | 8 ++++++++ liberation-fonts.spec | 19 +++++++++++-------- 4 files changed, 22 insertions(+), 11 deletions(-) create mode 100644 liberation-fonts-2.00.0.tar.gz delete mode 100644 liberation-fonts-ttf-1.06.0.20100721.tar.bz2 diff --git a/liberation-fonts-2.00.0.tar.gz b/liberation-fonts-2.00.0.tar.gz new file mode 100644 index 0000000..0bc955f --- /dev/null +++ b/liberation-fonts-2.00.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a4c5ca86da2319d66f657257c7b5b7cd56162e3bfc5396c873fb21e3f7eaf075 +size 4835476 diff --git a/liberation-fonts-ttf-1.06.0.20100721.tar.bz2 b/liberation-fonts-ttf-1.06.0.20100721.tar.bz2 deleted file mode 100644 index 8e73cf4..0000000 --- a/liberation-fonts-ttf-1.06.0.20100721.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4f091152dc61bd20ec4ebdbc3d45e568ea3f1eb78b009cf253f11a81aff81139 -size 1117287 diff --git a/liberation-fonts.changes b/liberation-fonts.changes index c93e2f8..311e25b 100644 --- a/liberation-fonts.changes +++ b/liberation-fonts.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Thu Aug 2 16:39:22 UTC 2012 - asterios.dramis@gmail.com + +- Update to version 2.00.0. +- The package license changed to OFL-1.1. +- Build the fonts from sources. Added fontforge build requirement for this. +- Add a Provides: entry for "scalable-font-el". + ------------------------------------------------------------------- Wed Jul 4 12:39:06 CEST 2012 - pgajdos@suse.cz diff --git a/liberation-fonts.spec b/liberation-fonts.spec index 999ccc4..160ef18 100644 --- a/liberation-fonts.spec +++ b/liberation-fonts.spec @@ -17,16 +17,18 @@ Name: liberation-fonts -Version: 1.06.0.20100721 +Version: 2.00.0 Release: 0 Summary: Liberation Fonts -License: SUSE-Liberation +License: OFL-1.1 Group: System/X11/Fonts Url: https://fedorahosted.org/liberation-fonts/ -Source: %{name}-ttf-%{version}.tar.bz2 -Source1: %{name}-rpmlintrc +Source0: https://fedorahosted.org/releases/l/i/liberation-fonts/%{name}-%{version}.tar.gz +Source100: %{name}-rpmlintrc +BuildRequires: fontforge BuildRequires: fontpackages-devel %reconfigure_fonts_prereq +Provides: scalable-font-el Provides: locale(bg;el;ru;bg) BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch @@ -36,19 +38,20 @@ Free fonts which are metric compatible to "Arial", "Times New Roman" and "Courier New". %prep -%setup -q -n %{name}-ttf-%{version} +%setup -q %build +make %install mkdir -p %{buildroot}%{_ttfontsdir} -install -m 0644 *.ttf %{buildroot}%{_ttfontsdir}/ +install -pm 0644 %{name}-ttf-%{version}/*.ttf %{buildroot}%{_ttfontsdir}/ %reconfigure_fonts_scriptlets %files -%defattr(-,root,root) -%doc AUTHORS COPYING ChangeLog License.txt README +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog LICENSE README TODO %{_ttfontsdir} %changelog