]> git.pld-linux.org Git - packages/54321.git/blob - 54321.spec
- finished!
[packages/54321.git] / 54321.spec
1 Summary:        Preety puzzle games for one player.
2 Summary(pl):    £adne puzzlowate gry dla jednego gracza.
3 Name:           54321
4 Version:        1.0.2001.11.16
5 Release:        0.9
6 License:        GPL
7 Group:          X11/Applications/Games
8 Source0:        http://nklein.com/products/54321/1.0.2001.11.16/54321.tgz
9 Source1:        %{name}.desktop
10 Source2:        54321-exec
11 Patch0:         54321-sdl_include_dir_fix.patch
12 URL:            http://www.nklein.com/products/54321/
13 BuildRequires:  SDL-devel
14 BuildRequires:  SDL_image-devel
15 Requires:       SDL >= 1.2.4
16 Requires:       SDL_image
17 Requires:       libpng
18 Requires:       zlib
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %define         _prefix         /usr/X11R6
22
23 %description
24 54321 is five games in four-, three-, or two-dimensions for one player. 
25 54321 takes five classic two-dimensional puzzle games and extends 
26 them into three and four dimensions. 
27
28 %description -l pl
29 54321 to piêæ gier w czterech, trzech i dwóch wymiarach dla jednego gracza.
30 Gry bazuj± na klasycznych puzzlowatych schematach oprawionych w ³adn± grafikê.
31
32 %prep
33 %setup -q -n 54321 
34 %patch0 -p1
35
36 %build
37 %{__make} -f GNUmakefile
38
39 %install
40 rm -rf $RPM_BUILD_ROOT
41 install -d $RPM_BUILD_ROOT $RPM_BUILD_ROOT%{_applnkdir}/Games \
42 $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/54321/Release}
43
44 cp -r Release/* $RPM_BUILD_ROOT%{_datadir}/54321/Release
45 install %{SOURCE2} $RPM_BUILD_ROOT%{_bindir}
46 mv $RPM_BUILD_ROOT%{_bindir}/54321-exec $RPM_BUILD_ROOT%{_bindir}/54321
47
48 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Games
49 #gzip -9nf README 
50
51 %clean
52 rm -rf $RPM_BUILD_ROOT
53
54 %files
55 %defattr(644,root,root,755)
56 #%doc *.gz
57 %attr(755,root,root) %{_bindir}/*
58 %{_datadir}/%{name}/Release/data/*
59 %attr(755,root,root) %{_datadir}/%{name}/Release/bin/Linux/*
60 %{_applnkdir}/Games/*
This page took 0.065068 seconds and 3 git commands to generate.