diff --git a/.cvsignore b/.cvsignore index e69de29..5037a4a 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +openal-soft-1.8.466.tar.bz2 diff --git a/import.log b/import.log new file mode 100644 index 0000000..b158007 --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +openal-soft-1_8_466-6_fc11:HEAD:openal-soft-1.8.466-6.fc11.src.rpm:1249896240 diff --git a/openal-soft.patch b/openal-soft.patch new file mode 100644 index 0000000..3153add --- /dev/null +++ b/openal-soft.patch @@ -0,0 +1,12 @@ +--- CMakeLists.txt 2009-06-08 07:26:31.000000000 +0200 ++++ CMakeLists.txt 2009-08-08 01:11:51.000000000 +0200 +@@ -391,7 +391,7 @@ + # Needed for openal.pc.in + SET(prefix ${CMAKE_INSTALL_PREFIX}) + SET(exec_prefix "\${prefix}") +-SET(libdir "\${exec_prefix}/${LIB_INSTALL_DIR}") ++SET(libdir "\${exec_prefix}/lib${LIB_SUFFIX}") + SET(bindir "\${exec_prefix}/bin") + SET(includedir "\${prefix}/include") + SET(PACKAGE_VERSION "${LIB_VERSION}") + diff --git a/openal-soft.spec b/openal-soft.spec new file mode 100644 index 0000000..bc03049 --- /dev/null +++ b/openal-soft.spec @@ -0,0 +1,92 @@ +Name: openal-soft +Version: 1.8.466 +Release: 6%{?dist} +Summary: Open Audio Library + +Group: System Environment/Libraries +License: LGPLv2+ +URL: http://kcat.strangesoft.net/openal.html +Source0: http://kcat.strangesoft.net/openal-releases/openal-soft-%{version}.tar.bz2 +Patch1: openal-soft.patch +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: alsa-lib-devel +BuildRequires: pulseaudio-libs-devel +BuildRequires: portaudio-devel +BuildRequires: cmake +Obsoletes: openal <= 0.0.10 +Provides: openal = %{version} + +%description +OpenAL Soft is a cross-platform software implementation of the OpenAL 3D +audio API. It's built off of the open-sourced Windows version available +originally from the SVN repository at openal.org. OpenAL provides +capabilities for playing audio in a virtual 3d environment. Distance +attenuation, doppler shift, and directional sound emitters are among +the features handled by the API. More advanced effects, including air +absorption, low-pass filters, and reverb, are available through the +EFX extension. It also facilitates streaming audio, multi-channel buffers, +and audio capture. + +%package devel +Summary: Development files for %{name} +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} +Obsoletes: openal-devel <= 0.0.10 +Provides: openal-devel = %{version} + +%description devel +The %{name}-devel package contains libraries and header files for +developing applications that use %{name}. + +%prep +%setup -q +%patch1 -p0 -b .orig + +%build +%cmake . +make %{?_smp_mflags} + +%install +rm -rf $RPM_BUILD_ROOT +make install DESTDIR=$RPM_BUILD_ROOT +find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' + +%clean +rm -rf $RPM_BUILD_ROOT + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root,-) +%doc COPYING +%{_bindir}/openal-info +%{_libdir}/libopenal.so.* + +%files devel +%defattr(-,root,root,-) +%{_includedir}/* +%{_libdir}/libopenal.so +%{_libdir}/pkgconfig/openal.pc + +%changelog +* Sat Aug 08 2009 Thomas Kowaliczek - 1.8.466-6 +- Fixed license and pkgconfig problem thx goes to Christoph Wickert + +* Wed Aug 05 2009 Thomas Kowaliczek - 1.8.466-5 +- Fixed Obsoletes: and Provides: sections + +* Tue Aug 04 2009 Thomas Kowaliczek - 1.8.466-4 +- Added Obsoletes: openal <= 0.0.9 and remove Conflicts: openal-devel + +* Fri Jun 26 2009 Thomas Kowaliczek - 1.8.466-3 +- Fixed all warnings of rpmlint + +* Fri Jun 20 2009 Thomas Kowaliczek - 1.8.466-2 +- Updatet the SPEC and SRPM file because openal-soft-devel conflicts with +openal-devel + +* Fri Jun 20 2009 Thomas Kowaliczek - 1.8.466-1 +- Initial release for Fedora \ No newline at end of file diff --git a/sources b/sources index e69de29..0192d77 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +28d500e0a6b0a7a824b509ad9eaba7be openal-soft-1.8.466.tar.bz2