]> git.pld-linux.org Git - packages/Thunar.git/commitdiff
- without static_libs bcond
authorKarol Krenski <charles@pld-linux.org>
Wed, 17 May 2006 03:50:59 +0000 (03:50 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- BR: gettext-devel

Changed files:
    Thunar.spec -> 1.5

Thunar.spec

index effcf7b4417f63c98efca7d18d0916a38b6960f4..b8b6ec441add25228e3ba493e4371f26753fecb8 100644 (file)
@@ -1,3 +1,7 @@
+#
+# 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
@@ -13,6 +17,7 @@ BuildRequires:        GConf2-devel >= 2.4.0
 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
@@ -79,7 +84,7 @@ Statyczna biblioteki Thunar
 
 %build
 %configure \
-       --enable-static
+       %{?with_static_libs:--enable-static}
 
 %{__make}
 
@@ -138,6 +143,8 @@ rm -rf $RPM_BUILD_ROOT
 %{_includedir}/thunar*
 %{_pkgconfigdir}/*.pc
 
+%if %{with static_libs}
 %files static
 %defattr(644,root,root,755)
 %{_libdir}/*.a
+%endif
This page took 0.049422 seconds and 4 git commands to generate.