summaryrefslogtreecommitdiff
path: root/dudusdl.spec
blob: 54424bf76f5ff11f6eb64b64586ade222d8ff146 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
Summary:	Duzzle Duddle arcade game
Summary(pl.UTF-8):	Gra Duzzle Duddle
Name:		dudusdl
Version:	0.1.3
Release:	1
License:	GPL
Group:		X11/Applications/Games
Source0:	http://dl.sourceforge.net/dudusdl/%{name}-%{version}.tar.gz
# Source0-md5:	a51e8612f06d0201bd7f6729f73a242f
URL:		http://dudusdl.sourceforge.net/
BuildRequires:	SDL-devel >= 1.2.0
BuildRequires:	SDL_image-devel >= 1.2.0
BuildRequires:	autoconf
BuildRequires:	automake
Requires:	SDL >= 1.2.0
Requires:	SDL_image >= 1.2.0
BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)

%description
DuduSDL is a clone of the well-known arcade game Puzzle Bubble,
playable in single-player and two-player modes.

%description -l pl.UTF-8
DuduSDL to klon dobrze znanej gry Puzzle Bubble. Można w nią grać w
trybie dla jednego i dwóch graczy.

%prep
%setup -q

%build
%{__aclocal}
%{__automake}
%{__autoconf}
%configure
%{__make}

%install
rm -rf $RPM_BUILD_ROOT

%{__make} install \
	DESTDIR=$RPM_BUILD_ROOT \
	Utilitiesdir=%{_desktopdir}

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(644,root,root,755)
%doc AUTHORS ChangeLog README
%lang(fr) %doc README.FR
%attr(755,root,root) %{_bindir}/%{name}
%{_datadir}/%{name}
%{_pixmapsdir}/dudu.png
%{_desktopdir}/*.desktop