]> git.pld-linux.org Git - packages/kde4-kreversi.git/blame - kde4-kreversi.spec
- updated to 4.13.1 (by update-kde4.sh)
[packages/kde4-kreversi.git] / kde4-kreversi.spec
CommitLineData
9869de07
WF
1%define _state stable
2%define orgname kreversi
3%define qtver 4.8.0
4
5Summary: KDE Reversi game
6Summary(pl.UTF-8): Gra Reversi dla KDE
7Summary(pt_BR.UTF-8): Jogo no estilo Otelo para KDE
8Name: kde4-%{orgname}
baa43d01 9Version: 4.13.1
9869de07
WF
10Release: 1
11License: GPL
12Group: X11/Applications/Games
13Source0: ftp://ftp.kde.org/pub/kde/%{_state}/%{version}/src/%{orgname}-%{version}.tar.xz
baa43d01 14# Source0-md5: f706cb191d3c7f1315f8b4428ecbae2a
9869de07
WF
15BuildRequires: automoc4 >= 0.9.88
16BuildRequires: cmake >= 2.8.0
17BuildRequires: kde4-kdelibs-devel >= %{version}
18BuildRequires: kde4-libkdegames-devel >= %{version}
19BuildRequires: qt4-build >= %{qtver}
20BuildRequires: qt4-qmake >= %{qtver}
21BuildRequires: rpmbuild(macros) >= 1.600
22Obsoletes: kde4-kdegames-%{orgname}
23BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25%description
26Reversi is a simple strategy game that is played by two players. There
27is only one type of piece - one side of it is black, the other white.
28If a player captures a piece on the board, that piece is turned and
29belongs to that player. The winner is the person that has more pieces
30of his own color on the board and if there are no more moves possible.
31
32%description -l pl.UTF-8
33Reversi to prosta gra strategiczna dla dwóch graczy. Jest tylko jeden
34rodzaj pionu - z jednej strony czarny, z drugiej biały. Jeśli gracz
35schwyta pion na planszy, jest on obracany i należy do tego gracza.
36Zwycięzcą jest osoba, która ma na planszy więcej pionów w swoim
37kolorze w chwili, gdy nie można już wykonać żadnego ruchu.
38
39%description -l pt_BR.UTF-8
40Jogo no estilo Otelo para KDE.
41
42%prep
43%setup -q -n %{orgname}-%{version}
44
45%build
46install -d build
47cd build
48%cmake \
49 ../
50
51%{__make}
52
53%install
54rm -rf $RPM_BUILD_ROOT
55
56%{__make} -C build install \
57 DESTDIR=$RPM_BUILD_ROOT \
58 kde_htmldir=%{_kdedocdir}
59
60install -d $RPM_BUILD_ROOT/var/games
61# remove locolor icons
62rm -rf $RPM_BUILD_ROOT%{_iconsdir}/locolor
63
64%find_lang %{orgname} --with-kde
65
66%clean
67rm -rf $RPM_BUILD_ROOT
68
69%files -f %{orgname}.lang
70%defattr(644,root,root,755)
71%attr(755,root,root) %{_bindir}/kreversi
72%{_desktopdir}/kde4/kreversi.desktop
73%{_datadir}/apps/kreversi
74%{_iconsdir}/*/*/actions/legalmoves.png
75%{_iconsdir}/*/*/actions/lastmoves.png
76%{_iconsdir}/*/*/apps/kreversi.png
77%{_iconsdir}/oxygen/scalable/actions/*.svgz
This page took 0.033151 seconds and 4 git commands to generate.