]> git.pld-linux.org Git - packages/54321.git/blame - 54321.spec
- massive change ( validate errors warrings from desktop-file-validate)
[packages/54321.git] / 54321.spec
CommitLineData
6e76219f 1Summary: Preety puzzle games for one player
add2b46f 2Summary(pl.UTF-8): Ładne układanki dla jednego gracza
40166643 3Name: 54321
4Version: 1.0.2001.11.16
1659ffea 5Release: 4
40166643 6License: GPL
7Group: X11/Applications/Games
107ae4b3 8Source0: http://nklein.com/products/54321/%{version}/%{name}.tgz
632486b3 9# Source0-md5: 20b2ad52ef45742c1a65911b225b6ddc
baf75d29 10Source1: %{name}.desktop
c461bd3a 11Patch0: %{name}-sdl_include_dir_fix.patch
107ae4b3 12Patch1: %{name}-linking.patch
1659ffea 13Patch2: %{name}-SDL_main.patch
40166643 14URL: http://www.nklein.com/products/54321/
93a32ec4 15BuildRequires: SDL-devel >= 1.2.4
c461bd3a 16BuildRequires: SDL_image-devel
40166643 17Requires: SDL >= 1.2.4
d0b93d1b 18BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20%description
c461bd3a 2154321 is five games in four-, three-, or two-dimensions for one
22player. 54321 takes five classic two-dimensional puzzle games and
23extends them into three and four dimensions.
d0b93d1b 24
4ccc74a0
JR
25%description -l pl.UTF-8
2654321 to pięć gier w czterech, trzech i dwóch wymiarach dla jednego
27gracza. Gry bazują na klasycznych schematach układanek; oprawione są w
28ładną grafikę.
d0b93d1b 29
30%prep
c461bd3a 31%setup -q -n 54321
d0b93d1b 32%patch0 -p1
107ae4b3 33%patch1 -p1
1659ffea 34%patch2 -p1
d0b93d1b 35
36%build
14bca189
JB
37%{__make} -f GNUmakefile \
38 CC="%{__cc}" \
39 CXX="%{__cxx}" \
107ae4b3 40 LDFLAGS="%{rpmldflags}" \
41 CXXFLAGS="%{rpmcflags} -I/usr/include/SDL -DNDEBUG=1" \
42 STRIP="echo"
d0b93d1b 43
44%install
45rm -rf $RPM_BUILD_ROOT
025fed21 46install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_bindir},%{_datadir}/54321/bin/Linux,%{_libdir}/54321}
d0b93d1b 47
025fed21
JB
48cp -r Release/data $RPM_BUILD_ROOT%{_datadir}/54321
49# hack to preserve %{_datadir} arch-independent
50install Release/bin/Linux/54321 $RPM_BUILD_ROOT%{_libdir}/54321
51cat > $RPM_BUILD_ROOT%{_bindir}/54321 <<EOF
52#!/bin/sh
53cd /usr/share/54321/bin/Linux && exec %{_libdir}/54321/54321 \$*
54EOF
d0b93d1b 55
01eb1dd6 56install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
d0b93d1b 57
58%clean
59rm -rf $RPM_BUILD_ROOT
60
61%files
62%defattr(644,root,root,755)
025fed21 63%doc README
14bca189 64%attr(755,root,root) %{_bindir}/*
025fed21 65%attr(755,root,root) %{_libdir}/%{name}
14bca189 66%dir %{_datadir}/%{name}
e5b10f4f 67%dir %{_datadir}/%{name}/bin
68%dir %{_datadir}/%{name}/bin/Linux
14bca189 69%{_datadir}/%{name}/data
79d9e3f9 70%{_desktopdir}/*.desktop
This page took 0.098669 seconds and 5 git commands to generate.