libogg/libogg.spec

117 lines
2.8 KiB
RPMSpec
Raw Normal View History

Summary: The Ogg bitstream file format library.
Name: libogg
Version: 1.0
Release: 1
Serial: 2
Group: System Environment/Libraries
Copyright: BSD
URL: http://www.xiph.org/
Source: http://www.xiph.org/pub/ogg/vorbis/download/libogg-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Libogg is a library for manipulating Ogg bitstream file formats.
Libogg supports both making Ogg bitstreams and getting packets from
Ogg bitstreams.
%package devel
Summary: Files needed for development using libogg.
Group: Development/Libraries
Requires: libogg = %{version}
%description devel
Libogg is a library used for manipulating Ogg bitstreams. The
libogg-devel package contains the header files and documentation
needed for development using libogg.
%prep
%setup -q -n %{name}-%{version}
%build
perl -p -i -e "s/-O20/$RPM_OPT_FLAGS/" configure
perl -p -i -e "s/-ffast-math//" configure
%configure
make
%install
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
%files
%defattr(-,root,root)
%doc AUTHORS CHANGES COPYING README
%{_libdir}/libogg.so.*
%files devel
%defattr(-,root,root)
%doc doc/index.html
%doc doc/framing.html
%doc doc/oggstream.html
%doc doc/white-ogg.png
%doc doc/white-xifish.png
%doc doc/stream.png
%doc doc/ogg
%dir %{_includedir}/ogg
%{_includedir}/ogg/ogg.h
%{_includedir}/ogg/os_types.h
%{_includedir}/ogg/config_types.h
%{_libdir}/libogg.a
%{_libdir}/libogg.so
%{_datadir}/aclocal/ogg.m4
%clean
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%changelog
* Fri Jul 18 2002 Bill Nottingham <notting@redhat.com> 1.0-1
- one-dot-oh
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
- automated rebuild
* Thu May 23 2002 Tim Powers <timp@redhat.com>
- automated rebuild
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
- automated rebuild
* Tue Jan 1 2002 Bill Nottingham <notting@redhat.com>
- update to 1.0rc3
* Mon Aug 13 2001 Bill Nottingham <notting@redhat.com>
- update to 1.0rc2
* Fri Jul 6 2001 Bill Nottingham <notting@redhat.com>
- own %%{_includedir}/ogg
* Tue Jun 19 2001 Bill Nottingham <notting@redhat.com>
- update to 1.0rc1
* Mon Feb 26 2001 Bill Nottingham <notting@redhat.com>
- fix license tag
* Mon Feb 26 2001 Bill Nottingham <notting@redhat.com>
- beta4
* Tue Feb 6 2001 Bill Nottingham <notting@redhat.com>
- update CVS in prep for beta4
* Thu Dec 27 2000 Bill Nottingham <notting@redhat.com>
- update CVS
* Tue Dec 11 2000 Bill Nottingham <notting@redhat.com>
- fix bogus group
* Fri Dec 01 2000 Bill Nottingham <notting@redhat.com>
- rebuild because of broken fileutils
* Mon Nov 13 2000 Bill Nottingham <notting@redhat.com>
- clean up specfile slightly
* Sat Sep 02 2000 Jack Moffitt <jack@icecast.org>
- initial spec file created