- Move libname up and set it just once, easier for later on.
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/speex?expand=0&rev=18
This commit is contained in:
parent
2185c9399a
commit
123984adfb
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 28 10:05:17 UTC 2015 - tchvatal@suse.com
|
||||
|
||||
- Move libname up and set it just once, easier for later on.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 23 14:57:20 UTC 2015 - mpluskal@suse.com
|
||||
|
||||
|
14
speex.spec
14
speex.spec
@ -17,6 +17,7 @@
|
||||
|
||||
|
||||
%define package_version 1.2rc2
|
||||
%define libname libspeex1
|
||||
Name: speex
|
||||
Version: 1.1.999_%{package_version}
|
||||
Release: 0
|
||||
@ -38,13 +39,13 @@ 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 libspeex1
|
||||
%package -n %{libname}
|
||||
Summary: An Open Source, Patent Free Speech Codec Library
|
||||
Group: System/Libraries
|
||||
Obsoletes: libspeex < %{version}
|
||||
Provides: libspeex = %{version}
|
||||
|
||||
%description -n libspeex1
|
||||
%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
|
||||
@ -53,7 +54,8 @@ to the Vorbis codec.
|
||||
%package devel
|
||||
Summary: Development package for SpeeX
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: libspeex1 = %{version}
|
||||
Requires: %{libname} = %{version}
|
||||
Recommends: libspeexdsp-devel
|
||||
Provides: libspeex-devel = %{version}-%{release}
|
||||
Obsoletes: libspeex-devel < %{version}-%{release}
|
||||
|
||||
@ -80,9 +82,9 @@ rm -rf %{buildroot}%{_datadir}/doc/speex*
|
||||
find %{buildroot} -type f -name "*.la" -delete -print
|
||||
rm -f %{buildroot}%{_libdir}/*.a
|
||||
|
||||
%post -n libspeex1 -p /sbin/ldconfig
|
||||
%post -n %{libname} -p /sbin/ldconfig
|
||||
|
||||
%postun -n libspeex1 -p /sbin/ldconfig
|
||||
%postun -n %{libname} -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
@ -90,7 +92,7 @@ rm -f %{buildroot}%{_libdir}/*.a
|
||||
%{_bindir}/speex*
|
||||
%{_mandir}/man?/*
|
||||
|
||||
%files -n libspeex1
|
||||
%files -n %{libname}
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libspeex.so.*
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user