6 Summary(pl.UTF-8): Gra Lines dla KDE
11 Group: X11/Applications/Games
12 Source0: ftp://ftp.kde.org/pub/kde/%{_state}/%{version}/src/%{orgname}-%{version}.tar.xz
13 # Source0-md5: faa118a222fad63e57e7026785978db0
14 BuildRequires: automoc4 >= 0.9.88
15 BuildRequires: cmake >= 2.8.0
16 BuildRequires: kde4-kdelibs-devel >= %{version}
17 BuildRequires: kde4-libkdegames-devel >= %{version}
18 BuildRequires: qt4-build >= %{qtver}
19 BuildRequires: qt4-qmake >= %{qtver}
20 BuildRequires: rpmbuild(macros) >= 1.600
21 Obsoletes: kde4-kdegames-%{orgname}
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 Lines for KDE. The main rules of game is as simple as possible: you
26 move (using mouse) marbles from cell to cell and build lines
27 (horizontal, vertical or diagonal). When a line contains 5 or more
28 marbles - they are removed from the field and your score grows. After
29 each of your turns computer drops three more marbles onto the field.
31 %description -l pl.UTF-8
32 Gra Lines dla KDE. Podstawowe zasady gry są najprostsze jak to
33 możliwe: przesuwa się (przy użyciu muszy) klocki z pola na pole i
34 buduje linie (poziome, pionowe lub ukośne). Kiedy linia zawiera 5 lub
35 więcej klocków - są usuwane z pola i wynik wzrasta. Po każdym ruchu
36 gracza komputer zrzuca trzy dodatkowe klocki.
39 %setup -q -n %{orgname}-%{version}
50 rm -rf $RPM_BUILD_ROOT
52 %{__make} -C build install \
53 DESTDIR=$RPM_BUILD_ROOT \
54 kde_htmldir=%{_kdedocdir}
56 install -d $RPM_BUILD_ROOT/var/games
57 # remove locolor icons
58 rm -rf $RPM_BUILD_ROOT%{_iconsdir}/locolor
60 %find_lang %{orgname} --with-kde
63 rm -rf $RPM_BUILD_ROOT
65 %files -f %{orgname}.lang
66 %defattr(644,root,root,755)
67 %attr(755,root,root) %{_bindir}/klines
68 %{_desktopdir}/kde4/klines.desktop
69 %{_datadir}/config.kcfg/klines.kcfg
70 %{_datadir}/apps/klines
71 %{_iconsdir}/*/*/apps/klines.png