]> git.pld-linux.org Git - packages/54321.git/commitdiff
- BR: SDL-devel >= 1.2.11-2
authorsparky <sparky@pld-linux.org>
Sun, 5 Nov 2006 21:45:22 +0000 (21:45 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- add linking patch
- add rpmldflags
- don't strip

Changed files:
    54321.spec -> 1.21

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.087187 seconds and 4 git commands to generate.