- Define libname to have the declaration only on one line

OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/speexdsp?expand=0&rev=3
This commit is contained in:
Tomáš Chvátal 2015-02-28 09:54:59 +00:00 committed by Git OBS Bridge
parent a3d948c163
commit 298ed945ba
2 changed files with 9 additions and 7 deletions

View File

@ -1,6 +1,7 @@
-------------------------------------------------------------------
Sat Feb 28 09:51:56 UTC 2015 - tchvatal@suse.com
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
-------------------------------------------------------------------

View File

@ -17,6 +17,7 @@
%define package_version 1.2rc3
%define libname libspeexdsp1
Name: speexdsp
Version: 1.1.999_%{package_version}
Release: 0
@ -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
to the Vorbis codec.
%package -n libspeexdsp1
%package -n %{libname}
Summary: An Open Source, Patent Free Speech Codec Library
Group: System/Libraries
%description -n libspeexdsp1
%description -n %{libname}
Speex is a patent free audio codec designed especially for voice
(unlike Vorbis which targets general audio) signals and providing good
narrowband and wideband quality. This project aims to be complementary
@ -50,7 +51,7 @@ to the Vorbis codec.
%package devel
Summary: Development package for SpeeX
Group: Development/Libraries/C and C++
Requires: libspeexdsp1 = %{version}
Requires: %{libname} = %{version}
Conflicts: speex-devel <= 1.1.999_1.2rc1
%description devel
@ -72,11 +73,11 @@ make DESTDIR=%{buildroot} install %{?_smp_mflags}
rm -f %{buildroot}%{_libdir}/*.a
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)
%{_libdir}/libspeexdsp.so.*