diff options
-rw-r--r-- | libbtctl.spec | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/libbtctl.spec b/libbtctl.spec index 6f19302..00ce526 100644 --- a/libbtctl.spec +++ b/libbtctl.spec @@ -2,7 +2,7 @@ # todo: # - mono bindings (build crashes on ppc) # - +%bcond_without static # don't build static library Summary: Bluetooth GObject based library Summary(pl): Biblioteka do programowania urządzeń Bluetooth Name: libbtctl @@ -84,7 +84,8 @@ Wiązania dla języka Python biblioteki libbtctl. %configure \ --disable-mono \ --enable-gtk-doc \ - --with-html-path=%{_gtkdocdir} + --with-html-path=%{_gtkdocdir} \ + %{!?with_static:--disable-static} %{__make} \ pydir=%{py_sitedir} @@ -119,9 +120,11 @@ rm -rf $RPM_BUILD_ROOT %{_pkgconfigdir}/*.pc %{_gtkdocdir}/* +%if %{with static} %files static %defattr(644,root,root,755) %{_libdir}/lib*.a +%endif %files -n python-btctl %defattr(644,root,root,755) |