]> git.pld-linux.org Git - SPECS.git/blob - six.spec
SPECS updated Tue 30 Apr 15:13:02 CEST 2024
[SPECS.git] / six.spec
1 Summary:        Interesting HexBoard game
2 Summary(pl.UTF-8):      Ciekawa gra planszowa
3 Name:           six
4 Version:        0.5.3
5 Release:        1
6 License:        GPL
7 Group:          X11/Applications/Games
8 Source0:        http://six.retes.hu/download/%{name}-%{version}.tar.gz
9 # Source0-md5:  457028e8040f030b8f2cd6a65d04bab9
10 Patch0:         %{name}-desktop.patch
11 URL:            http://six.retes.hu/
12 BuildRequires:  automake
13 BuildRequires:  kdelibs-devel
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 Six is a Hex playing program for KDE. Hex is a connectivity game with
18 simple rules and deep strategic complexity.
19
20 %description -l pl.UTF-8
21 Gra tocząca się na planszy o sześciokątnych polach, polegająca na
22 połączeniu ze sobą przeciwległych boków.
23
24 %prep
25 %setup -q
26 %patch0 -p1
27
28 %build
29 cp -f /usr/share/automake/config.sub admin
30 %configure
31 %{__make}
32
33 %install
34 rm -rf $RPM_BUILD_ROOT
35 install -d $RPM_BUILD_ROOT{%{_bindir},%{_desktopdir},%{_docdir}/%{name},%{_iconsdir}}
36
37 %{__make} install \
38         DESTDIR=$RPM_BUILD_ROOT
39
40 mv $RPM_BUILD_ROOT%{_datadir}/applnk/Games/Board/* $RPM_BUILD_ROOT%{_desktopdir}
41 mv $RPM_BUILD_ROOT%{_docdir}/HTML/en/%{name}/* $RPM_BUILD_ROOT%{_docdir}/%{name}
42
43 %find_lang %{name}
44
45 %clean
46 rm -rf $RPM_BUILD_ROOT
47
48 %files -f %{name}.lang
49 %defattr(644,root,root,755)
50 %doc AUTHORS ChangeLog NEWS README
51 %attr(755,root,root) %{_bindir}/*
52 %{_desktopdir}/*.desktop
53 %{_iconsdir}/hicolor/*/*/*.png
54 %{_docdir}/%{name}
55 %{_datadir}/apps/%{name}
56 %{_datadir}/mimelnk/application/*
This page took 0.822917 seconds and 3 git commands to generate.