1
0

new font packaging scheme

OBS-URL: https://build.opensuse.org/package/show/M17N:fonts/cyreal-alice-fonts?expand=0&rev=2
This commit is contained in:
Kyrill Detinov 2012-09-25 06:35:46 +00:00 committed by Git OBS Bridge
parent 5ce0c8fe7b
commit 8fc11c1c11
2 changed files with 11 additions and 12 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Sep 25 06:25:49 UTC 2012 - lazy.kent@opensuse.org
- New font packaging scheme.
-------------------------------------------------------------------
Fri Jul 20 18:57:30 UTC 2012 - lazy.kent@opensuse.org

View File

@ -16,8 +16,6 @@
#
%define _ttf_fontdir %{_datadir}/fonts/truetype
Name: cyreal-alice-fonts
Version: 1.010
Release: 0
@ -27,11 +25,11 @@ Url: http://cyreal.org/archives/842
Group: System/X11/Fonts
#Source0: wget http://www.google.com/webfonts/download?kit=nVDICQAe6IAM-XidgBCu9Q -O cyreal-alice-fonts.zip
Source0: cyreal-alice-fonts.zip
BuildRequires: fontpackages-devel
BuildRequires: unzip
BuildRequires: xorg-x11-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
Requires(pre): %suseconfig_fonts_prereq
%reconfigure_fonts_prereq
%description
Ksenia Erulevich, designer of the Alice typeface, was inspired by Lewis
@ -50,18 +48,14 @@ sed -i 's/\r$//g' OFL.txt
%install
install -Dm 644 Alice-Regular.ttf \
%{buildroot}%{_ttf_fontdir}/Alice-Regular.ttf
%{buildroot}%{_ttfontsdir}/Alice-Regular.ttf
%post
%run_suseconfig_fonts
%postun
%run_suseconfig_fonts
%reconfigure_fonts_scriptlets
%files
%defattr(-,root,root,-)
%doc OFL.txt
%dir %{_ttf_fontdir}
%{_ttf_fontdir}/Alice-Regular.ttf
%dir %{_ttfontsdir}
%{_ttfontsdir}/Alice-Regular.ttf
%changelog