SPECS: cairo.spec - fixes from DEVEL

glen glen at pld-linux.org
Mon Mar 31 21:45:35 CEST 2008


Author: glen                         Date: Mon Mar 31 19:45:35 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- fixes from DEVEL

---- Files affected:
SPECS:
   cairo.spec (1.76 -> 1.77) 

---- Diffs:

================================================================
Index: SPECS/cairo.spec
diff -u SPECS/cairo.spec:1.76 SPECS/cairo.spec:1.77
--- SPECS/cairo.spec:1.76	Thu Feb 14 13:05:37 2008
+++ SPECS/cairo.spec	Mon Mar 31 21:45:30 2008
@@ -142,6 +142,8 @@
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
+%{!?with_apidocs:rm -rf $RPM_BUILD_ROOT%{_gtkdocdir}/cairo}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -166,7 +168,7 @@
 %{_pkgconfigdir}/cairo-png.pc
 %{_pkgconfigdir}/cairo-ps.pc
 %{_pkgconfigdir}/cairo-svg.pc
-%{_pkgconfigdir}/cairo-xcb.pc
+%{?with_xcb:%{_pkgconfigdir}/cairo-xcb.pc}
 %{_pkgconfigdir}/cairo-xlib.pc
 %{_pkgconfigdir}/cairo-xlib-xrender.pc
 
@@ -174,9 +176,11 @@
 %defattr(644,root,root,755)
 %{_libdir}/libcairo.a
 
+%if %{with apidocs}
 %files apidocs
 %defattr(644,root,root,755)
 %{_gtkdocdir}/cairo
+%endif
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -184,6 +188,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.77  2008-03-31 19:45:30  glen
+- fixes from DEVEL
+
 Revision 1.76  2008-02-14 12:05:37  glen
 - adapter
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/cairo.spec?r1=1.76&r2=1.77&f=u



More information about the pld-cvs-commit mailing list