]> git.pld-linux.org Git - packages/exo.git/blobdiff - exo.spec
- added bcond_without static_libs
[packages/exo.git] / exo.spec
index 82f8980a34b27d20bbd69350dea13db2b63218d9..6d3a73dc53943de4954c499768cbe03205f59a1e 100644 (file)
--- 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)
This page took 0.03393 seconds and 4 git commands to generate.