diff --git a/dejavu-fonts.changes b/dejavu-fonts.changes index a8fc1e8..8856dd0 100644 --- a/dejavu-fonts.changes +++ b/dejavu-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); + ------------------------------------------------------------------- Thu May 17 09:09:55 UTC 2012 - pgajdos@suse.com diff --git a/dejavu-fonts.spec b/dejavu-fonts.spec index 88179d3..d92d385 100644 --- a/dejavu-fonts.spec +++ b/dejavu-fonts.spec @@ -16,20 +16,19 @@ # - Name: dejavu-fonts Version: 2.33 -Release: 1 -License: SUSE-Permissive +Release: 0 Summary: DejaVu Truetype Fonts -Url: http://dejavu.sourceforge.net/ +License: SUSE-Permissive Group: System/X11/Fonts -# download http://mesh.dl.sourceforge.net/sourceforge/dejavu/dejavu-fonts-ttf-%{version}.tar.bz2 +Url: http://dejavu.sourceforge.net/ +# download http://mesh.dl.sourceforge.net/sourceforge/dejavu/dejavu-fonts-ttf-{version}.tar.bz2 Source: dejavu-fonts-ttf-%{version}.tar.bz2 -Requires(pre): %suseconfig_fonts_prereq +BuildRequires: fontpackages-devel +%reconfigure_fonts_prereq Provides: desktop-data-SuSE:/usr/X11R6/lib/X11/fonts/truetype/SUSESans-Roman.ttf Provides: locale(bg;el;mk;ru;vi) -%define ttf_fontdir /usr/share/fonts/truetype # FIXME: This causes a rpmlint warning; change <= to < once there's a new upstream version Obsoletes: dejavu <= 2.33 Provides: dejavu = %{version} @@ -48,18 +47,14 @@ development. %build %install -mkdir -p %{buildroot}%{ttf_fontdir}/ -install -m 0644 ttf/*.ttf %{buildroot}%{ttf_fontdir}/ +mkdir -p %{buildroot}%{_ttfontsdir}/ +install -m 0644 ttf/*.ttf %{buildroot}%{_ttfontsdir}/ -%post -%run_suseconfig_fonts - -%postun -%run_suseconfig_fonts +%reconfigure_fonts_scriptlets %files %defattr(-,root,root,755) %doc AUTHORS BUGS LICENSE NEWS README *.txt fontconfig -%{ttf_fontdir}/ +%{_ttfontsdir}/ %changelog