SPECS: gtkmm.spec - Examples bcond
adgor
adgor at pld-linux.org
Thu Feb 23 22:50:26 CET 2006
Author: adgor Date: Thu Feb 23 21:50:26 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- Examples bcond
---- Files affected:
SPECS:
gtkmm.spec (1.98 -> 1.99)
---- Diffs:
================================================================
Index: SPECS/gtkmm.spec
diff -u SPECS/gtkmm.spec:1.98 SPECS/gtkmm.spec:1.99
--- SPECS/gtkmm.spec:1.98 Thu Feb 2 08:23:02 2006
+++ SPECS/gtkmm.spec Thu Feb 23 22:50:21 2006
@@ -1,6 +1,7 @@
# $Revision$, $Date$
#
# Conditional build:
+%bcond_without examples # don't build examples
%bcond_without static_libs # don't build static libraries
#
%include /usr/lib/rpm/macros.perl
@@ -173,6 +174,7 @@
%{__automake}
# exceptions and rtti are used in this package --misiek
%configure \
+ %{!?with_examples:--disable-examples} \
--enable-static=yes \
--enable-demos=no \
%{!?with_static_libs:--disable-static}
@@ -217,7 +219,7 @@
%files doc
%defattr(644,root,root,755)
%doc %{_docdir}/gtkmm-2.4
-%{_examplesdir}/%{name}-%{version}
+%{?with_examples:%{_examplesdir}/%{name}-%{version}}
%doc %{_datadir}/devhelp/books/gtkmm-2.4
%if %{with static_libs}
@@ -266,6 +268,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.99 2006/02/23 21:50:21 adgor
+- Examples bcond
+
Revision 1.98 2006/02/02 07:23:02 freetz
- 2.8.3
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/gtkmm.spec?r1=1.98&r2=1.99&f=u
More information about the pld-cvs-commit
mailing list