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 05f94ef..311e25b 100644 --- a/liberation-fonts.changes +++ b/liberation-fonts.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +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 + +- 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..160ef18 100644 --- a/liberation-fonts.spec +++ b/liberation-fonts.spec @@ -16,18 +16,19 @@ # - Name: liberation-fonts -Version: 1.06.0.20100721 +Version: 2.00.0 Release: 0 -License: SUSE-Liberation Summary: Liberation Fonts -Url: https://fedorahosted.org/liberation-fonts/ +License: OFL-1.1 Group: System/X11/Fonts -Source: %{name}-ttf-%{version}.tar.bz2 -Source1: %{name}-rpmlintrc -%define ttf_fontdir /usr/share/fonts/truetype -Requires(pre): %suseconfig_fonts_prereq +Url: https://fedorahosted.org/liberation-fonts/ +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 @@ -37,26 +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}%{ttf_fontdir} -install -m 0644 *.ttf %{buildroot}%{ttf_fontdir}/ +mkdir -p %{buildroot}%{_ttfontsdir} +install -pm 0644 %{name}-ttf-%{version}/*.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} +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog LICENSE README TODO +%{_ttfontsdir} %changelog