rpms/openal/FC-3 .cvsignore, 1.3, 1.4 openal.spec, 1.6, 1.7 sources, 1.3, 1.4 openal-conf.patch, 1.1, NONE openal-etc_openalrc.patch, 1.1, NONE openal-incl.patch, 1.1, NONE

Andreas Bierfert (awjb) fedora-extras-commits at redhat.com
Thu Jan 19 08:43:25 UTC 2006


Author: awjb

Update of /cvs/extras/rpms/openal/FC-3
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv12189/FC-3

Modified Files:
	.cvsignore openal.spec sources 
Removed Files:
	openal-conf.patch openal-etc_openalrc.patch openal-incl.patch 
Log Message:
- use noncvs sources
- major cleanups



Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/openal/FC-3/.cvsignore,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- .cvsignore	8 Nov 2004 04:57:47 -0000	1.3
+++ .cvsignore	19 Jan 2006 08:43:25 -0000	1.4
@@ -1 +1 @@
-openal-20040726.tar.bz2
+openal-0.0.8.tar.gz


Index: openal.spec
===================================================================
RCS file: /cvs/extras/rpms/openal/FC-3/openal.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- openal.spec	2 Feb 2005 14:16:49 -0000	1.6
+++ openal.spec	19 Jan 2006 08:43:25 -0000	1.7
@@ -1,20 +1,13 @@
 Name:           openal
-Version:        0.0
-Release:        0.2.20040726
+Version:        0.0.8
+Release:        2%{?dist}
 Summary:        Open Audio Library
 
 Group:          System Environment/Libraries
 License:        LGPL
 URL:            http://www.openal.org/
-# use the following to get / verify source:
-#cvs -d:pserver:guest at opensource.creative.com:/usr/local/cvs-repository login
-#password: guest
-#cvs -d:pserver:guest at opensource.creative.com:/usr/local/cvs-repository export -D  20040726 openal
-Source0:        openal-20040726.tar.bz2
+Source0:        http://www.openal.org/openal_webstf/downloads/openal-0.0.8.tar.gz
 Source1:        openalrc
-Patch0:         openal-conf.patch
-Patch1:         openal-etc_openalrc.patch
-Patch2:         openal-incl.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  alsa-lib-devel
@@ -26,8 +19,7 @@
 BuildRequires:  libvorbis-devel
 BuildRequires:  SDL-devel
 BuildRequires:  texinfo
-Requires(post): info
-Requires(preun): info
+Obsoletes:      %{name}-test < 0.0.8
 
 %description
 OpenAL is an audio library designed in the spirit of OpenGL--machine
@@ -36,25 +28,13 @@
 
 
 %package        devel
-Summary:        Static libraries and header files for openal library
-Requires:       %{name} = %{version}-%{release}
+Summary:        Development files for openal library
 Group:          Development/Libraries
-
-%description    devel
-This package contains static libraries and header files for the openal library.
-
-OpenAL is an audio library designed in the spirit of OpenGL - machine
-independent, cross platform, and data format neutral, with a clean,
-simple C-based API.
-
-
-%package        test
-Summary:        Tests for openal library
 Requires:       %{name} = %{version}-%{release}
-Group:          Development/Libraries
+Requires:       pkgconfig
 
-%description    test
-This package contains tests for the openal library.
+%description    devel
+This package contains development files for the openal library.
 
 OpenAL is an audio library designed in the spirit of OpenGL - machine
 independent, cross platform, and data format neutral, with a clean,
@@ -62,15 +42,9 @@
 
 
 %prep
-%setup -q -n openal
-%patch0 -p1
-%patch1
-%patch2 -p1
-
+%setup -q
 
 %build
-cd linux
-sh ./autogen.sh
 %configure --enable-arts                   \
            --enable-alsa                   \
            --enable-esd                    \
@@ -78,74 +52,58 @@
            --enable-sdl                    \
            --disable-smpeg                 \
            --enable-capture
-
 make %{?_smp_mflags}
-make -C doc
-make -C test
 
 
 %install
-rm -rf ${RPM_BUILD_ROOT}
-make -C linux DESTDIR=${RPM_BUILD_ROOT}%{_prefix}/ \
-              DESTLIB=${RPM_BUILD_ROOT}%{_libdir} \
-              install
-#
-# tests
-install -m0755 -d ${RPM_BUILD_ROOT}%{_libdir}/openal
-cp -r linux/test/* ${RPM_BUILD_ROOT}%{_libdir}/openal
-rm -rf ${RPM_BUILD_ROOT}%{_libdir}/openal/*.o \
-       ${RPM_BUILD_ROOT}%{_libdir}/openal/Makefile* \
-       ${RPM_BUILD_ROOT}%{_libdir}/openal/CVS
-#
-# info 
-install -m0755 -d ${RPM_BUILD_ROOT}%{_infodir}
-install -m0644 linux/doc/openal.info ${RPM_BUILD_ROOT}%{_infodir}
-#
-
-#
-# configuration
-install -m0755 -d ${RPM_BUILD_ROOT}/etc
-install -m0644 %{SOURCE1} ${RPM_BUILD_ROOT}%{_sysconfdir}/openalrc
+rm -rf $RPM_BUILD_ROOT
+make install DESTDIR=${RPM_BUILD_ROOT}
 
+rm -f $RPM_BUILD_ROOT%{_libdir}/libopenal.{l,}a
 
-%clean
-rm -rf ${RPM_BUILD_ROOT}
-
+install -Dpm 644 %{SOURCE1} ${RPM_BUILD_ROOT}%{_sysconfdir}/openalrc
 
-%post
-/sbin/ldconfig
-/sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir 2>/dev/null || :
 
+%clean
+rm -rf ${RPM_BUILD_ROOT}
 
-%preun
-if [ "$1" -eq 0 ]; then
-  /sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir 2>/dev/null || :
-fi
-
+%post -p /sbin/ldconfig
 
 %postun -p /sbin/ldconfig
 
-
 %files
 %defattr(-,root,root,-)
-%doc CHANGES COPYING CREDITS README 
-%config %{_sysconfdir}/openalrc
-%attr(0644,root,root)%{_libdir}/libopenal.so.*
-%attr(0644,root,root)%{_infodir}/*.info*
+%doc AUTHORS ChangeLog COPYING NOTES README TODO
+%config(noreplace) %{_sysconfdir}/openalrc
+%{_libdir}/libopenal.so.*
 
 %files devel
 %defattr(-,root,root,-)
-%doc README
-%{_includedir}/AL
-%attr(0644,root,root)%{_libdir}/libopenal.a
-%attr(0644,root,root)%{_libdir}/libopenal.so
+%doc common/specification/*
+%{_bindir}/openal-config
+%{_includedir}/AL/
+%{_libdir}/libopenal.so
+%{_libdir}/pkgconfig/openal.pc
+
+
+%changelog
+* Thu Jan 19 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
+0.0.8-2
+- switch to non cvs sources
+- major cleanups
+
+* Sat Oct  8 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.0.8-1
+- 0.0.8, patches applied upstream.
+- Mark /etc/openalrc as noreplace.
+- Don't ship static library.
+- Drop test subpackage.
 
-%files test
-%defattr(-,root,root,-)
-%{_libdir}/openal
+* Sun May 22 2005 Jeremy Katz <katzj at redhat.com> - 0.0-0.4.20040726
+- rebuild on all arches
 
+* Fri Apr  7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 0.0-0.3.20040726
+- rebuilt
 
-%changelog -n openal
 * Thu Apr 08 2004 Phillip Compton <pcompton[AT]proteinmedia.com> - 0.0-0.2.fdr.0.20040726
 - Clean up spec/Bump release
 


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/openal/FC-3/sources,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- sources	8 Nov 2004 04:57:47 -0000	1.3
+++ sources	19 Jan 2006 08:43:25 -0000	1.4
@@ -1 +1 @@
-850583d59b54d7298ee843700d3add6f  openal-20040726.tar.bz2
+0379bd39fc84454491ef38434a2e6e8d  openal-0.0.8.tar.gz


--- openal-conf.patch DELETED ---


--- openal-etc_openalrc.patch DELETED ---


--- openal-incl.patch DELETED ---




More information about the fedora-extras-commits mailing list