Name: liboggz Version: 0.9.1 Release: 2%{?dist} Summary: Simple programming interface for Ogg files and streams Group: System Environment/Libraries License: BSD URL: http://www.annodex.net/ Source: http://www.annodex.net/software/liboggz/download/%{name}-%{version}.tar.gz # fixed in upstream CVS Patch: liboggz.autotools.patch # fixed in upstream CVS Patch1: liboggz.corruption.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: doxygen BuildRequires: libogg-devel >= 1.0 # libtool BuildRequires: gcc-c++ # since we patch Makefile.am BuildRequires: libtool BuildRequires: automake BuildRequires: autoconf BuildRequires: pkgconfig %description Oggz provides a simple programming interface for reading and writing Ogg files and streams. Ogg is an interleaving data container developed by Monty at Xiph.Org, originally to support the Ogg Vorbis audio format. %package devel Summary: Files needed for development using liboggz Group: Development/Libraries Requires: liboggz = %{version} Requires: libogg-devel >= 1.0 Requires: pkgconfig %description devel Oggz provides a simple programming interface for reading and writing Ogg files and streams. Ogg is an interleaving data container developed by Monty at Xiph.Org, originally to support the Ogg Vorbis audio format. This package contains the header files and documentation needed for development using liboggz. %prep %setup -q -n %{name}-%{version} %patch -p1 %patch1 -p0 %build aclocal autoconf automake %configure make %install rm -rf $RPM_BUILD_ROOT %makeinstall # remove unpackaged files from the buildroot rm -f $RPM_BUILD_ROOT%{_libdir}/*.la # remove doxygen build stamp; fixed in upstream CVS rm -f $RPM_BUILD_ROOT%{_datadir}/doc/liboggz/doxygen-build.stamp %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc AUTHORS ChangeLog COPYING README # 0 length NEWS file # %doc NEWS %{_libdir}/liboggz.so.* %{_mandir}/man1/* %{_bindir}/oggz* %files devel %defattr(-,root,root) %{_libdir}/liboggz.so %{_libdir}/liboggz.a %{_libdir}/pkgconfig/oggz.pc %doc %{_docdir}/liboggz %{_includedir}/oggz/oggz*.h %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %changelog * Mon Jun 13 2005 Thomas Vander Stichele - 0.9.1-2: rpmlint cleanup * Fri Jun 03 2005 Thomas Vander Stichele - 0.9.1-1: initial package