SPECS: apricots.spec - fixed building with new OpenAL

wolf wolf at pld-linux.org
Sun May 28 21:09:29 CEST 2006


Author: wolf                         Date: Sun May 28 19:09:29 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- fixed building with new OpenAL

---- Files affected:
SPECS:
   apricots.spec (1.4 -> 1.5) 

---- Diffs:

================================================================
Index: SPECS/apricots.spec
diff -u SPECS/apricots.spec:1.4 SPECS/apricots.spec:1.5
--- SPECS/apricots.spec:1.4	Sat May 28 03:01:58 2005
+++ SPECS/apricots.spec	Sun May 28 21:09:24 2006
@@ -3,17 +3,18 @@
 Summary(pl):	Gra, polegająca na lataniu samolotem, strzelaniu do różnych rzeczy i zrzucaniu bomb
 Name:		apricots
 Version:	0.2.6
-Release:	1
+Release:	2
 License:	GPL
 Group:		X11/Applications/Games
 Source0:	http://www.fishies.org.uk/%{name}-%{version}.tar.gz
 # Source0-md5:	910828d717e46d8cbd9c24f702d09fbc
 Patch0:		%{name}-destdir.patch
+Patch1:		%{name}-alut.patch
 URL:		http://www.fishies.org.uk/apricots.html
-BuildRequires:	OpenAL-devel
 BuildRequires:	SDL-devel
 BuildRequires:	autoconf
 BuildRequires:	automake
+BuildRequires:	freealut-devel
 BuildRequires:	libstdc++-devel
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -28,6 +29,7 @@
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 cp /usr/share/automake/config.sub admin
@@ -35,7 +37,8 @@
 %{__autoconf}
 %{__automake}
 %configure
-%{__make}
+%{__make} \
+	LDFLAGS="-lalut"
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -58,6 +61,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.5  2006/05/28 19:09:24  wolf
+- fixed building with new OpenAL
+
 Revision 1.4  2005/05/28 01:01:58  zbyniu
 - BR: libstdc++-devel
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/apricots.spec?r1=1.4&r2=1.5&f=u



More information about the pld-cvs-commit mailing list