Author: glen                         Date: Tue Aug 24 20:10:23 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- apidocs off for ac

---- Files affected:
packages/libtheora:
   libtheora.spec (1.27 -> 1.28) 

---- Diffs:

================================================================
Index: packages/libtheora/libtheora.spec
diff -u packages/libtheora/libtheora.spec:1.27 
packages/libtheora/libtheora.spec:1.28
--- packages/libtheora/libtheora.spec:1.27      Sun Oct  4 16:31:42 2009
+++ packages/libtheora/libtheora.spec   Tue Aug 24 22:10:18 2010
@@ -1,4 +1,12 @@
 # $Revision$, $Date$
+#
+# Conditional build:
+%if "%{pld_release}" == "ac"
+%bcond_with            apidocs         # do not build and package API docs
+%else
+%bcond_without apidocs         # do not build and package API docs
+%endif
+
 Summary:       Theora - video codec intended for use within Ogg multimedia 
streaming system
 Summary(pl.UTF-8):     Theora - kodek obrazu do używania w systemie strumieni 
multimedialnych Ogg
 Name:          libtheora
@@ -12,15 +20,18 @@
 BuildRequires: SDL-devel
 BuildRequires: autoconf >= 2.50
 BuildRequires: automake
-BuildRequires: doxygen
 BuildRequires: libogg-devel >= 2:1.1
 BuildRequires: libtool
 BuildRequires: libvorbis-devel >= 1:1.0.1
 BuildRequires: pkgconfig
+BuildRequires: rpm >= 4.4.9-56
+%if %{with apidocs}
+BuildRequires: doxygen
 BuildRequires: tetex-format-pdflatex
 BuildRequires: tetex-latex-bibtex
 BuildRequires: tetex-latex-ltablex
 BuildRequires: transfig
+%endif
 Requires:      libogg >= 2:1.1
 Requires:      libvorbis >= 1:1.0.1
 Provides:      libtheora-mmx
@@ -81,7 +92,9 @@
 %configure
 
 %{__make}
+%if %{with apidocs}
 %{__make} -C doc/spec
+%endif
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -132,6 +145,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.28  2010/08/24 20:10:18  glen
+- apidocs off for ac
+
 Revision 1.27  2009/10/04 14:31:42  wiget
 - updated to 1.1.1
 
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/libtheora/libtheora.spec?r1=1.27&r2=1.28&f=u

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

Reply via email to