diff options
author | witekfl | 2005-06-15 16:39:21 (GMT) |
---|---|---|
committer | cvs2git | 2012-06-24 12:13:13 (GMT) |
commit | d25fecb9070ada71e9b3cdca0d6f94e6cc4653f8 (patch) | |
tree | 1c0580b5fc482913e9b6aec366617ac78eea8db1 | |
parent | ef681474440df167f28e32d627653a9726f4770d (diff) | |
download | libbtctl-d25fecb9070ada71e9b3cdca0d6f94e6cc4653f8.zip libbtctl-d25fecb9070ada71e9b3cdca0d6f94e6cc4653f8.tar.gz |
- added bcond_without static
Changed files:
libbtctl.spec -> 1.19
-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) |