]>
Commit | Line | Data |
---|---|---|
b4e3d989 | 1 | Summary: Arkanoid clone |
56c4ada9 | 2 | Summary(pl.UTF-8): Klon Arkanoida |
b4e3d989 | 3 | Name: lbreakout2 |
37364f8b | 4 | Version: 2.6.3 |
eb2a80e2 | 5 | Release: 4 |
bce88648 | 6 | License: GPL v2+ |
b4e3d989 | 7 | Group: X11/Applications/Games |
bce88648 | 8 | Source0: http://downloads.sourceforge.net/lgames/%{name}-%{version}.tar.gz |
37364f8b | 9 | # Source0-md5: 43900187bc935475cd6489569cd2230a |
b4e3d989 | 10 | Source1: %{name}.desktop |
11 | Source2: %{name}.png | |
9140534f | 12 | Patch0: %{name}-useless_files.patch |
16ee2a35 | 13 | URL: http://lgames.sourceforge.net/index.php?project=LBreakout2 |
b4e3d989 | 14 | BuildRequires: SDL-devel >= 1.1.5 |
15 | BuildRequires: SDL_mixer-devel | |
b4e3d989 | 16 | BuildRequires: autoconf |
5b4f4058 | 17 | BuildRequires: automake |
b65c6248 | 18 | BuildRequires: gettext-tools |
5b4f4058 | 19 | BuildRequires: libpng-devel |
bce88648 | 20 | BuildRequires: rpmbuild(macros) >= 1.268 |
b4e3d989 | 21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
22 | ||
16ee2a35 JB |
23 | %define _localstatedir /var/games |
24 | ||
b4e3d989 | 25 | %description |
26 | LBreakout is a breakout game with nice graphics, effects and sound. | |
27 | You can play it either with mouse or keyboard and you can create your | |
28 | own levels. | |
29 | ||
08853106 JR |
30 | %description -l pl.UTF-8 |
31 | LBreakout to gra breakout z przyjemną grafiką, efektami i dźwiękiem. | |
32 | Można grać myszą lub klawiaturą oraz tworzyć własne poziomy. | |
b4e3d989 | 33 | |
34 | %prep | |
25747da4 | 35 | %setup -q |
9140534f | 36 | %patch0 -p1 |
b4e3d989 | 37 | |
38 | %build | |
3c455437 | 39 | %{__aclocal} |
5593c07b | 40 | %{__autoconf} |
41 | %{__automake} | |
16ee2a35 JB |
42 | %configure |
43 | ||
b4e3d989 | 44 | %{__make} |
45 | ||
46 | %install | |
47 | rm -rf $RPM_BUILD_ROOT | |
08046310 | 48 | |
16ee2a35 | 49 | install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}} |
b4e3d989 | 50 | |
51 | %{__make} install \ | |
52 | DESTDIR=$RPM_BUILD_ROOT | |
53 | ||
9aa6d113 | 54 | install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir} |
b4e3d989 | 55 | install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir} |
56 | ||
bce88648 | 57 | %find_lang %{name} --all-name |
58 | ||
b4e3d989 | 59 | %clean |
60 | rm -rf $RPM_BUILD_ROOT | |
61 | ||
bce88648 | 62 | %files -f %{name}.lang |
b4e3d989 | 63 | %defattr(644,root,root,755) |
bce88648 | 64 | %doc AUTHORS ChangeLog README TODO docs/*{html,jpg} |
9140534f | 65 | %attr(755,root,root) %{_bindir}/lbreakout2* |
16ee2a35 | 66 | %{_datadir}/lbreakout2 |
49ff8d8f | 67 | %attr(664,root,games) %config(noreplace) %verify(not md5 mtime size) /var/games/lbreakout* |
9aa6d113 JB |
68 | %{_desktopdir}/*.desktop |
69 | %{_pixmapsdir}/*.png |