Accepting request 131528 from home:seife:testing

I want to maintain libsbc in Factory and would like to use Base:System as the devel project. libsbc was formerly in the bluez package and is now split out. Ok, and "want" is probably not the right word, but somebody needs to do it.

OBS-URL: https://build.opensuse.org/request/show/131528
OBS-URL: https://build.opensuse.org/package/show/Base:System/sbc?expand=0&rev=1
This commit is contained in:
Stefan Seyfried 2012-08-24 15:02:59 +00:00 committed by Git OBS Bridge
commit 59a9bdb096
5 changed files with 114 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

3
sbc-1.0.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d900b2de7e44576ddb8a41b4b980d2f61a011666cec2905dd962f93ed508544e
size 274679

5
sbc.changes Normal file
View File

@ -0,0 +1,5 @@
-------------------------------------------------------------------
Fri Aug 24 11:04:37 UTC 2012 - seife+obs@b1-systems.com
- initial package, version 1.0

82
sbc.spec Normal file
View File

@ -0,0 +1,82 @@
# spec file for package sbc
#
# Copyright (c) 2012 B1 Systems GmbH, Vohburg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# norootforbuild
%define sonum 1
Name: sbc
Version: 1.0
Release: 0
License: GPL-2.0+
Summary: Bluetooth Low-Complexity, Sub-Band Codec Utilities
Url: http://www.kernel.org/pub/linux/bluetooth
Group: Hardware/Mobile
Source: http://www.kernel.org/pub/linux/bluetooth/sbc-%{version}.tar.bz2
BuildRequires: libsndfile-devel pkg-config
BuildRoot: %{_tmppath}/%{name}-%{version}-build
AutoReqProv: on
%description
The package contains utilities for using the SBC codec.
%package -n libsbc%{sonum}
License: LGPL-2.1+
Summary: Bluetooth Low-Complexity, Sub-Band Codec Library
%description -n libsbc%{sonum}
The package contains libraries for using the SBC codec.
%package devel
Summary: Development files for libsbc%{sonum}
Group: Development/Sources
Requires: libsbc%{sonum} = %{version}
%description devel
Development files for the SBC library
%prep
%setup -q
%build
%configure
make %{?_smp_mflags}
%install
%make_install
rm %{buildroot}/%{_libdir}/libsbc.la
%clean
%{?buildroot:%__rm -rf "%{buildroot}"}
%post -n libsbc%{sonum} -p /sbin/ldconfig
%postun -n libsbc%{sonum} -p /sbin/ldconfig
%files
%defattr(-,root,root)
%doc ChangeLog README COPYING
/usr/bin/sbc*
%files -n libsbc%{sonum}
%defattr(-,root,root)
%{_libdir}/libsbc.so.%{sonum}
%{_libdir}/libsbc.so.%{sonum}.*
%files devel
%defattr(-,root,root)
%dir /usr/include/sbc
/usr/include/sbc/sbc.h
%{_libdir}/pkgconfig/sbc.pc
%{_libdir}/libsbc.a
%{_libdir}/libsbc.so
%changelog