Author: charles                      Date: Tue May 30 15:58:41 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added -cmap-parsing.patch from FC (speed up cache generation)
- added static_libs bcond, rel. 2

---- Files affected:
SPECS:
   fontconfig.spec (1.67 -> 1.68) 

---- Diffs:

================================================================
Index: SPECS/fontconfig.spec
diff -u SPECS/fontconfig.spec:1.67 SPECS/fontconfig.spec:1.68
--- SPECS/fontconfig.spec:1.67  Fri May 19 00:36:06 2006
+++ SPECS/fontconfig.spec       Tue May 30 17:58:36 2006
@@ -2,13 +2,14 @@
 #
 # Conditional build
 %bcond_with    bytecode        # use bytecode hinting instead of autohinting 
by default
+%bcond_without static_libs     # don't build static library
 #
 Summary:       Font configuration and customization tools
 Summary(pl):   Narzędzia do konfigurowania fontów
 Summary(pt_BR):        Ferramentas para configuraçăo e customizaçăo do acesso 
a fontes
 Name:          fontconfig
 Version:       2.3.95
-Release:       1
+Release:       2
 Epoch:         1
 License:       MIT
 Group:         Libraries
@@ -16,6 +17,7 @@
 # Source0-md5: 6860be35882f6d34636d52345efd5944
 Patch0:                %{name}-blacklist.patch
 Patch1:                %{name}-autohint.patch
+Patch2:                %{name}-cmap-parsing.patch
 URL:           http://fontconfig.org/
 BuildRequires: autoconf
 BuildRequires: automake
@@ -126,6 +128,7 @@
 %if %{with bytecode}
 %patch1 -p1
 %endif
+%patch2 -p1
 
 %build
 %{__libtoolize}
@@ -134,7 +137,8 @@
 %{__autoheader}
 %{__automake}
 %configure \
-       --disable-docs
+       --disable-docs \
+       %{!?with_static_libs:--disable-static}
 %{__make}
 
 %install
@@ -185,9 +189,11 @@
 %{_pkgconfigdir}/fontconfig.pc
 %{_mandir}/man3/*.3*
 
+%if %{with static_libs}
 %files static
 %defattr(644,root,root,755)
 %{_libdir}/lib*.a
+%endif
 
 %define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -195,6 +201,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.68  2006/05/30 15:58:36  charles
+- added -cmap-parsing.patch from FC (speed up cache generation)
+- added static_libs bcond, rel. 2
+
 Revision 1.67  2006/05/18 22:36:06  glen
 - ignore error from fc-cache in %post
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/fontconfig.spec?r1=1.67&r2=1.68&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to