add libmpg123 and libmpg123-devel [release 1.19.0-2mamba;Sun May 18 2014]
This commit is contained in:
parent
f1aeb5f772
commit
9b45f9c887
44
mpg123.spec
44
mpg123.spec
@ -1,6 +1,6 @@
|
|||||||
Name: mpg123
|
Name: mpg123
|
||||||
Version: 1.19.0
|
Version: 1.19.0
|
||||||
Release: 1mamba
|
Release: 2mamba
|
||||||
Summary: A real time MPEG 1.0/2.0/2.5 audio player for layers 1,2 and 3
|
Summary: A real time MPEG 1.0/2.0/2.5 audio player for layers 1,2 and 3
|
||||||
Group: Applications/Multimedia
|
Group: Applications/Multimedia
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
@ -9,7 +9,6 @@ Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|||||||
URL: http://www.mpg123.de/
|
URL: http://www.mpg123.de/
|
||||||
Source: http://www.mpg123.de/download/mpg123-%{version}.tar.bz2
|
Source: http://www.mpg123.de/download/mpg123-%{version}.tar.bz2
|
||||||
License: LGPL
|
License: LGPL
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: glibc-devel
|
BuildRequires: glibc-devel
|
||||||
BuildRequires: libalsa-devel
|
BuildRequires: libalsa-devel
|
||||||
@ -19,19 +18,33 @@ BuildRequires: libjack-devel
|
|||||||
BuildRequires: libltdl-devel
|
BuildRequires: libltdl-devel
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
BuildRequires: libSDL-devel >= 1.2.11
|
BuildRequires: libSDL-devel >= 1.2.11
|
||||||
|
Requires: lib%{name} = %{version}-%{release}
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
|
|
||||||
%description
|
%description
|
||||||
mpg123 is a real time MPEG 1.0/2.0/2.5 audio player for layers 1,2 and 3 (MPEG 1.0 layer 3 aka MP3 most commonly tested).
|
mpg123 is a real time MPEG 1.0/2.0/2.5 audio player for layers 1,2 and 3 (MPEG 1.0 layer 3 aka MP3 most commonly tested).
|
||||||
|
|
||||||
%package devel
|
%package -n lib%{name}
|
||||||
|
Group: System/Libraries
|
||||||
|
Summary: Shared libraries for %{name}
|
||||||
|
|
||||||
|
%description -n lib%{name}
|
||||||
|
mpg123 is a real time MPEG 1.0/2.0/2.5 audio player for layers 1,2 and 3 (MPEG 1.0 layer 3 aka MP3 most commonly tested).
|
||||||
|
This package contains shared libraries for %{name}.
|
||||||
|
|
||||||
|
%package -n lib%{name}-devel
|
||||||
Summary: Development files for mpg123
|
Summary: Development files for mpg123
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: lib%{name} = %{version}-%{release}
|
||||||
|
Provides: mpg123-devel
|
||||||
|
Obsoletes: mpg123-devel
|
||||||
|
|
||||||
%description devel
|
%description -n lib%{name}-devel
|
||||||
mpg123 is a real time MPEG 1.0/2.0/2.5 audio player for layers 1,2 and 3 (MPEG 1.0 layer 3 aka MP3 most commonly tested).
|
mpg123 is a real time MPEG 1.0/2.0/2.5 audio player for layers 1,2 and 3 (MPEG 1.0 layer 3 aka MP3 most commonly tested).
|
||||||
This package contains the static libraries and headers for development.
|
This package contains the static libraries and headers for development.
|
||||||
|
|
||||||
|
%debug_package
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
@ -47,6 +60,14 @@ This package contains the static libraries and headers for development.
|
|||||||
|
|
||||||
%make
|
%make
|
||||||
|
|
||||||
|
%post -n lib%{name}
|
||||||
|
/sbin/ldconfig
|
||||||
|
:
|
||||||
|
|
||||||
|
%postun -n lib%{name}
|
||||||
|
/sbin/ldconfig
|
||||||
|
:
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
%makeinstall
|
%makeinstall
|
||||||
@ -59,6 +80,10 @@ This package contains the static libraries and headers for development.
|
|||||||
%{_bindir}/mpg123
|
%{_bindir}/mpg123
|
||||||
%{_bindir}/mpg123-id3dump
|
%{_bindir}/mpg123-id3dump
|
||||||
%{_bindir}/mpg123-strip
|
%{_bindir}/mpg123-strip
|
||||||
|
%{_mandir}/man1/mpg123.1*
|
||||||
|
|
||||||
|
%files -n lib%{name}
|
||||||
|
%defattr(-,root,root)
|
||||||
%{_libdir}/libmpg123.so.*
|
%{_libdir}/libmpg123.so.*
|
||||||
%{_libdir}/mpg123/output_dummy.la
|
%{_libdir}/mpg123/output_dummy.la
|
||||||
%{_libdir}/mpg123/output_dummy.so
|
%{_libdir}/mpg123/output_dummy.so
|
||||||
@ -70,17 +95,20 @@ This package contains the static libraries and headers for development.
|
|||||||
%endif
|
%endif
|
||||||
%{_libdir}/mpg123/output_oss.la
|
%{_libdir}/mpg123/output_oss.la
|
||||||
%{_libdir}/mpg123/output_oss.so
|
%{_libdir}/mpg123/output_oss.so
|
||||||
%{_mandir}/man1/mpg123.1.gz
|
%doc AUTHORS COPYING
|
||||||
%doc AUTHORS COPYING ChangeLog NEWS README
|
|
||||||
|
|
||||||
%files devel
|
%files -n lib%{name}-devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_includedir}/mpg123.h
|
%{_includedir}/mpg123.h
|
||||||
%{_libdir}/libmpg123.la
|
%{_libdir}/libmpg123.la
|
||||||
%{_libdir}/libmpg123.so
|
%{_libdir}/libmpg123.so
|
||||||
%{_libdir}/pkgconfig/libmpg123.pc
|
%{_libdir}/pkgconfig/libmpg123.pc
|
||||||
|
%doc ChangeLog NEWS README
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun May 18 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.19.0-2mamba
|
||||||
|
- add libmpg123 and libmpg123-devel
|
||||||
|
|
||||||
* Tue Mar 18 2014 Automatic Build System <autodist@mambasoft.it> 1.19.0-1mamba
|
* Tue Mar 18 2014 Automatic Build System <autodist@mambasoft.it> 1.19.0-1mamba
|
||||||
- automatic version update by autodist
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user