Accepting request 461874 from home:jengelh:branches:multimedia:libs

- Rename %soname to %sover to better reflect its use.
- Replace goals with what the software really does.

OBS-URL: https://build.opensuse.org/request/show/461874
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/lame?expand=0&rev=3
This commit is contained in:
Ismail Dönmez 2017-03-02 12:42:52 +00:00 committed by Git OBS Bridge
parent fdc004b17d
commit 2371a2efce
2 changed files with 31 additions and 35 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Mar 2 10:33:47 UTC 2017 - jengelh@inai.de
- Rename %soname to %sover to better reflect its use.
- Replace goals with what the software really does.
-------------------------------------------------------------------
Sat Jun 20 16:21:57 UTC 2015 - olaf@aepfle.de

View File

@ -17,11 +17,11 @@
#
%define soname 0
%define sover 0
Name: lame
Version: 3.99.5
Release: 0
Summary: LAME Ain't an MP3 Encoder
Summary: The LAME MP3 encoder
License: LGPL-2.0+
Group: Productivity/Multimedia/Sound/Editors and Convertors
Url: http://lame.sourceforge.net/
@ -41,7 +41,7 @@ BuildRequires: automake
BuildRequires: libtool
BuildRequires: ncurses-devel
BuildRequires: pkgconfig
Requires: libmp3lame%{soname} >= %{version}
Requires: libmp3lame%{sover} >= %{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%ifarch %ix86
BuildRequires: nasm
@ -56,51 +56,41 @@ Another goal of the LAME project is to use these improvements for the basis of
a patent free audio compression codec for the GNU project.
%package doc
Summary: LAME Ain't an MP3 Encoder (Documentation)
Summary: Documentation for the LAME MP3 encoder
Group: Productivity/Multimedia/Sound/Editors and Convertors
Requires: %{name} = %{version}
%description doc
LAME is an educational tool to be used for learning about MP3 encoding.
The goal of the LAME project is to use the open source model to improve the
psycho acoustics, noise shaping and speed of MP3.
Another goal of the LAME project is to use these improvements for the basis of
a patent free audio compression codec for the GNU project.
LAME is an encoder that converts audio to the MP3 file format. It has
an improved psychoacoustic model and performs well in codec listening
tests.
%package -n libmp3lame%{soname}
Summary: LAME Ain't an MP3 Encoder
%package -n libmp3lame%{sover}
Summary: The LAME MP3 encoder library
Group: System/Libraries
%description -n libmp3lame%{soname}
LAME is an educational tool to be used for learning about MP3 encoding.
The goal of the LAME project is to use the open source model to improve the
psycho acoustics, noise shaping and speed of MP3.
Another goal of the LAME project is to use these improvements for the basis of
a patent free audio compression codec for the GNU project.
%description -n libmp3lame%{sover}
LAME is an encoder that converts audio to the MP3 file format. It has
an improved psychoacoustic model and performs well in codec listening
tests.
%package -n libmp3lame-devel
Summary: LAME Ain't an MP3 Encoder
Summary: Development files for the LAME MP3 encoder
Group: Development/Libraries/C and C++
Requires: libmp3lame%{soname} = %{version}
Requires: libmp3lame%{sover} = %{version}
%description -n libmp3lame-devel
LAME is an educational tool to be used for learning about MP3 encoding.
The goal of the LAME project is to use the open source model to improve the
psycho acoustics, noise shaping and speed of MP3.
Another goal of the LAME project is to use these improvements for the basis of
a patent free audio compression codec for the GNU project.
Contains the header files for use with LAME's encoding library.
%package -n lame-mp3rtp
Summary: MP3 Encoder for RTP Streaming
Group: Productivity/Multimedia/Sound/Editors and Convertors
Requires: libmp3lame%{soname} >= %{version}
Requires: libmp3lame%{sover} >= %{version}
%description -n lame-mp3rtp
LAME is an educational tool to be used for learning about MP3 encoding.
The goal of the LAME project is to use the open source model to improve the
psycho acoustics, noise shaping and speed of MP3.
Another goal of the LAME project is to use these improvements for the basis of
a patent free audio compression codec for the GNU project.
LAME is an encoder that converts audio to the MP3 file format. It has
an improved psychoacoustic model and performs well in codec listening
tests.
This package includes "mp3rtp", an MP3 encoder with RTP streaming of the output.
@ -142,9 +132,9 @@ for f in ChangeLog README TODO USAGE; do
install -m0644 "$f" "%{buildroot}%{_defaultdocdir}/%{name}/"
done
%post -n libmp3lame%{soname} -p /sbin/ldconfig
%post -n libmp3lame%{sover} -p /sbin/ldconfig
%postun -n libmp3lame%{soname} -p /sbin/ldconfig
%postun -n libmp3lame%{sover} -p /sbin/ldconfig
%files
%defattr(-,root,root)
@ -155,11 +145,11 @@ done
%defattr(-,root,root)
%{_defaultdocdir}/%{name}
%files -n libmp3lame%{soname}
%files -n libmp3lame%{sover}
%defattr(0644,root,root,0755)
%doc COPYING LICENSE
%{_libdir}/libmp3lame.so.%{soname}
%{_libdir}/libmp3lame.so.%{soname}.*
%{_libdir}/libmp3lame.so.%{sover}
%{_libdir}/libmp3lame.so.%{sover}.*
%files -n libmp3lame-devel
%defattr(-,root,root)