Accepting request 533172 from multimedia:libs

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/533172
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/speexdsp?expand=0&rev=6
This commit is contained in:
Dominique Leuenberger 2017-10-16 23:50:07 +00:00 committed by Git OBS Bridge
commit 17c05ae4a7
2 changed files with 17 additions and 17 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Oct 2 13:26:56 UTC 2017 - mpluskal@suse.com
- Some packaging cleanup with spec-cleaner
------------------------------------------------------------------- -------------------------------------------------------------------
Mon May 18 10:30:00 UTC 2015 - mpluskal@suse.com Mon May 18 10:30:00 UTC 2015 - mpluskal@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package speexdsp # spec file for package speexdsp
# #
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -17,7 +17,8 @@
%define package_version 1.2rc3 %define package_version 1.2rc3
%define libname libspeexdsp1 %define sover 1
%define libname lib%{name}%{sover}
Name: speexdsp Name: speexdsp
Version: 1.2~rc3 Version: 1.2~rc3
Release: 0 Release: 0
@ -32,10 +33,9 @@ Patch0: speexdsp-fixbuilds-774c87d.patch
BuildRequires: autoconf BuildRequires: autoconf
BuildRequires: automake BuildRequires: automake
BuildRequires: libtool BuildRequires: libtool
BuildRequires: pkg-config BuildRequires: pkgconfig
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
%description %description
Speex is a patent free audio codec designed especially for voice Speex is a patent free audio codec designed especially for voice
@ -57,7 +57,7 @@ to the Vorbis codec.
Summary: Development package for SpeeX Summary: Development package for SpeeX
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Requires: %{libname} = %{version} Requires: %{libname} = %{version}
Conflicts: speex-devel <= 1.1.999_1.2rc1 Conflicts: pkgconfig(speex) <= 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
@ -66,33 +66,28 @@ SpeeX library.
%prep %prep
%setup -q -n %{name}-%{package_version} %setup -q -n %{name}-%{package_version}
%patch0 -p1 %patch0 -p1
autoreconf -fi
%build %build
autoreconf -fiv
# Disable NEON since it doesn't check for availability of the NEON # Disable NEON since it doesn't check for availability of the NEON
# extension at runtime # extension at runtime
%configure \ %configure \
--disable-static \ --disable-static \
--disable-neon --disable-neon
make %{?_smp_mflags} V=1
make %{?_smp_mflags}
%install %install
make DESTDIR=%{buildroot} install %{?_smp_mflags} %make_install
# remove unneeded *.a and *.la files # remove unneeded *.a and *.la files
rm -f %{buildroot}%{_libdir}/*.a find %{buildroot} -type f \( -name '*.a' -o -name '*.la' \) -delete -print
find %{buildroot} -type f -name "*.la" -delete -print
%post -n %{libname} -p /sbin/ldconfig %post -n %{libname} -p /sbin/ldconfig
%postun -n %{libname} -p /sbin/ldconfig %postun -n %{libname} -p /sbin/ldconfig
%files -n %{libname} %files -n %{libname}
%defattr(-,root,root) %{_libdir}/libspeexdsp.so.%{sover}*
%{_libdir}/libspeexdsp.so.*
%files devel %files devel
%defattr(-,root,root)
%dir %{_datadir}/doc/%{name} %dir %{_datadir}/doc/%{name}
%doc %{_datadir}/doc/%{name}/manual.pdf %doc %{_datadir}/doc/%{name}/manual.pdf
%{_includedir}/* %{_includedir}/*