117 lines
3.7 KiB
RPMSpec
117 lines
3.7 KiB
RPMSpec
#%define fileversion III-%(echo %version | cut -d. -f 2-3)
|
|
Name: cdparanoia
|
|
Version: 10.2
|
|
Release: 1mamba
|
|
Epoch: 1
|
|
Summary: Cdparanoia extracts audio from compact discs directly as data
|
|
Group: System/Kernel and Hardware
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: http://www.xiph.org/paranoia/
|
|
Source: http://downloads.xiph.org/releases/cdparanoia/cdparanoia-III-%{version}.src.tgz
|
|
Patch0: cdparanoia-3.10.2-gcc43.patch
|
|
Patch1: cdparanoia-3.10.2-endian.patch
|
|
License: GPL
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
Provides: cdparanoia-III
|
|
Obsoletes: cdparanoia-III
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
## AUTOBUILDREQ-END
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
%description
|
|
Cdparanoia extracts audio from compact discs directly as data, with no analog step between, and writes the data to a file or pipe in WAV, AIFC, AIFC or raw 16 bit linear PCM.
|
|
|
|
%package -n lib%{name}
|
|
Summary: Library to read CD Digital Audio disks
|
|
Group: System/Libraries
|
|
|
|
%description -n lib%{name}
|
|
Cdparanoia extracts audio from compact discs directly as data, with no analog step between, and writes the data to a file or pipe in WAV, AIFC, AIFC or raw 16 bit linear PCM.
|
|
|
|
This package contains shared libraries needed for applications which read CD Digital Audio disks.
|
|
|
|
%package -n lib%{name}-devel
|
|
Summary: Static libraries and headers for lib%{name}
|
|
Group: Development/Libraries
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
Provides: cdparanoia-III-devel
|
|
Obsoletes: cdparanoia-III-devel
|
|
|
|
%description -n lib%{name}-devel
|
|
Cdparanoia extracts audio from compact discs directly as data, with no analog step between, and writes the data to a file or pipe in WAV, AIFC, AIFC or raw 16 bit linear PCM.
|
|
|
|
This package contains static libraries and header files need for development.
|
|
|
|
%prep
|
|
%setup -q -n %{name}-III-%{version}
|
|
%patch0 -p1
|
|
%patch1 -p1
|
|
|
|
%build
|
|
%configure
|
|
%make -j1
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%makeoldinstall \
|
|
BINDIR=%{buildroot}%{_bindir} \
|
|
LIBDIR=%{buildroot}%{_libdir} \
|
|
INCLUDEDIR=%{buildroot}%{_includedir} \
|
|
MANDIR=%{buildroot}%{_mandir}
|
|
|
|
%post -n lib%{name} -p /sbin/ldconfig
|
|
%postun -n lib%{name} -p /sbin/ldconfig
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{_bindir}/*
|
|
%{_mandir}/man1/cdparanoia.*
|
|
|
|
%files -n lib%{name}
|
|
%defattr(-,root,root)
|
|
%{_libdir}/libcdda_interface.so.*
|
|
%{_libdir}/libcdda_paranoia.so.*
|
|
%doc COPYING*
|
|
|
|
%files -n lib%{name}-devel
|
|
%defattr(-,root,root)
|
|
%{_libdir}/libcdda_interface.a
|
|
%{_libdir}/libcdda_interface.so
|
|
%{_libdir}/libcdda_paranoia.a
|
|
%{_libdir}/libcdda_paranoia.so
|
|
%{_includedir}/*.h
|
|
%doc README
|
|
|
|
%changelog
|
|
* Mon Jul 30 2012 Automatic Build System <autodist@mambasoft.it> 10.2-1mamba
|
|
- update to 10.2
|
|
|
|
* Thu Apr 08 2010 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 3.10.2-3mamba
|
|
- changed package name to cdparanoia
|
|
- new package libcdparanoia
|
|
|
|
* Wed May 13 2009 gil <puntogil@libero.it> 10.2-2mamba
|
|
- added patch to make compatible with gcc 4.3 ('private' becoming a reserved keyword)
|
|
- added patch to avoid big-endian crash
|
|
|
|
* Wed Apr 15 2009 gil <puntogil@libero.it> 10.2-1mamba
|
|
- update to 10.2
|
|
|
|
* Tue Apr 08 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 9.8-4mamba
|
|
- specfile updates
|
|
|
|
* Wed May 10 2006 Stefano Cotta Ramusino <stefano.cotta@qilinux.it> 9.8-3qilnx
|
|
- specfile fixed and updated
|
|
|
|
* Thu Oct 28 2004 Silvan Calarco <silvan.calarco@qinet.it> 9.8-2qilnx
|
|
- rebuild with gcc 3.4 (patch added)
|
|
|
|
* Fri Jul 11 2003 Silvan Calarco <silvan.calarco@qinet.it> 9.8-1qilnx
|
|
- first build for cdparanoia-III
|