Autobuild autoformatter for 74358

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bluez?expand=0&rev=85
This commit is contained in:
Sascha Peilicke 2011-06-23 09:42:24 +00:00 committed by Git OBS Bridge
parent 0386ac63f6
commit cd4d43b679
2 changed files with 2 additions and 33 deletions

View File

@ -32,7 +32,7 @@ BuildRequires: readline-devel
BuildRequires: libudev-devel
Url: http://www.bluez.org
Version: 4.94
Release: 1
Release: 2
Summary: Bluetooth Sound Support
Group: Productivity/Multimedia/Sound/Utilities
License: GPLv2+
@ -52,7 +52,6 @@ Provides: bluez-audio:%_libdir/gstreamer-0.10/libgstbluetooth.so
%define OLD_UDEV 0
%endif
%description
The package contains libraries for using bluetooth audio services.
@ -71,7 +70,6 @@ Authors:
cp %{S:6} .
%{?suse_update_config:%{suse_update_config -f . }}
%build
# autoreconf -sfi
CFLAGS="$RPM_OPT_FLAGS -g" \
@ -97,22 +95,17 @@ 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

View File

@ -32,7 +32,7 @@ BuildRequires: readline-devel
BuildRequires: libudev-devel
Url: http://www.bluez.org
Version: 4.94
Release: 1
Release: 3
Summary: Bluetooth Stack for Linux
Group: Hardware/Mobile
License: GPLv2+
@ -69,7 +69,6 @@ Requires: libbluetooth3 = %{version}
%define cups_lib_dir %{_libdir}/cups
%endif
%description
The Bluetooth stack for Linux.
@ -86,7 +85,6 @@ Summary: Files needed for BlueZ development
Group: Development/Sources
Requires: libbluetooth3 = %{version}
%description devel
Files needed to develop applications for the BlueZ Bluetooth protocol
stack.
@ -105,7 +103,6 @@ Group: Hardware/Mobile
Provides: bluez-libs = 3.36
Obsoletes: bluez-libs <= 3.36
%description -n libbluetooth3
Bluetooth protocol stack libraries.
@ -122,7 +119,6 @@ License: GPLv2+
Summary: CUPS Driver for Bluetooth Printers
Requires: libbluetooth3 = %{version}
%description cups
Contains the files required by CUPS for printing to Bluetooth-connected
printers.
@ -140,7 +136,6 @@ License: GPLv2+ ; MIT License (or similar)
Summary: Tools for testing of various Bluetooth-functions
Requires: libbluetooth3 = %{version} python-gobject2 dbus-1-python
%description test
Contains a few tools for testing various bluetooth functions. The
BLUETOOTH trademarks are owned by Bluetooth SIG, Inc., U.S.A.
@ -159,7 +154,6 @@ Summary: Bluetooth Sound Support
Requires: libbluetooth3 = %{version}
Provides: bluez-audio:%_libdir/alsa-lib/libasound_module_pcm_bluetooth.so
%description alsa
The package contains libraries for using bluetooth audio services.
@ -178,7 +172,6 @@ License: GPLv2+
Summary: Bluetooth Stack for Linux
Requires: libbluetooth3 = %{version}
%description compat
The Bluetooth stack for Linux. This package contains older and partly
deprecated binaries that might still be needed for compatibility.
@ -201,7 +194,6 @@ cp %{S:6} .
mkdir dbus-apis
cp -a doc/*.txt dbus-apis/
%build
# autoreconf -sfi
CFLAGS="$RPM_OPT_FLAGS -g" \
@ -227,7 +219,6 @@ CFLAGS="$RPM_OPT_FLAGS -g" \
%{?with_libcapng}
make %{?_smp_mflags} all V=1
%install
make DESTDIR=$RPM_BUILD_ROOT install
# bluez-test
@ -266,30 +257,23 @@ then if test -e %{buildroot}%{_libdir}/cups/backend/bluetooth
fi
fi
%clean
rm -rf $RPM_BUILD_ROOT
%post
%{fillup_only -n bluetooth}
%{insserv_force_if_yast bluez-coldplug}
%preun
%stop_on_removal bluez-coldplug
%postun
%{insserv_cleanup}
%post -n libbluetooth3 -p /sbin/ldconfig
%postun -n libbluetooth3 -p /sbin/ldconfig
%files
%defattr(-, root, root)
%doc AUTHORS COPYING ChangeLog README README.SUSE dbus-apis
@ -334,27 +318,23 @@ rm -rf $RPM_BUILD_ROOT
%dir %{_sysconfdir}/modprobe.d
%config(noreplace) %{_sysconfdir}/modprobe.d/50-bluetooth.conf
%files devel
%defattr(-, root, root)
/usr/include/bluetooth
%{_libdir}/libbluetooth.so
%{_libdir}/pkgconfig/bluez.pc
%files -n libbluetooth3
%defattr(-, root, root)
%{_libdir}/libbluetooth.so.*
%doc AUTHORS COPYING INSTALL ChangeLog README
%files cups
%defattr(-,root,root)
%dir %{cups_lib_dir}
%dir %{cups_lib_dir}/backend
%{cups_lib_dir}/backend/bluetooth
%files test
%defattr(-,root,root)
%{_sbindir}/hciemu
@ -375,14 +355,12 @@ rm -rf $RPM_BUILD_ROOT
%{_bindir}/test-service
%{_bindir}/test-telephony
%files alsa
%defattr(-,root,root)
%dir /usr/share/alsa
%config /usr/share/alsa/bluetooth.conf
%{_libdir}/alsa-lib/*.so
%files compat
%defattr(-,root,root)
%{_bindir}/dund
@ -390,6 +368,4 @@ rm -rf $RPM_BUILD_ROOT
%doc %{_mandir}/man1/pand.1.gz
%doc %{_mandir}/man1/dund.1.gz
%changelog