[xiph-cvs] cvs commit: ogg libogg.spec

Michael Smith msmith at xiph.org
Thu Jul 18 23:44:10 PDT 2002



msmith      02/07/18 23:44:10

  Modified:    .        libogg.spec
  Log:
  Spec file updates from thomasvs

Revision  Changes    Path
1.17      +45 -35    ogg/libogg.spec

Index: libogg.spec
===================================================================
RCS file: /usr/local/cvsroot/ogg/libogg.spec,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- libogg.spec	2002/07/11 09:09:06	1.16
+++ libogg.spec	2002/07/19 06:44:10	1.17
@@ -1,63 +1,77 @@
-%define name	libogg
-%define version	1.0
-%define release 1
-
+Name:		libogg
+Version:	1.0
+Release:	1
 Summary:	Ogg Bitstream Library
-Name:		%{name}
-Version:	%{version}
-Release:	%{release}
-Group:		Libraries/Multimedia
-Copyright:	LGPL
+
+Group:		System Environment/Libraries
+License:	BSD
 URL:		http://www.xiph.org/
 Vendor:		Xiph.org Foundation <team at xiph.org>
-Source:		ftp://ftp.xiph.org/pub/ogg/%{name}-%{version}.tar.gz
-BuildRoot:	%{_tmppath}/%{name}-root
+Source:		http://www.xiph.org/pub/ogg/vorbis/download/%{name}-%{version}.tar.gz
 Prefix:		%{_prefix}
+BuildRoot:	%{_tmppath}/%{name}-%{version}-root
+# We're forced to use an epoch since both Red Hat and Ximian use it in their
+# rc packages
+Epoch:		2
+# Dirty trick to tell rpm that this package actually provides what the
+# last rc and beta was offering
+Provides:	%{name} = %{epoch}:1.0rc3-%{release}
+Provides:	%{name} = %{epoch}:1.0beta4-%{release}
 
 %description
 Libogg is a library for manipulating ogg bitstreams.  It handles
 both making ogg bitstreams and getting packets from ogg bitstreams.
 
 %package devel
-Summary: Ogg Bitstream Library Development
-Group: Development/Libraries
-Requires: libogg = %{version}
+Summary: 	Ogg Bitstream Library Development
+Group: 		Development/Libraries
+Requires: 	libogg = %{version}
+# Dirty trick to tell rpm that this package actually provides what the
+# last rc and beta was offering
+Provides:	%{name}-devel = %{epoch}:1.0rc3-%{release}
+Provides:	%{name}-devel = %{epoch}:1.0beta4-%{release}
+
 
 %description devel
-The libogg-devel package contains the header files and documentation
-needed to develop applications with libogg.
+The libogg-devel package contains the header files, static libraries
+and documentation needed to develop applications with libogg.
 
 %prep
 %setup -q -n %{name}-%{version}
 
 %build
-if [ ! -f configure ]; then
-  CFLAGS="$RPM_OPT_FLAGS" ./autogen.sh --prefix=%{_prefix}
-else
-  CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{_prefix}
-fi
+CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{_prefix} --enable-static
 make
 
 %install
 [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
+
 make DESTDIR=$RPM_BUILD_ROOT install
 
+%clean
+[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
+
+%post
+/sbin/ldconfig
+
+%postun
+/sbin/ldconfig
+
 %files
 %defattr(-,root,root)
-%doc AUTHORS
-%doc CHANGES
-%doc COPYING
-%doc README
+%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
+%doc doc/ogg/*.html
+%doc doc/ogg/style.css
 %{_includedir}/ogg/ogg.h
 %{_includedir}/ogg/os_types.h
 %{_includedir}/ogg/config_types.h
@@ -65,16 +79,12 @@
 %{_libdir}/libogg.so
 %{_datadir}/aclocal/ogg.m4
 
-%clean 
-[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
-
-%post
-/sbin/ldconfig
-
-%postun
-/sbin/ldconfig
-
 %changelog
+* Sun Jul 14 2002 Thomas Vander Stichele <thomas at apestaart.org>
+- update for 1.0 release
+- conform Group to Red Hat's idea of it
+- take out case where configure doesn't exist; a tarball should have it
+
 * Tue Dec 18 2001 Jack Moffitt <jack at xiph.org>
 - Update for RC3 release
 

<p><p><p>--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the commits mailing list