]> git.pld-linux.org Git - packages/LiTE.git/commitdiff
- added bcond_without static_libs
authorwitekfl <witekfl@pld-linux.org>
Sat, 8 Sep 2007 06:00:29 +0000 (06:00 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    LiTE.spec -> 1.7

LiTE.spec

index b6f4f2026da52e2809199dc630bbeb096a0e78f7..d941d3e3712bc8e45b1ce0aa4760daf6839e1717 100644 (file)
--- a/LiTE.spec
+++ b/LiTE.spec
@@ -1,3 +1,7 @@
+#
+# Conditional build:
+%bcond_without static_libs     # don't build static libraries
+#
 Summary:       LiTE is a Toolkit Engine
 Summary(pl.UTF-8):     LiTE - silnik toolkitu
 Name:          LiTE
@@ -60,7 +64,8 @@ Statyczna biblioteka LiTE.
 %{__automake}
 %configure \
        --enable-static \
-       --with-fontdir=%{_fontsdir}/TTF
+       --with-fontdir=%{_fontsdir}/TTF \
+       %{!?with_static_libs:--disable-static}
 %{__make}
 
 %install
@@ -118,6 +123,8 @@ fi
 %{_pkgconfigdir}/lite.pc
 %{_examplesdir}/%{name}-%{version}
 
+%if %{with static_libs}
 %files static
 %defattr(644,root,root,755)
 %{_libdir}/liblite.a
+%endif
This page took 0.419644 seconds and 4 git commands to generate.