]> git.pld-linux.org Git - SPECS.git/blob - hexpuzzle.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / hexpuzzle.spec
1 Summary:        Hex Puzzle 22
2 Summary(pl.UTF-8):      Łamigłówka Hex Puzzle 22
3 Name:           hexpuzzle
4 Version:        1.1
5 Release:        1
6 License:        GPL
7 Group:          Applications/Emulators
8 Source0:        ftp://ibiblio.org/pub/Linux/games/%{name}-%{version}.tgz
9 # Source0-md5:  b807ab119697b295dd7e2a856522730d
10 Patch0:         %{name}-datadir.patch
11 URL:            ftp://ibiblio.org/pub/Linux/games/
12 Requires:       tk >= 8.3
13 BuildArch:      noarch
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 Hex Puzzle 22 is a tessellation puzzle based on Beat The Computer #22.
18 Players must fit all of the multi-hexagon pieces into one of three
19 different trays.
20
21 %description -l pl.UTF-8
22 Hex Puzzle 22 to układanka oparta na Beat The Computer #22. Gracze
23 muszą dopasować wszystkie kawałki składające się z sześciokątów do
24 jednej z trzech różnych tac.
25
26 %prep
27 %setup -q -n %{name}
28 %patch0 -p1
29
30 %build
31 mv -f hexpuzzle{,~}
32 sed 's#@@DATADIR@@#%{_datadir}/%{name}#g' <hexpuzzle~ >hexpuzzle
33
34 %install
35 rm -rf $RPM_BUILD_ROOT
36 install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name}}
37
38 install hexpuzzle $RPM_BUILD_ROOT%{_bindir}
39 install pieces.* $RPM_BUILD_ROOT%{_datadir}/%{name}
40 install menus $RPM_BUILD_ROOT%{_datadir}/%{name}
41
42 %clean
43 rm -rf $RPM_BUILD_ROOT
44
45 %files
46 %defattr(644,root,root,755)
47 %doc About Bugs Changelog Instructions Readme Thanks Todo
48 %attr(755,root,root) %{_bindir}/*
49 %{_datadir}/%{name}
This page took 0.04687 seconds and 3 git commands to generate.