diff --git a/README.md b/README.md index dfcad12..42ca4d6 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libvorbisidec +A fixed-point version of the Ogg Vorbis decoder for platforms that can' do floating point math. + diff --git a/libvorbisidec.spec b/libvorbisidec.spec new file mode 100644 index 0000000..84c3295 --- /dev/null +++ b/libvorbisidec.spec @@ -0,0 +1,66 @@ +Name: libvorbisidec +Version: 1.2.0 +Release: 1mamba +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 +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 need for development. + +%prep +%setup -q + +%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}/*.so.* +%doc COPYING + +%files devel +%defattr(-,root,root) +%{_prefix}/include/tremor/*.h +%{_libdir}/*.a +%{_libdir}/*.la +%{_libdir}/*.so +%{_libdir}/pkgconfig/*.pc +%doc README + +%changelog +* Sat Dec 11 2010 Silvan Calarco 1.2.0-1mamba +- package created by autospec