]> git.pld-linux.org Git - packages/gav.git/blobdiff - gav.spec
- tabs in preamble
[packages/gav.git] / gav.spec
index 87dffd525578ae2f1aebcab3d6530a9a139845b6..a94fc4ad99fb01036a2e186fb19dbb640d9beb75 100644 (file)
--- a/gav.spec
+++ b/gav.spec
@@ -1,33 +1,59 @@
 Summary:       GPL Arcade Volleyball
-Summary(pl):   Gra zrêczno¶ciowa w siatkówkê
+Summary(pl.UTF-8):     Gra zręcznościowa w siatkówkę
 Name:          gav
-Version:       0.7.3
+Version:       0.9.0
 Release:       1
-License:       GPL
+License:       GPL v2+
 Group:         X11/Applications/Games
 Source0:       http://dl.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
-# Source0-md5: 938c8cd9e7eef6842f931620377fe6b4
+# Source0-md5: 9cafad031ab15497c4a42f1b79fb3477
+Source1:       http://gav.sourceforge.net/themes/tgz/fabeach.tgz
+# Source1-md5: 3d1c461befc84ca91fc4a10a91296289
+Source2:       http://gav.sourceforge.net/themes/tgz/inverted.tgz
+# Source2-md5: 282e27c9bf5b4743a10ca2af1977883e
+Source3:       http://gav.sourceforge.net/themes/tgz/unnamed.tgz
+# Source3-md5: 3c109c0f229ba16e3062fc8b249d4492
+Source4:       http://gav.sourceforge.net/themes/tgz/yisus.tgz
+# Source4-md5: bd7981c2308d07635fe0738dd88d7369
+Source5:       http://gav.sourceforge.net/themes/tgz/yisus2.tgz
+# Source5-md5: 21ff7420f3670aa1d565f4c89efd44b9
+Source6:       http://gav.sourceforge.net/themes/tgz/naive.tgz
+# Source6-md5: 330f63e5d781e382637eeec3f683b5cf
+Source7:       http://gav.sourceforge.net/themes/tgz/florindo.tgz
+# Source7-md5: 51817c29099a8bc6bc2e9a92f64f5c5b
 Patch0:                %{name}-desktop.patch
 URL:           http://gav.sourceforge.net/
-Buildrequires: SDL_net-devel
-
+BuildRequires: SDL_image-devel
+BuildRequires: SDL_net-devel
+BuildRequires: libstdc++-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 GAV stands for GPL Arcade Volleyball, and is a remake of the old dos
 game Arcade Volleyball.
 
-%description -l pl
-GAV oznacza GPL Arcade Volleyball i jest "od¶wie¿on±" wersj± starej
+%description -l pl.UTF-8
+GAV oznacza GPL Arcade Volleyball i jest "odświeżoną" wersją starej
 dosowej gry Arcade Voleyball.
 
 %prep
 %setup -q
 %patch0 -p1
 
+cd themes/
+tar xzvf %{SOURCE1}
+tar xzvf %{SOURCE2}
+tar xzvf %{SOURCE3}
+tar xzvf %{SOURCE4}
+tar xzvf %{SOURCE5}
+tar xzvf %{SOURCE6}
+tar xzvf %{SOURCE7}
+
 %build
 ./build_linux.sh
-%{__make}
+%{__make} \
+       CXX="%{__cxx}" \
+       CXXFLAGS="%{rpmcflags} `sdl-config --cflags` -Wall -I`pwd`/menu -I`pwd`/automa -I`pwd`/net -I`pwd`"
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -47,5 +73,5 @@ rm -rf $RPM_BUILD_ROOT
 %doc CHANGELOG README
 %attr(755,root,root) %{_bindir}/*
 %{_datadir}/games/%{name}
-%{_desktopdir}/*
+%{_desktopdir}/*.desktop
 %{_pixmapsdir}/*
This page took 0.054467 seconds and 4 git commands to generate.