]> git.pld-linux.org Git - packages/gtkmm.git/commitdiff
- Examples bcond
authoradgor <adgor@pld-linux.org>
Thu, 23 Feb 2006 21:50:21 +0000 (21:50 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    gtkmm.spec -> 1.99

gtkmm.spec

index 48a1cbf628b3c184664f13930cf16546e1a9fe74..2952d3304317c2bb6da7d821d4d0a3c835b07532 100644 (file)
@@ -1,5 +1,6 @@
 #
 # Conditional build:
+%bcond_without examples        # don't build examples
 %bcond_without static_libs     # don't build static libraries
 #
 %include       /usr/lib/rpm/macros.perl
@@ -172,6 +173,7 @@ Interfejs C++ dla biblioteki pango - wersja statyczna.
 %{__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}
@@ -216,7 +218,7 @@ rm -rf $RPM_BUILD_ROOT
 %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}
This page took 0.06179 seconds and 4 git commands to generate.