Accepting request 289355 from multimedia:libs

Submit changes to Factory; it will actually nicely help to get :D in green stage

OBS-URL: https://build.opensuse.org/request/show/289355
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/speexdsp?expand=0&rev=2
This commit is contained in:
Dominique Leuenberger 2015-03-09 09:01:48 +00:00 committed by Git OBS Bridge
commit b44ed1a32b
2 changed files with 16 additions and 9 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sat Feb 28 09:54:22 UTC 2015 - tchvatal@suse.com
- Define libname to have the declaration only on one line
- Align the Conflict lines
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Feb 23 14:47:33 UTC 2015 - mpluskal@suse.com Mon Feb 23 14:47:33 UTC 2015 - mpluskal@suse.com

View File

@ -17,6 +17,7 @@
%define package_version 1.2rc3 %define package_version 1.2rc3
%define libname libspeexdsp1
Name: speexdsp Name: speexdsp
Version: 1.1.999_%{package_version} Version: 1.1.999_%{package_version}
Release: 0 Release: 0
@ -28,7 +29,7 @@ Source: http://downloads.xiph.org/releases/speex/%{name}-%{package_versi
Source2: baselibs.conf Source2: baselibs.conf
BuildRequires: pkg-config BuildRequires: pkg-config
BuildRequires: pkgconfig(ogg) BuildRequires: pkgconfig(ogg)
Conflicts: speex <= 1.1.999_1.2rc1 Conflicts: speex <= 1.1.999_1.2rc1
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
@ -37,11 +38,11 @@ Speex is a patent free audio codec designed especially for voice
narrowband and wideband quality. This project aims to be complementary narrowband and wideband quality. This project aims to be complementary
to the Vorbis codec. to the Vorbis codec.
%package -n libspeexdsp1 %package -n %{libname}
Summary: An Open Source, Patent Free Speech Codec Library Summary: An Open Source, Patent Free Speech Codec Library
Group: System/Libraries Group: System/Libraries
%description -n libspeexdsp1 %description -n %{libname}
Speex is a patent free audio codec designed especially for voice Speex is a patent free audio codec designed especially for voice
(unlike Vorbis which targets general audio) signals and providing good (unlike Vorbis which targets general audio) signals and providing good
narrowband and wideband quality. This project aims to be complementary narrowband and wideband quality. This project aims to be complementary
@ -50,8 +51,8 @@ to the Vorbis codec.
%package devel %package devel
Summary: Development package for SpeeX Summary: Development package for SpeeX
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Requires: libspeexdsp1 = %{version} Requires: %{libname} = %{version}
Conflicts: speex-devel <= 1.1.999_1.2rc1 Conflicts: speex-devel <= 1.1.999_1.2rc1
%description devel %description devel
This package contains the files needed to compile programs that use the This package contains the files needed to compile programs that use the
@ -62,7 +63,7 @@ SpeeX library.
%build %build
%configure \ %configure \
--disable-static --disable-static
make %{?_smp_mflags} make %{?_smp_mflags}
@ -72,11 +73,11 @@ make DESTDIR=%{buildroot} install %{?_smp_mflags}
rm -f %{buildroot}%{_libdir}/*.a rm -f %{buildroot}%{_libdir}/*.a
find %{buildroot} -type f -name "*.la" -delete -print find %{buildroot} -type f -name "*.la" -delete -print
%post -n libspeexdsp1 -p /sbin/ldconfig %post -n %{libname} -p /sbin/ldconfig
%postun -n libspeexdsp1 -p /sbin/ldconfig %postun -n %{libname} -p /sbin/ldconfig
%files -n libspeexdsp1 %files -n %{libname}
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/libspeexdsp.so.* %{_libdir}/libspeexdsp.so.*