base-specs/libogg.spec
author chrisk
Mon, 31 Aug 2009 16:23:04 +0000
changeset 16434 f21f22550fe9
parent 16431 d7743d81b302
child 17844 dcae0546d241
permissions -rw-r--r--
2009-08-31 Christian Kelly <[email protected]> * base-specs/*.spec, *.spec: Change owner field to be parsable with spectool.

#
# spec file for package libogg (Version 1.0)
#
# Copyright (c) 2003 SuSE Linux AG, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://www.suse.de/feedback/
#
%define owner yippi
# bugdb: https://trac.xiph.org/
#
# neededforbuild  
# usedforbuild    aaa_base acl attr bash bind9-utils bison coreutils cpio cpp cvs cyrus-sasl2 db devs diffutils e2fsprogs file filesystem fillup findutils flex gawk gdbm-devel glibc glibc-devel glibc-locale gpm grep groff gzip info insserv kbd less libacl libattr libgcc libstdc++ libxcrypt m4 make man mktemp modutils ncurses ncurses-devel net-tools netcfg pam pam-devel pam-modules patch permissions ps rcs readline sed sendmail shadow strace syslogd sysvinit tar texinfo timezone unzip util-linux vim zlib zlib-devel autoconf automake binutils bzip2 cracklib gcc gdbm gettext libtool perl rpm

%define OSR 1570:1.x

Name:         libogg
License:      Xiph.org BSD-style
Group:        Libraries/Multimedia
Version:      1.1.4
Distribution: Java Desktop System
Vendor:       Sun Microsystems, Inc.
Summary:      Ogg Bitstream Library
Source:       http://downloads.xiph.org/releases/ogg/%{name}-%{version}.tar.gz
URL:          http://downloads.xiph.org/
Release:      92
BuildRoot:    %{_tmppath}/%{name}-%{version}-build

%description
Libogg is a library for manipulating ogg bitstreams.  It handles
both making ogg bitstreams and getting packets from ogg bitstreams.

Authors:
--------
    Monty <[email protected]>
    Xiphophorus Company <[email protected]>

%package devel
Summary:      Development package for libogg
Group:        Development/Libraries/C and C++
Requires:     %{name} = %{version}

%description devel
This package contains the header files and documentation
needed to develop applications with libogg.

Authors:
--------
    Monty <[email protected]>
    Xiphophorus Company <[email protected]>

%prep
%setup

%build

export CFLAGS="%optflags -I/usr/sfw/include -DANSICPP"
export ACLOCAL_FLAGS="-I %{_datadir}/aclocal"
export LDFLAGS="%_ldflags"

autoreconf --force --install
./configure --prefix=%{_prefix}		\
	    --libdir=%{_libdir}		\
	    --includedir=%{_includedir}	\
	    --datadir=%{_datadir}	\
	    --enable-shared		\
	    --disable-static
make

%install
make DESTDIR=$RPM_BUILD_ROOT docdir=%{_datadir}/gtk-doc/html/%{name}-devel install
# create an old compatible m4 file
sed -e s/XIPH_PATH_OGG/AM_PATH_OGG/g < $RPM_BUILD_ROOT%{_datadir}/aclocal/ogg.m4 > $RPM_BUILD_ROOT%{_datadir}/aclocal/ogg-old.m4

%post
%run_ldconfig

%clean
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc AUTHORS CHANGES COPYING README
%{_libdir}/lib*.so.*

%files devel
%defattr(-,root,root)
%{_includedir}/ogg
%{_libdir}/lib*.a
%{_libdir}/lib*.so
%{_libdir}/lib*.la
%{_datadir}/aclocal/*.m4
%{_datadir}/gtk-doc

%changelog -n libogg
* Wed Jul 15 2009 - [email protected]
- Bump to 1.1.4.
* Mon May 05 2008 - [email protected]
- Now support building 64-bit libraries.
* Tue Dec 27 2005 - [email protected]
- Bump to 1.1.3.
* Mon Jun 06 2005 - [email protected]
- Fixed PKG_CONFIG_PATH so libogg-02-uninstalled-pc.diff is no longer
  necessary.  Removed libogg-01-configure.diff since it is no longer
  needed either.
* Wed Aug 25 2004 - [email protected]
- Moved gtk-docs to %{_datadir}/gtk-doc.
* Thu Jan 09 2003 - [email protected]
- Add *.la files to -devel filelist
* Thu Sep 19 2002 - [email protected]
- fixed the conflict between the last ogg.m4 fix and 64bit
  fix patches.
- moved devel documents under %%{_docdir}/libogg-devel.
* Tue Sep 17 2002 - [email protected]
- ogg.m4:
- If prefix is /usr, don't add -I$prefix/include to OGG_CFLAGS
  and don't add -L$prefix/lib to OGG_LIBS. While the latter is
  just unnecessary, the former can be dangerous and will make
  gcc warn.
- Fix test for prefix.
* Mon Aug 12 2002 - [email protected]
- added Requires %%{name} = %%{version} to devel package.
* Tue Jul 23 2002 - [email protected]
- provides the backward compatible m4 file.
* Mon Jul 22 2002 - [email protected]
- updated to version 1.0.
- clean up the spec file.
- added %%run_ldconfig.
* Mon Jun 10 2002 - [email protected]
- fix ogg.m4 for lib64 systems
* Thu Apr 18 2002 - [email protected]
- Add --libdir to configure to compile on x86_64
* Thu Feb 07 2002 - [email protected]
- fixed compile on s390x.
* Fri Jan 04 2002 - [email protected]
- updated to RC3.
  sync with cvs 2002.01.04.
* Tue Dec 04 2001 - [email protected]
- sync with cvs 2001.12.04.
* Wed Oct 24 2001 - [email protected]
- sync with cvs 20011024.
  + fixed documents
- removed Requires to libogg from devel.
* Mon Aug 13 2001 - [email protected]
- updated to 1.0rc2 from cvs 20010813.
* Thu Jun 07 2001 - [email protected]
- fixed build with the recent libtool.
* Mon Mar 12 2001 - [email protected]
- corrected copyright in spec file.
* Mon Feb 26 2001 - [email protected]
- Updated to 1.0beta4.
* Wed Jan 31 2001 - [email protected]
- Initial version: 1.0beta3.