- amend spec file to reflect new font packaging scheme
(see openFATE#313536); OBS-URL: https://build.opensuse.org/package/show/M17N:fonts/dejavu-fonts?expand=0&rev=12
This commit is contained in:
parent
0bf2a6f164
commit
5d4e3221c0
@ -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
|
Thu May 17 09:09:55 UTC 2012 - pgajdos@suse.com
|
||||||
|
|
||||||
|
@ -16,20 +16,19 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Name: dejavu-fonts
|
Name: dejavu-fonts
|
||||||
Version: 2.33
|
Version: 2.33
|
||||||
Release: 1
|
Release: 0
|
||||||
License: SUSE-Permissive
|
|
||||||
Summary: DejaVu Truetype Fonts
|
Summary: DejaVu Truetype Fonts
|
||||||
Url: http://dejavu.sourceforge.net/
|
License: SUSE-Permissive
|
||||||
Group: System/X11/Fonts
|
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
|
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: desktop-data-SuSE:/usr/X11R6/lib/X11/fonts/truetype/SUSESans-Roman.ttf
|
||||||
Provides: locale(bg;el;mk;ru;vi)
|
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
|
# FIXME: This causes a rpmlint warning; change <= to < once there's a new upstream version
|
||||||
Obsoletes: dejavu <= 2.33
|
Obsoletes: dejavu <= 2.33
|
||||||
Provides: dejavu = %{version}
|
Provides: dejavu = %{version}
|
||||||
@ -48,18 +47,14 @@ development.
|
|||||||
%build
|
%build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
mkdir -p %{buildroot}%{ttf_fontdir}/
|
mkdir -p %{buildroot}%{_ttfontsdir}/
|
||||||
install -m 0644 ttf/*.ttf %{buildroot}%{ttf_fontdir}/
|
install -m 0644 ttf/*.ttf %{buildroot}%{_ttfontsdir}/
|
||||||
|
|
||||||
%post
|
%reconfigure_fonts_scriptlets
|
||||||
%run_suseconfig_fonts
|
|
||||||
|
|
||||||
%postun
|
|
||||||
%run_suseconfig_fonts
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,755)
|
%defattr(-,root,root,755)
|
||||||
%doc AUTHORS BUGS LICENSE NEWS README *.txt fontconfig
|
%doc AUTHORS BUGS LICENSE NEWS README *.txt fontconfig
|
||||||
%{ttf_fontdir}/
|
%{_ttfontsdir}/
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user