libvorbisidec/libvorbisidec.spec

72 lines
1.9 KiB
RPMSpec

Name: libvorbisidec
Version: 1.2.0
Release: 2mamba
Summary: A fixed-point version of the Ogg Vorbis decoder for platforms that can' do floating point math
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://wiki.xiph.org/Tremor
# Source package got with:
# svn co http://svn.xiph.org/trunk/Tremor/
Source: http://svn.xiph.org/trunk/Tremor//libvorbisidec-%{version}.tar.gz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libogg-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
A fixed-point version of the Ogg Vorbis decoder for platforms that can' do floating point math.
%package devel
Group: Development/Libraries
Summary: Static libraries and headers for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
A fixed-point version of the Ogg Vorbis decoder for platforms that can' do floating point math.
This package contains static libraries and header files needed for development.
%debug_package
%prep
%setup -q
sed -i "s,| arm-\* |,| aarch64-\* | arm-\* |," config.sub
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_libdir}/libvorbisidec.so.*
%doc COPYING
%files devel
%defattr(-,root,root)
%{_prefix}/include/tremor/*.h
%{_libdir}/libvorbisidec.a
%{_libdir}/libvorbisidec.la
%{_libdir}/libvorbisidec.so
%{_libdir}/pkgconfig/*.pc
%doc README
%changelog
* Thu Dec 03 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.0-2mamba
- rebuilt with debug package and aarch64 build fix
* Sat Dec 11 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.0-1mamba
- package created by autospec