SPECS: ddccontrol.spec - BR: gettext-devel, intltool - without sta...

charles charles at pld-linux.org
Tue May 16 20:37:33 CEST 2006


Author: charles                      Date: Tue May 16 18:37:33 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- BR: gettext-devel, intltool
- without static_libs bcond

---- Files affected:
SPECS:
   ddccontrol.spec (1.10 -> 1.11) 

---- Diffs:

================================================================
Index: SPECS/ddccontrol.spec
diff -u SPECS/ddccontrol.spec:1.10 SPECS/ddccontrol.spec:1.11
--- SPECS/ddccontrol.spec:1.10	Tue May 16 20:32:46 2006
+++ SPECS/ddccontrol.spec	Tue May 16 20:37:27 2006
@@ -1,8 +1,9 @@
 # $Revision$, $Date$
 #
 # 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}
@@ -25,8 +26,10 @@
 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
@@ -120,7 +123,8 @@
 %{__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
@@ -176,9 +180,11 @@
 %{_libdir}/libddccontrol.la
 %{_includedir}/ddccontrol
 
+%if %{with static_libs}
 %files static
 %defattr(644,root,root,755)
 %{_libdir}/libddccontrol.a
+%endif
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -186,6 +192,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.11  2006/05/16 18:37:27  charles
+- BR: gettext-devel, intltool
+- without static_libs bcond
+
 Revision 1.10  2006/05/16 18:32:46  qboosh
 - added pl patch (some typo fixes, translation still incomplete)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/ddccontrol.spec?r1=1.10&r2=1.11&f=u



More information about the pld-cvs-commit mailing list