]> git.pld-linux.org Git - packages/54321.git/blobdiff - 54321.spec
- BR: SDL-devel >= 1.2.11-2
[packages/54321.git] / 54321.spec
index a30fad7b1170c7ffe01a1924b358097f0d541949..52990c93261ba9e74342e62cf7b334f1f312fc42 100644 (file)
@@ -5,12 +5,13 @@ Version:      1.0.2001.11.16
 Release:       3
 License:       GPL
 Group:         X11/Applications/Games
-Source0:       http://nklein.com/products/54321/1.0.2001.11.16/%{name}.tgz
+Source0:       http://nklein.com/products/54321/%{version}/%{name}.tgz
 # Source0-md5: 20b2ad52ef45742c1a65911b225b6ddc
 Source1:       %{name}.desktop
 Patch0:                %{name}-sdl_include_dir_fix.patch
+Patch1:                %{name}-linking.patch
 URL:           http://www.nklein.com/products/54321/
-BuildRequires: SDL-devel
+BuildRequires: SDL-devel >= 1.2.11-2
 BuildRequires: SDL_image-devel
 Requires:      SDL >= 1.2.4
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -28,12 +29,15 @@ gracza. Gry bazuj
 %prep
 %setup -q -n 54321
 %patch0 -p1
+%patch1 -p1
 
 %build
 %{__make} -f GNUmakefile \
        CC="%{__cc}" \
        CXX="%{__cxx}" \
-       CXXFLAGS="%{rpmcflags} -I/usr/include/SDL -DNDEBUG=1"
+       LDFLAGS="%{rpmldflags}" \
+       CXXFLAGS="%{rpmcflags} -I/usr/include/SDL -DNDEBUG=1" \
+       STRIP="echo"
 
 %install
 rm -rf $RPM_BUILD_ROOT
This page took 0.036185 seconds and 4 git commands to generate.