rpms/liberation-fonts/F-7 liberation-fonts.spec,1.6,1.7
Caius Chance (cchance)
fedora-extras-commits at redhat.com
Tue Oct 2 01:32:48 UTC 2007
- Previous message (by thread): rpms/readahead/devel .cvsignore, 1.4, 1.5 readahead.spec, 1.38, 1.39 sources, 1.6, 1.7 readahead-1.4.1-quiet.patch, 1.1, NONE
- Next message (by thread): rpms/liberation-fonts/F-7 liberation-fonts.spec,1.7,1.8
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: cchance
Update of /cvs/pkgs/rpms/liberation-fonts/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv24240
Modified Files:
liberation-fonts.spec
Log Message:
* Tue Oct 02 2007 Caius Chance <cchance at redhat.com> 0.2-2.fc7
- Resolves: rhbz#250753 (need fonts.dir file.)
<<< added font.dir generation script in spec file.
Index: liberation-fonts.spec
===================================================================
RCS file: /cvs/pkgs/rpms/liberation-fonts/F-7/liberation-fonts.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- liberation-fonts.spec 12 Sep 2007 00:15:51 -0000 1.6
+++ liberation-fonts.spec 2 Oct 2007 01:32:14 -0000 1.7
@@ -2,6 +2,8 @@
%define srcver 0.2
%define srcdir %{srcname}-%{srcver}
+%define fontdir %{_datadir}/fonts/liberation
+
Summary: Fonts to replace commonly used Microsoft Windows Fonts
Name: liberation-fonts
Version: 0.2
@@ -34,12 +36,14 @@
%install
rm -rf %{buildroot}
# fonts
-install -m 0755 -d %{buildroot}%{_datadir}/fonts/liberation
-install -m 0644 %{srcdir}/*.ttf %{buildroot}%{_datadir}/fonts/liberation
+install -m 0755 -d %{buildroot}%{fontdir}
+install -m 0644 %{srcdir}/*.ttf %{buildroot}%{fontdir}
# configuration
install -m 0755 -d %{buildroot}%{_sysconfdir}/fonts/conf.d
install -m 0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/fonts/conf.d
-
+# generate fonts.dir and fonts.scale
+mkfontdir %{buildroot}%{fontdir}
+mkfontscale %{buildroot}%{fontdir}
%post
if [ -x /usr/bin/fc-cache ]; then
@@ -60,9 +64,15 @@
%doc %{srcdir}/License.txt %{srcdir}/COPYING
%{_datadir}/fonts/liberation
%config(noreplace) %{_sysconfdir}/fonts/conf.d/59-liberation-fonts.conf
+%verify(not md5 size mtime) %{fontdir}/fonts.dir
+%verify(not md5 size mtime) %{fontdir}/fonts.scale
%changelog
+* Tue Oct 02 2007 Caius Chance <cchance at redhat.com> 0.2-2.fc7
+- Resolves: rhbz#250753 (need fonts.dir file.)
+ <<< added font.dir generation script in spec file.
+
* Tue Aug 21 2007 Caius Chance <cchance at redhat.com> 0.2-1.fc7
- Resolves: rhbz#250753 Incorrect lincense file.
- Synchonized source tarball version with upstream (0.2).
- Previous message (by thread): rpms/readahead/devel .cvsignore, 1.4, 1.5 readahead.spec, 1.38, 1.39 sources, 1.6, 1.7 readahead-1.4.1-quiet.patch, 1.1, NONE
- Next message (by thread): rpms/liberation-fonts/F-7 liberation-fonts.spec,1.7,1.8
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list