rpms/taipeifonts/devel taipeifonts.spec,1.1,1.2

Caius Chance (cchance) fedora-extras-commits at redhat.com
Wed Nov 28 01:07:32 UTC 2007


Author: cchance

Update of /cvs/pkgs/rpms/taipeifonts/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv4173

Modified Files:
	taipeifonts.spec 
Log Message:
* Thu Nov 15 2007 Philippe Troin <phil at fifi.org> - 1.2-5.fc9
- Resolves: rhbz#386131 (Fonts not added to the font path catalogue.)
  <<<<< Put the fonts in the font catalogue.




Index: taipeifonts.spec
===================================================================
RCS file: /cvs/pkgs/rpms/taipeifonts/devel/taipeifonts.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- taipeifonts.spec	1 Oct 2007 05:15:32 -0000	1.1
+++ taipeifonts.spec	28 Nov 2007 01:07:00 -0000	1.2
@@ -1,8 +1,9 @@
 %define bmpfontdir    %{_datadir}/fonts/%{name}
+%define catalogue     /etc/X11/fontpath.d
 
 Name:       taipeifonts
 Version:    1.2
-Release:    4%{?dist}
+Release:    5%{?dist}
 Summary:    Chinese Bitmap Fonts
 
 Group:      User Interface/X
@@ -41,6 +42,10 @@
 
 mkfontdir $RPM_BUILD_ROOT%{bmpfontdir}
 
+# catalogue
+install -d $RPM_BUILD_ROOT%{catalogue}
+ln -s %{bmpfontdir} $RPM_BUILD_ROOT%{catalogue}/%{name}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -63,8 +68,14 @@
 %{bmpfontdir}/*.gz
 %{bmpfontdir}/fonts.alias
 %verify(not md5 size mtime) %{bmpfontdir}/fonts.dir
+%dir %{catalogue}
+%{catalogue}/%{name}
 
 %changelog
+* Thu Nov 15 2007 Philippe Troin <phil at fifi.org> - 1.2-5.fc9
+- Resolves: rhbz#386131 (Fonts not added to the font path catalogue.)
+  <<<<< Put the fonts in the font catalogue.
+
 * Thu Sep 28 2007 Caius Chance <cchance at redhat.com> - 1.2-4
 - Resolves: rhbz#253812 (Package Review: taipeifonts.)
   <<<<< Updated URL and Source tags.




More information about the fedora-extras-commits mailing list