From 3eb704f54a1d4e1d9e9b9c321d926ca4aa177039 Mon Sep 17 00:00:00 2001 From: witekfl Date: Wed, 15 Jun 2005 20:42:31 +0000 Subject: [PATCH] - added bcond_without static_libs Changed files: exo.spec -> 1.13 --- exo.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/exo.spec b/exo.spec index 82f8980..6d3a73d 100644 --- a/exo.spec +++ b/exo.spec @@ -1,3 +1,4 @@ +%bcond_without static_libs # don't build static library Summary: Extension library to Xfce developed by os-cillation Summary(pl): Biblioteka rozszerzeñ do Xfce opracowana przez os-cillation Name: libexo @@ -78,7 +79,8 @@ Pliki programistyczne wi %build %configure \ - --with-html-dir=%{_gtkdocdir} + --with-html-dir=%{_gtkdocdir} \ + %{!?with_static_libs:--disable-static} %{__make} %install @@ -110,9 +112,11 @@ rm -rf $RPM_BUILD_ROOT %{_pkgconfigdir}/*.pc %{_gtkdocdir}/exo +%if %{with static_libs} %files static %defattr(644,root,root,755) %{_libdir}/lib*.a +%endif %files -n python-exo %defattr(644,root,root,755) -- 2.43.0