rpms/openalpp/devel openalpp-cvs-debian-01.dpatch, NONE, 1.1 openalpp.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Christopher Stone (xulchris) fedora-extras-commits at redhat.com
Wed May 31 08:04:45 UTC 2006


Author: xulchris

Update of /cvs/extras/rpms/openalpp/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv17725/devel

Modified Files:
	.cvsignore sources 
Added Files:
	openalpp-cvs-debian-01.dpatch openalpp.spec 
Log Message:
auto-import openalpp-20060405-3 on branch devel from openalpp-20060405-3.src.rpm


--- NEW FILE openalpp-cvs-debian-01.dpatch ---
#! /bin/sh /usr/share/dpatch/dpatch-run

@DPATCH@
Index: configure.in
===================================================================
RCS file: /cvs/underware/openalpp/configure.in,v
retrieving revision 1.11
diff -b -B -u -u -r1.11 configure.in
--- openalpp/configure.in	7 Apr 2006 17:16:29 -0000	1.11
+++ openalpp/configure.in	7 May 2006 19:31:53 -0000
@@ -70,6 +70,11 @@
 AC_CHECK_LIB(openal,main)
 AC_CHECK_LIB(alut,main)
 
+if test "$ac_cv_lib_alut_main" = "yes" ; then
+   ALUT_LIB=-lalut
+fi
+AC_SUBST(ALUT_LIB)
+
 #
 # Was introduced sometime in 2005, does not show pre-2005
 # #define ALC_STEREO_SOURCES                       0x1011
Index: openalpp.pc.in
===================================================================
RCS file: /cvs/underware/openalpp/openalpp.pc.in,v
retrieving revision 1.3
diff -b -B -u -u -r1.3 openalpp.pc.in
--- openalpp/openalpp.pc.in	28 Oct 2004 15:20:15 -0000	1.3
+++ openalpp/openalpp.pc.in	7 May 2006 19:31:53 -0000
@@ -7,5 +7,5 @@
 Description: OpenAL C++ Abstraction Layer
 Version: @VERSION@
 Requires: openthreads, vorbis, vorbisfile
-Libs: -L${libdir} -lopenalpp -lopenal
+Libs: -L${libdir} -lopenalpp -lopenal @ALUT_LIB@
 Cflags: -I${includedir} 
Index: src/sourcebase.cpp
===================================================================
RCS file: /cvs/underware/openalpp/src/sourcebase.cpp,v
retrieving revision 1.1.1.3
diff -b -B -u -u -r1.1.1.3 sourcebase.cpp
--- openalpp/src/sourcebase.cpp	7 Sep 2005 12:21:42 -0000	1.1.1.3
+++ openalpp/src/sourcebase.cpp	7 May 2006 19:31:53 -0000
@@ -168,7 +168,7 @@
   ALint state;
   alGetSourceiv(sourcename_,AL_SOURCE_STATE,&state);
 
-  if (ALenum errorCode = alGetError() != AL_FALSE)
+  if (alGetError() != AL_FALSE)
   {
       /** error occurs here when switching files
       fprintf(stderr, "SourceBase::getState() - Warning - Error getting state (%d)\n",


--- NEW FILE openalpp.spec ---
Name:           openalpp
Version:	20060405
Release:        3%{?dist}
Summary:        Object Oriented version of OpenAL
Group:          System Environment/Libraries
License:        LGPL
URL:            http://alpp.sourceforge.net
Patch0:         openalpp-cvs-debian-01.dpatch
Source0:        http://download.gna.org/underware/sources/%{name}-cvs-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires:  openal-devel freealut-devel libvorbis-devel OpenThreads-devel

%description
Written in C++, makes OpenAL so much more accessible. Compare openalpp to a
scenegraph for OpenGL.

%package devel
Summary:        Development files for %{name}
Group:          Development/Libraries
Requires:       %{name} = %{version}-%{release}

%description devel
This package contains headers and libraries required to build applications that
use %{name}.

%prep
%setup -q -n %{name}-cvs-%{version}
%patch0 -p1
autoreconf --force --install

%build
%configure --disable-static
%{__make} %{?_smp_mflags}

%install
%{__rm} -rf %{buildroot}
%makeinstall

%clean
%{__rm} -rf %{buildroot}

%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig

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

%files devel
%{_includedir}/openalpp
%{_libdir}/pkgconfig/%{name}.pc
%{_libdir}/*.so
%exclude %{_libdir}/*.la

%changelog
* Tue May 30 2006 Christopher Stone <chris.stone at gmail.com> 20060405-3
- Fix Group
- Fix patch number

* Sun May 21 2006 Christopher Stone <chris.stone at gmail.com> 20060405-2
- Remove unneeded Requires
- Remove portaudio from BuildRequires
- Add autoreconf to %%prep

* Mon Apr 10 2006 Loic Dachary <loic at gnu.org> 20060405-1
- upstream sync

* Sun Mar 26 2006 Christopher Stone <chris.stone at gmail.com> 20060321-2
- Remove docs package
- Fix BuildRequires and Requires
- Remove unneeded autoconf

* Wed Mar 22 2006 Loic Dachary <loic at gnu.org> 20060321-1
- Initial RPM release


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/openalpp/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	31 May 2006 08:03:53 -0000	1.1
+++ .cvsignore	31 May 2006 08:04:45 -0000	1.2
@@ -0,0 +1 @@
+openalpp-cvs-20060405.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/openalpp/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	31 May 2006 08:03:53 -0000	1.1
+++ sources	31 May 2006 08:04:45 -0000	1.2
@@ -0,0 +1 @@
+f3e8fe435495e9f373c561f93a87e30e  openalpp-cvs-20060405.tar.gz




More information about the fedora-extras-commits mailing list