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