]> git.pld-linux.org Git - packages/ddccontrol.git/commitdiff
- BR: gettext-devel, intltool
authorKarol Krenski <charles@pld-linux.org>
Tue, 16 May 2006 18:37:27 +0000 (18:37 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- without static_libs bcond

Changed files:
    ddccontrol.spec -> 1.11

ddccontrol.spec

index ad708cb2643cc950ca962cdb0cf787e1ef8b6f4d..a4c782fb3b2922ebb4f3c55bf069125920e7455f 100644 (file)
@@ -1,7 +1,8 @@
 #
 # Conditional build:
-%bcond_without gnome   # don't build gnome applet
-%bcond_without gtk     # don't build GTK+ GUI
+%bcond_without gnome           # don't build gnome applet
+%bcond_without gtk             # don't build GTK+ GUI
+%bcond_without static_libs     # don't build static library
 #
 %define dbversion 20060308
 %define ddcdb  %{name}-db-%{dbversion}
@@ -24,8 +25,10 @@ Patch3:              %{name}-pl.patch
 URL:           http://ddccontrol.sourceforge.net/
 BuildRequires: autoconf >= 2.50
 BuildRequires: automake
+BuildRequires: gettext-devel
 %{?with_gnome:BuildRequires:   gnome-panel-devel >= 2.10}
 %{?with_gtk:BuildRequires:     gtk+2-devel >= 2:2.4}
+BuildRequires: intltool
 BuildRequires: libtool
 BuildRequires: libxml2-devel
 BuildRequires: pciutils-devel
@@ -119,7 +122,8 @@ Biblioteka statyczna ddccontrol.
 %{__automake}
 %configure \
        %{!?with_gtk:--disable-gnome} \
-       %{!?with_gnome:--disable-gnome-applet}
+       %{!?with_gnome:--disable-gnome-applet} \
+       %{!?with_static_libs:--disable-static}
 %{__make}
 cd %{ddcdb}
 %configure
@@ -175,6 +179,8 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/libddccontrol.la
 %{_includedir}/ddccontrol
 
+%if %{with static_libs}
 %files static
 %defattr(644,root,root,755)
 %{_libdir}/libddccontrol.a
+%endif
This page took 0.082147 seconds and 4 git commands to generate.