add LDFLAGS to build with correct SONAME [release 1.2.6-3mamba;Sat Nov 30 2013]
This commit is contained in:
parent
ecf04508bc
commit
f3a905742d
@ -1,2 +1,5 @@
|
|||||||
# libmpcdec
|
# libmpcdec
|
||||||
|
|
||||||
|
Musepack is an audio compression format with a strong emphasis on high quality.
|
||||||
|
It's not lossless, but it is designed for transparency, so that you won't be able to hear differences between the original wave file and the much smaller MPC file. It is based on the MPEG-1 Layer-2 / MP2 algorithms, but since 1997 it has rapidly developed and vastly improved and is now at an advanced stage in which it contains heavily optimized and patentless code.
|
||||||
|
|
||||||
|
76
libmpcdec.spec
Normal file
76
libmpcdec.spec
Normal file
@ -0,0 +1,76 @@
|
|||||||
|
Name: libmpcdec
|
||||||
|
Version: 1.2.6
|
||||||
|
Release: 3mamba
|
||||||
|
Summary: Musepack is an audio compression format with a strong emphasis on high quality
|
||||||
|
Group: System/Libraries
|
||||||
|
Vendor: openmamba
|
||||||
|
Distribution: openmamba
|
||||||
|
Packager: Davide Madrisan <davide.madrisan@qilinux.it>
|
||||||
|
URL: http://www.musepack.net/
|
||||||
|
Source: http://files.musepack.net/source/libmpcdec-%{version}.tar.bz2
|
||||||
|
License: LGPL
|
||||||
|
## AUTOBUILDREQ-BEGIN
|
||||||
|
BuildRequires: glibc-devel
|
||||||
|
## AUTOBUILDREQ-END
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
|
|
||||||
|
%description
|
||||||
|
Musepack is an audio compression format with a strong emphasis on high quality.
|
||||||
|
It's not lossless, but it is designed for transparency, so that you won't be able to hear differences between the original wave file and the much smaller MPC file. It is based on the MPEG-1 Layer-2 / MP2 algorithms, but since 1997 it has rapidly developed and vastly improved and is now at an advanced stage in which it contains heavily optimized and patentless code.
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Group: Development/Libraries
|
||||||
|
Summary: Static libraries and headers for %{name}
|
||||||
|
Requires: %{name} = %{version}
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
Musepack is an audio compression format with a strong emphasis on high quality.
|
||||||
|
It's not lossless, but it is designed for transparency, so that you won't be able to hear differences between the original wave file and the much smaller MPC file. It is based on the MPEG-1 Layer-2 / MP2 algorithms, but since 1997 it has rapidly developed and vastly improved and is now at an advanced stage in which it contains heavily optimized and patentless code.
|
||||||
|
|
||||||
|
This package contains static libraries and header files need for development.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
|
||||||
|
%build
|
||||||
|
%configure
|
||||||
|
%make LDFLAGS="-Wl,-soname,libmpcdec.so.5"
|
||||||
|
|
||||||
|
%install
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
||||||
|
%makeinstall
|
||||||
|
|
||||||
|
%clean
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
||||||
|
|
||||||
|
%post -p /sbin/ldconfig
|
||||||
|
%postun -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_libdir}/*.so.*
|
||||||
|
%doc AUTHORS COPYING
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_includedir}/mpcdec/*.h
|
||||||
|
%{_libdir}/*.a
|
||||||
|
%{_libdir}/*.la
|
||||||
|
%{_libdir}/*.so
|
||||||
|
%doc ChangeLog INSTALL README
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Sat Nov 30 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.6-3mamba
|
||||||
|
- add LDFLAGS to build with correct SONAME
|
||||||
|
|
||||||
|
* Sun Aug 18 2013 Automatic Build System <autodist@mambasoft.it> 1.2.6-2mamba
|
||||||
|
- automatic rebuild by autodist
|
||||||
|
|
||||||
|
* Sun Jun 01 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.6-1mamba
|
||||||
|
- update to 1.2.6
|
||||||
|
|
||||||
|
* Mon Dec 05 2005 Stefano Cotta Ramusino <stefano.cotta@qilinux.it> 1.2.2-1qilnx
|
||||||
|
- update to version 1.2.2 by autospec
|
||||||
|
|
||||||
|
* Fri Jun 17 2005 Davide Madrisan <davide.madrisan@qilinux.it> 1.2-1qilnx
|
||||||
|
- package created by autospec
|
Loading…
Reference in New Issue
Block a user