From b858948f3275966dee8ceeaa148e0fd25b610557 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Sat, 3 Oct 2009 21:25:47 +0000 Subject: [PATCH 1/4] Initialize branch F-12 for alure --- branch | 1 + 1 file changed, 1 insertion(+) create mode 100644 branch diff --git a/branch b/branch new file mode 100644 index 0000000..06de2d2 --- /dev/null +++ b/branch @@ -0,0 +1 @@ +F-12 From 0133e9cc25010648bef365ec47a3b2b95aa983de Mon Sep 17 00:00:00 2001 From: Guido Grazioli Date: Sun, 4 Oct 2009 22:14:41 +0000 Subject: [PATCH 2/4] - Fixed license for -devel subpackage - Included sample code in -devel subpackage - Sanitized %%files Tue Sep 29 2009 Guido Grazioli - 1.0-3 - Renamed from libalure to alure - Fixed license Mon Sep 28 2009 Guido Grazioli - 1.0-2 - Fix multilib pkgconfig path Sat Sep 26 2009 Guido Grazioli - 1.0-1 - Initial packaging --- .cvsignore | 1 + alure.spec | 97 ++++++++++++++++++++++++++++++++++ alure_compile_with_gcc44.patch | 10 ++++ alure_multilib_pkgconfig.patch | 11 ++++ import.log | 1 + sources | 1 + 6 files changed, 121 insertions(+) create mode 100644 alure.spec create mode 100644 alure_compile_with_gcc44.patch create mode 100644 alure_multilib_pkgconfig.patch create mode 100644 import.log diff --git a/.cvsignore b/.cvsignore index e69de29..d9722c6 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +alure-1.0-src.tar.bz2 diff --git a/alure.spec b/alure.spec new file mode 100644 index 0000000..2032287 --- /dev/null +++ b/alure.spec @@ -0,0 +1,97 @@ +Name: alure +Version: 1.0 +Release: 4%{?dist} +Summary: Audio Library Tools REloaded +Group: System Environment/Libraries +# ALURE code is LGPLv2+; note -devel subpackage has its own license tag +License: LGPLv2+ +URL: http://kcat.strangesoft.net/alure.html +Source0: http://kcat.strangesoft.net/%{name}-releases/%{name}-%{version}-src.tar.bz2 +# patch to compile with GCC 4.4 +Patch0: alure_compile_with_gcc44.patch +# set correct pkgconfig path for multilib +Patch1: alure_multilib_pkgconfig.patch +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +# flac-devel not BRed as build against flac currently fails +BuildRequires: cmake, libvorbis-devel, libsndfile-devel, openal-devel + + +%description +ALURE is a utility library to help manage common tasks with OpenAL +applications. This includes device enumeration and initialization, +file loading, and streaming. + + +%package devel +Summary: Development files for %{name} +Group: Development/Libraries +# Devel doc includes some files under GPLv2+ from NaturalDocs +License: LGPLv2+ and GPLv2+ +Requires: %{name} = %{version}-%{release} +Requires: pkgconfig + + +%description devel +The %{name}-devel package contains libraries and header files for +developing applications that use %{name}. + + +%prep +%setup -q +%patch0 -p1 +%patch1 -p1 + + +%build +# disable build against FLAC (currently fails) +%cmake . -DFLAC:BOOL=OFF +make VERBOSE=1 %{?_smp_mflags} + + +%install +rm -rf %{buildroot} +make install DESTDIR=%{buildroot} +find %{buildroot} -name '*.la' -exec rm -f {} ';' +# strip installed html doc +rm -rf %{buildroot}%{_docdir}/alure/html + + +%clean +rm -rf %{buildroot} + + +%post -p /sbin/ldconfig + + +%postun -p /sbin/ldconfig + + +%files +%defattr(-,root,root,-) +%doc COPYING +%{_libdir}/*.so.* + + +%files devel +%defattr(-,root,root,-) +%doc docs/html examples +%{_includedir}/AL/ +%{_libdir}/*.so +%{_libdir}/pkgconfig/*.pc + + +%changelog +* Thu Oct 01 2009 Guido Grazioli - 1.0-4 +- Fixed license for -devel subpackage +- Included sample code in -devel subpackage +- Sanitized %%files + +* Tue Sep 29 2009 Guido Grazioli - 1.0-3 +- Renamed from libalure to alure +- Fixed license + +* Mon Sep 28 2009 Guido Grazioli - 1.0-2 +- Fix multilib pkgconfig path + +* Sat Sep 26 2009 Guido Grazioli - 1.0-1 +- Initial packaging diff --git a/alure_compile_with_gcc44.patch b/alure_compile_with_gcc44.patch new file mode 100644 index 0000000..1add56a --- /dev/null +++ b/alure_compile_with_gcc44.patch @@ -0,0 +1,10 @@ +--- A/src/stream.cpp 2009-09-28 04:17:12.511762978 +0200 ++++ B/src/stream.cpp 2009-09-28 04:17:25.200016279 +0200 +@@ -10,6 +10,7 @@ + #include + #include + #include ++#include + + + struct nullStream : public alureStream { diff --git a/alure_multilib_pkgconfig.patch b/alure_multilib_pkgconfig.patch new file mode 100644 index 0000000..47ae88e --- /dev/null +++ b/alure_multilib_pkgconfig.patch @@ -0,0 +1,11 @@ +--- A/CMakeLists.txt 2009-09-28 15:55:01.864452396 +0200 ++++ B/CMakeLists.txt 2009-09-28 15:55:28.513440879 +0200 +@@ -323,7 +323,7 @@ + DESTINATION "include/${INCPATH}" + ) + INSTALL(FILES "${ALURE_BINARY_DIR}/alure.pc" +- DESTINATION lib/pkgconfig ++ DESTINATION ${LIB_INSTALL_DIR}/pkgconfig + ) + + diff --git a/import.log b/import.log new file mode 100644 index 0000000..5c37e72 --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +alure-1_0-4_fc11:F-12:alure-1.0-4.fc11.src.rpm:1254694400 diff --git a/sources b/sources index e69de29..7065638 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +48a81287f2caf2adc5870cd075e70c9c alure-1.0-src.tar.bz2 From f95a38151db2ca432ebdfa59f17a9ca161dfee70 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Thu, 26 Nov 2009 01:27:04 +0000 Subject: [PATCH 3/4] Fix typo that causes a failure to update the common directory. (releng #2781) --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 4e2ce38..54e2bf3 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,10 @@ # Makefile for source rpm: alure -# $Id$ +# $Id: Makefile,v 1.1 2009/10/03 21:25:45 kevin Exp $ NAME := alure SPECFILE = $(firstword $(wildcard *.spec)) define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done +for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done endef MAKEFILE_COMMON := $(shell $(find-makefile-common)) From b991a57373cd91cac34c61347117cb5fa3fa8311 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 28 Jul 2010 09:46:50 +0000 Subject: [PATCH 4/4] dist-git conversion --- .cvsignore => .gitignore | 0 Makefile | 21 --------------------- branch | 1 - import.log | 1 - 4 files changed, 23 deletions(-) rename .cvsignore => .gitignore (100%) delete mode 100644 Makefile delete mode 100644 branch delete mode 100644 import.log diff --git a/.cvsignore b/.gitignore similarity index 100% rename from .cvsignore rename to .gitignore diff --git a/Makefile b/Makefile deleted file mode 100644 index 54e2bf3..0000000 --- a/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Makefile for source rpm: alure -# $Id: Makefile,v 1.1 2009/10/03 21:25:45 kevin Exp $ -NAME := alure -SPECFILE = $(firstword $(wildcard *.spec)) - -define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done -endef - -MAKEFILE_COMMON := $(shell $(find-makefile-common)) - -ifeq ($(MAKEFILE_COMMON),) -# attept a checkout -define checkout-makefile-common -test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2 -endef - -MAKEFILE_COMMON := $(shell $(checkout-makefile-common)) -endif - -include $(MAKEFILE_COMMON) diff --git a/branch b/branch deleted file mode 100644 index 06de2d2..0000000 --- a/branch +++ /dev/null @@ -1 +0,0 @@ -F-12 diff --git a/import.log b/import.log deleted file mode 100644 index 5c37e72..0000000 --- a/import.log +++ /dev/null @@ -1 +0,0 @@ -alure-1_0-4_fc11:F-12:alure-1.0-4.fc11.src.rpm:1254694400