]> git.pld-linux.org Git - packages/54321.git/blob - 54321.spec
- some new cool lines added ;) Maybe it builds now? :)
[packages/54321.git] / 54321.spec
1 Summary:        - Preety 3D games for one player.
2 Summary(pl):    - £adne trójwymiarowe gry dla jednego gracza.
3 Name:           - 54321
4 Version:        - 1.0.2001.11.16
5 Release:        - 0.1
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 Patch0:         54321-sdl_include_dir_fix.patch
11 URL:            - http://www.nklein.com/products/54321/
12 BuildRequires:  - SDL-devel
13 BuildRequires:  - SDL_image-devel
14 Requires:       - SDL >= 1.2.4
15 Requires:       - SDL_image
16 Requires:       - libpng
17 Requires:       - zlib
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %define         _prefix         /usr/X11R6
21
22 %description
23 54321 is five games in four-, three-, or two-dimensions for one player. 
24 54321 takes five classic two-dimensional puzzle games and extends 
25 them into three and four dimensions. 
26 For more information, see the help within the game.
27
28 %description -l pl
29
30 %prep
31 %setup -q 
32 %patch0 -p1
33
34 %build
35 %{__make} -f GNUmakefile
36
37 %install
38 rm -rf $RPM_BUILD_ROOT
39 install -d $RPM_BUILD_ROOT $RPM_BUILD_ROOT{%{_applnkdir}/Games \
40 $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/54321/Release}
41
42 cp -r Release/* $RPM_BUILD_ROOT%{_datadir}/54321/Release
43 ln -sf Release/bin/Linux/54321 $RPM_BUILD_ROOT%{_bindir}/54321
44
45 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Games
46 #gzip -9nf README 
47
48 %clean
49 rm -rf $RPM_BUILD_ROOT
50
51 %files
52 %defattr(644,root,root,755)
53 #%doc *.gz
54 %attr(755,root,root) %{_bindir}/*
55 %{_datadir}/%{name}
This page took 0.116979 seconds and 4 git commands to generate.