Author: sparky Date: Wed Jan 18 14:02:37 2006 GMT Module: SPECS Tag: HEAD ---- Log message: - without doc bcond
---- Files affected: SPECS: wvstreams.spec (1.23 -> 1.24) ---- Diffs: ================================================================ Index: SPECS/wvstreams.spec diff -u SPECS/wvstreams.spec:1.23 SPECS/wvstreams.spec:1.24 --- SPECS/wvstreams.spec:1.23 Sun Sep 18 16:10:32 2005 +++ SPECS/wvstreams.spec Wed Jan 18 15:02:31 2006 @@ -1,4 +1,8 @@ # $Revision$, $Date$ +# +# Conditional build: +%bcond_without doc # don't build documentation +# Summary: A network programming library written in C++ Summary(pl): Biblioteka programowania sieciowego napisana w C++ Name: wvstreams @@ -12,7 +16,7 @@ URL: http://open.nit.ca/wvstreams/ BuildRequires: autoconf BuildRequires: automake -BuildRequires: doxygen +%{?with_doc:BuildRequires: doxygen} BuildRequires: libstdc++-devel BuildRequires: openssl-devel >= 0.9.7d Obsoletes: libwvstreams @@ -76,8 +80,10 @@ DEBUG=%{?debug:1}%{!?debug:0} \ CXX="%{__cxx}" \ CFLAGS="%{rpmcflags} -fPIC -DDEBUG=0 \$(OSDEFINE)" - + +%if %{with doc} %{__make} doxygen +%endif %install rm -rf $RPM_BUILD_ROOT @@ -98,7 +104,9 @@ %files devel %defattr(644,root,root,755) +%if %{with doc} %doc Docs/doxy-html/* +%endif %attr(755,root,root) %{_libdir}/lib*.so %{_includedir}/wvstreams @@ -112,6 +120,9 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.24 2006/01/18 14:02:31 sparky +- without doc bcond + Revision 1.23 2005/09/18 14:10:32 areq - add --without-vorbis ================================================================ ---- CVS-web: http://cvs.pld-linux.org/SPECS/wvstreams.spec?r1=1.23&r2=1.24&f=u _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
