SPECS: Thunar.spec - without static_libs bcond - BR: gettext-devel

charles charles at pld-linux.org
Wed May 17 05:51:04 CEST 2006


Author: charles                      Date: Wed May 17 03:51:04 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- without static_libs bcond
- BR: gettext-devel

---- Files affected:
SPECS:
   Thunar.spec (1.4 -> 1.5) 

---- Diffs:

================================================================
Index: SPECS/Thunar.spec
diff -u SPECS/Thunar.spec:1.4 SPECS/Thunar.spec:1.5
--- SPECS/Thunar.spec:1.4	Wed May 17 05:39:30 2006
+++ SPECS/Thunar.spec	Wed May 17 05:50:59 2006
@@ -1,4 +1,8 @@
 # $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without	static_libs	# don't build static library
+#
 %define		_pre	beta1
 Summary:	Xfce file manager
 Summary(pl):	Zarządca plików Xfce
@@ -14,6 +18,7 @@
 BuildRequires:	dbus-glib-devel >= 0.34
 # XXX: gamin (>= 0.1.0) is preferred over fam
 BuildRequires:	fam-devel
+BuildRequires:	gettext-devel
 BuildRequires:	glib2-devel >= 1:2.6.4
 BuildRequires:	gtk+2-devel >= 2:2.6.0
 BuildRequires:	hal-devel >= 0.5.0
@@ -80,7 +85,7 @@
 
 %build
 %configure \
-	--enable-static
+	%{?with_static_libs:--enable-static}
 
 %{__make}
 
@@ -139,9 +144,11 @@
 %{_includedir}/thunar*
 %{_pkgconfigdir}/*.pc
 
+%if %{with static_libs}
 %files static
 %defattr(644,root,root,755)
 %{_libdir}/*.a
+%endif
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -149,6 +156,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.5  2006/05/17 03:50:59  charles
+- without static_libs bcond
+- BR: gettext-devel
+
 Revision 1.4  2006/05/17 03:39:30  charles
 - BR: intltool
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/Thunar.spec?r1=1.4&r2=1.5&f=u



More information about the pld-cvs-commit mailing list