From: Karol Krenski Date: Wed, 30 Nov 2005 14:00:55 +0000 (+0000) Subject: - bcond static_libs X-Git-Tag: auto/th/epsilon-0_3_0_007-1~3 X-Git-Url: http://git.pld-linux.org/?a=commitdiff_plain;h=fbca8ac4d24b9eecf568ed7ac87deade97ddb7aa;p=packages%2Fepsilon.git - bcond static_libs Changed files: epsilon.spec -> 1.8 --- diff --git a/epsilon.spec b/epsilon.spec index 2a3a482..8ceb65d 100644 --- a/epsilon.spec +++ b/epsilon.spec @@ -1,3 +1,7 @@ +# +# Conditional build: +%bcond_without static_libs # don't build static library +# Summary: Enlightened Thumbnail Generator Summary(pl): O¶wiecony generator miniaturek obrazów Name: epsilon @@ -85,7 +89,8 @@ Statyczna biblioteka Epsilon. %{__autoconf} %{__autoheader} %{__automake} -%configure +%configure \ + %{!?with_static_libs:--disable-static} %{__make} %install @@ -116,6 +121,8 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/libepsilon.la %{_includedir}/Epsilon.h +%if %{with static_libs} %files static %defattr(644,root,root,755) %{_libdir}/libepsilon.a +%endif