summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwitekfl2005-06-15 15:50:12 (GMT)
committercvs2git2012-06-24 12:13:13 (GMT)
commit38cef36585e52d3b413ea5613005e3b3c7c09a17 (patch)
tree3cf0078c9c688f2bb13b7eca64443bd795d2a55c
parentda31bee33c48292f7dc609236640c52e44b71e80 (diff)
downloadopenobex-38cef36585e52d3b413ea5613005e3b3c7c09a17.zip
openobex-38cef36585e52d3b413ea5613005e3b3c7c09a17.tar.gz
- added bcond_without static
- run automake Changed files: openobex.spec -> 1.13
-rw-r--r--openobex.spec7
1 files changed, 6 insertions, 1 deletions
diff --git a/openobex.spec b/openobex.spec
index 82fd045..c16113e 100644
--- a/openobex.spec
+++ b/openobex.spec
@@ -1,3 +1,4 @@
+%bcond_without static # don't build static library
Summary: Library for using OBEX
Summary(es): Biblioteca para usar OBEX
Summary(pl): Biblioteka do obsługi protokołu OBEX
@@ -84,7 +85,9 @@ biblioteki Open OBEX.
%{__libtoolize}
%{__aclocal}
%{__autoconf}
-%configure
+%{__automake}
+%configure \
+ %{!?with_static:--disable-static}
%{__make}
@@ -114,6 +117,8 @@ rm -rf $RPM_BUILD_ROOT
%{_includedir}/*
%{_aclocaldir}/*
+%if %{with static}
%files static
%defattr(644,root,root,755)
%{_libdir}/lib*.a
+%endif