]> git.pld-linux.org Git - packages/gav.git/blob - gav.spec
6e4add051984fe0c57ddb39ff06b2d6bc3cf0a69
[packages/gav.git] / gav.spec
1 Summary:        GPL Arcade Volleyball
2 Summary(pl):    Gra zrêczno¶ciowa w siatkówkê
3 Name:           gav
4 Version:        0.9.0
5 Release:        1
6 License:        GPL v2+
7 Group:          X11/Applications/Games
8 Source0:        http://dl.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
9 # Source0-md5:  9cafad031ab15497c4a42f1b79fb3477
10 Source1:        http://gav.sourceforge.net/themes/tgz/fabeach.tgz
11 # Source1-md5:  3d1c461befc84ca91fc4a10a91296289
12 Source2:        http://gav.sourceforge.net/themes/tgz/inverted.tgz
13 # Source2-md5:  282e27c9bf5b4743a10ca2af1977883e
14 Source3:        http://gav.sourceforge.net/themes/tgz/unnamed.tgz
15 # Source3-md5:  3c109c0f229ba16e3062fc8b249d4492
16 Source4:        http://gav.sourceforge.net/themes/tgz/yisus.tgz
17 # Source4-md5:  bd7981c2308d07635fe0738dd88d7369
18 Source5:        http://gav.sourceforge.net/themes/tgz/yisus2.tgz
19 # Source5-md5:  21ff7420f3670aa1d565f4c89efd44b9
20 Source6:        http://gav.sourceforge.net/themes/tgz/naive.tgz
21 # Source6-md5:  330f63e5d781e382637eeec3f683b5cf
22 Source7:        http://gav.sourceforge.net/themes/tgz/florindo.tgz
23 # Source7-md5:  51817c29099a8bc6bc2e9a92f64f5c5b
24 Patch0:         %{name}-desktop.patch
25 URL:            http://gav.sourceforge.net/
26 BuildRequires:  SDL_image-devel
27 BuildRequires:  SDL_net-devel
28 BuildRequires:  libstdc++-devel
29 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30
31 %description
32 GAV stands for GPL Arcade Volleyball, and is a remake of the old dos
33 game Arcade Volleyball.
34
35 %description -l pl
36 GAV oznacza GPL Arcade Volleyball i jest "od¶wie¿on±" wersj± starej
37 dosowej gry Arcade Voleyball.
38
39 %prep
40 %setup -q
41 %patch0 -p1
42
43 cd themes/
44 tar xzvf %{SOURCE1}
45 tar xzvf %{SOURCE2}
46 tar xzvf %{SOURCE3}
47 tar xzvf %{SOURCE4}
48 tar xzvf %{SOURCE5}
49 tar xzvf %{SOURCE6}
50 tar xzvf %{SOURCE7}
51
52 %build
53 ./build_linux.sh
54 %{__make} \
55         CXX="%{__cxx}" \
56         CXXFLAGS="%{rpmcflags} `sdl-config --cflags` -Wall -I`pwd`/menu -I`pwd`/automa -I`pwd`/net -I`pwd`"
57
58 %install
59 rm -rf $RPM_BUILD_ROOT
60 install -d $RPM_BUILD_ROOT{%{_bindir},%{_desktopdir},%{_pixmapsdir}}
61
62 %{__make} install \
63         ROOT=$RPM_BUILD_ROOT
64
65 install package/%{name}.desktop $RPM_BUILD_ROOT%{_desktopdir}
66 install package/%{name}.png $RPM_BUILD_ROOT%{_pixmapsdir}
67
68 %clean
69 rm -rf $RPM_BUILD_ROOT
70
71 %files
72 %defattr(644,root,root,755)
73 %doc CHANGELOG README
74 %attr(755,root,root) %{_bindir}/*
75 %{_datadir}/games/%{name}
76 %{_desktopdir}/*
77 %{_pixmapsdir}/*
This page took 0.035447 seconds and 2 git commands to generate.