]> git.pld-linux.org Git - packages/gav.git/blob - gav.spec
f316e1ec1ba3053219cf904f64d76e06fa3783cb
[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.8.0
5 Release:        2
6 License:        GPL
7 Group:          X11/Applications/Games
8 Source0:        http://dl.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
9 # Source0-md5:  4972fae26f2d0c0df8a0ce32560b1f5f
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_net-devel
27 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29 %description
30 GAV stands for GPL Arcade Volleyball, and is a remake of the old dos
31 game Arcade Volleyball.
32
33 %description -l pl
34 GAV oznacza GPL Arcade Volleyball i jest "od¶wie¿on±" wersj± starej
35 dosowej gry Arcade Voleyball.
36
37 %prep
38 %setup -q
39 %patch0 -p1
40
41 cd themes/
42 tar xzvf %{SOURCE1}
43 tar xzvf %{SOURCE2}
44 tar xzvf %{SOURCE3}
45 tar xzvf %{SOURCE4}
46 tar xzvf %{SOURCE5}
47 tar xzvf %{SOURCE6}
48 tar xzvf %{SOURCE7}
49
50 %build
51 ./build_linux.sh
52 %{__make} \
53         CXX="%{__cxx}" \
54         CXXFLAGS="%{rpmcflags} `sdl-config --cflags` -Wall -I`pwd`/menu -I`pwd`/automa -I`pwd`/net -I`pwd`"
55
56 %install
57 rm -rf $RPM_BUILD_ROOT
58 install -d $RPM_BUILD_ROOT{%{_bindir},%{_desktopdir},%{_pixmapsdir}}
59
60 %{__make} install \
61         ROOT=$RPM_BUILD_ROOT
62
63 install package/%{name}.desktop $RPM_BUILD_ROOT%{_desktopdir}
64 install package/%{name}.png $RPM_BUILD_ROOT%{_pixmapsdir}
65
66 %clean
67 rm -rf $RPM_BUILD_ROOT
68
69 %files
70 %defattr(644,root,root,755)
71 %doc CHANGELOG README
72 %attr(755,root,root) %{_bindir}/*
73 %{_datadir}/games/%{name}
74 %{_desktopdir}/*
75 %{_pixmapsdir}/*
This page took 0.042011 seconds and 2 git commands to generate.