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