SPECS: fonts-TTF-RedHat-liberation.spec - 1.0 - include fontconfig substitu...
patrys
patrys at pld-linux.org
Wed May 14 18:13:39 CEST 2008
Author: patrys Date: Wed May 14 16:13:39 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- 1.0
- include fontconfig substitution
---- Files affected:
SPECS:
fonts-TTF-RedHat-liberation.spec (1.6 -> 1.7)
---- Diffs:
================================================================
Index: SPECS/fonts-TTF-RedHat-liberation.spec
diff -u SPECS/fonts-TTF-RedHat-liberation.spec:1.6 SPECS/fonts-TTF-RedHat-liberation.spec:1.7
--- SPECS/fonts-TTF-RedHat-liberation.spec:1.6 Sun Jun 3 19:17:26 2007
+++ SPECS/fonts-TTF-RedHat-liberation.spec Wed May 14 18:13:34 2008
@@ -3,12 +3,13 @@
Summary: Fonts to replace commonly used Microsoft Windows Fonts
Summary(pl.UTF-8): Fonty zastępujące popularne fonty z Microsoft Windows
Name: fonts-TTF-RedHat-liberation
-Version: 0.2
+Version: 1.0
Release: 1
License: GPL v2 + exceptions
Group: Fonts
-Source0: https://www.redhat.com/f/fonts/%{_name}-ttf-3.tar.gz
-# Source0-md5: 77728078a17e39f7c242b42c3bf6feb8
+Source0: %{_name}-%{version}-1.zip
+# Source0-md5: 6322c47a17c0ab83dbc6d8d23620db8c
+Source1: %{name}.fontconfig
URL: https://www.redhat.com/promo/fonts/
Requires(post,postun): fontpostinst
Requires: %{_fontsdir}/TTF
@@ -39,12 +40,14 @@
Bitstream Vera Sans Mono).
%prep
-%setup -q -n %{_name}-%{version}
+%setup -q -c
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_ttffontsdir}
cp -a *.ttf $RPM_BUILD_ROOT%{_ttffontsdir}
+install -d $RPM_BUILD_ROOT%{_sysconfdir}/fonts/conf.avail
+install %SOURCE1 $RPM_BUILD_ROOT%{_sysconfdir}/fonts/conf.avail/60-liberation.conf
%clean
rm -rf $RPM_BUILD_ROOT
@@ -58,6 +61,7 @@
%files
%defattr(644,root,root,755)
%{_ttffontsdir}/*
+%{_sysconfdir}/fonts/conf.avail/60-liberation.conf
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -65,6 +69,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.7 2008-05-14 16:13:34 patrys
+- 1.0
+- include fontconfig substitution
+
Revision 1.6 2007-06-03 17:17:26 arekm
- up to 0.2
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/fonts-TTF-RedHat-liberation.spec?r1=1.6&r2=1.7&f=u
More information about the pld-cvs-commit
mailing list