forked from pool/bluez
Accepting request 74322 from home:msmeissn:branches:Base:System
add baselibs for the lib OBS-URL: https://build.opensuse.org/request/show/74322 OBS-URL: https://build.opensuse.org/package/show/Base:System/bluez?expand=0&rev=101
This commit is contained in:
committed by
Git OBS Bridge
parent
c373378a80
commit
66845306c4
@@ -52,6 +52,7 @@ Provides: bluez-audio:%_libdir/gstreamer-0.10/libgstbluetooth.so
|
||||
%define OLD_UDEV 0
|
||||
%endif
|
||||
|
||||
|
||||
%description
|
||||
The package contains libraries for using bluetooth audio services.
|
||||
|
||||
@@ -70,6 +71,7 @@ Authors:
|
||||
cp %{S:6} .
|
||||
%{?suse_update_config:%{suse_update_config -f . }}
|
||||
|
||||
|
||||
%build
|
||||
# autoreconf -sfi
|
||||
CFLAGS="$RPM_OPT_FLAGS -g" \
|
||||
@@ -95,17 +97,22 @@ CFLAGS="$RPM_OPT_FLAGS -g" \
|
||||
%{?with_libcapng}
|
||||
make %{?_smp_mflags} all V=1
|
||||
|
||||
|
||||
%install
|
||||
make DESTDIR=$RPM_BUILD_ROOT install
|
||||
rm -rf $RPM_BUILD_ROOT/usr/[^l]* $RPM_BUILD_ROOT/[^u]* $RPM_BUILD_ROOT/%{_libdir}/[^g]*
|
||||
rm -rf $RPM_BUILD_ROOT/%{_libdir}/pkgconfig $RPM_BUILD_ROOT/%{_libdir}/*bluetooth* $RPM_BUILD_ROOT/usr/include
|
||||
rm $RPM_BUILD_ROOT/%{_libdir}/*/*.la
|
||||
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-, root, root)
|
||||
%{_libdir}/gstreamer-*/*.so
|
||||
|
||||
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user