1
0

new font packaging scheme

OBS-URL: https://build.opensuse.org/package/show/M17N:fonts/cyreal-lora-fonts?expand=0&rev=2
This commit is contained in:
Kyrill Detinov
2012-09-25 07:05:14 +00:00
committed by Git OBS Bridge
parent 21cdf1cd4b
commit 7a2d23e87f
2 changed files with 12 additions and 13 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Sep 25 06:42:53 UTC 2012 - lazy.kent@opensuse.org
- New font packaging scheme.
-------------------------------------------------------------------
Fri Jul 20 19:39:37 UTC 2012 - lazy.kent@opensuse.org

View File

@@ -16,8 +16,6 @@
#
%define _ttf_fontdir %{_datadir}/fonts/truetype
Name: cyreal-lora-fonts
Version: 1.000
Release: 0
@@ -27,11 +25,11 @@ Url: http://cyreal.org/archives/803
Group: System/X11/Fonts
#Source0: wget http://www.google.com/webfonts/download?kit=iwrHM7FQEcKgsUvDuXxrPg -O cyreal-lora-fonts.zip
Source0: cyreal-lora-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
Lora is a well-balanced contemporary serif with roots in calligraphy. It
@@ -51,19 +49,15 @@ sed -i 's/\r$//g' OFL.txt
%build
%install
install -dm 0755 %{buildroot}%{_ttf_fontdir}
install -m 0644 *.ttf %{buildroot}%{_ttf_fontdir}
install -dm 0755 %{buildroot}%{_ttfontsdir}
install -m 0644 *.ttf %{buildroot}%{_ttfontsdir}/
%post
%run_suseconfig_fonts
%postun
%run_suseconfig_fonts
%reconfigure_fonts_scriptlets
%files
%defattr(-,root,root,-)
%doc OFL.txt
%dir %{_ttf_fontdir}
%{_ttf_fontdir}/*.ttf
%dir %{_ttfontsdir}
%{_ttfontsdir}/*.ttf
%changelog