liboggz/liboggz.spec

101 lines
2.7 KiB
RPMSpec
Raw Normal View History

Name: liboggz
2006-03-05 15:59:22 +00:00
Version: 0.9.4
Release: 1%{?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
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: libogg-devel >= 1.0
2005-11-13 10:49:01 +00:00
BuildRequires: doxygen
BuildRequires: docbook-utils
# libtool
BuildRequires: gcc-c++
%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}
2005-06-16 19:04:15 +00:00
%build
%configure
make
%install
rm -rf $RPM_BUILD_ROOT
2005-07-19 10:14:24 +00:00
%makeinstall docdir=$RPM_BUILD_ROOT%{_datadir}/doc/%{name}-devel-%{version}
# remove unpackaged files from the buildroot
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
2005-07-19 10:14:24 +00:00
# not particularly interested in the tex docs, the html version has everything
rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/%{name}-devel-%{version}/latex
%clean
rm -rf $RPM_BUILD_ROOT
2005-07-19 10:14:24 +00:00
%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)
2005-07-19 10:14:24 +00:00
%{_includedir}/oggz
%{_libdir}/liboggz.so
%{_libdir}/liboggz.a
%{_libdir}/pkgconfig/oggz.pc
2005-07-19 10:14:24 +00:00
%doc %{_docdir}/%{name}-devel-%{version}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%changelog
2006-03-05 15:54:08 +00:00
* Sun Mar 05 2006 Thomas Vander Stichele <thomas at apestaart dot org>
- 0.9.4-1
- new upstream release
- removed patch, was applied upstream
2005-11-13 10:49:01 +00:00
* Sat Nov 12 2005 Thomas Vander Stichele <thomas at apestaart dot org>
- 0.9.3-1
- new upstream release
2005-07-19 10:14:24 +00:00
* Mon Jul 18 2005 Thomas Vander Stichele <thomas at apestaart dot org>
- 0.9.2-1
- new upstream version
- removed patches
- moved devel docs to versioned location
2005-06-16 19:04:15 +00:00
* Mon Jun 13 2005 Thomas Vander Stichele <thomas at apestaart dot org>
- 0.9.1-2: rpmlint cleanup
* Fri Jun 03 2005 Thomas Vander Stichele <thomas at apestaart dot org>
- 0.9.1-1: initial package