]> git.pld-linux.org Git - packages/kde4-klines.git/blob - kde4-klines.spec
2b2edcc2b97738d4f73e334ee3233845b4dcd5dd
[packages/kde4-klines.git] / kde4-klines.spec
1 %define         _state          stable
2 %define         orgname         klines
3 %define         qtver           4.8.0
4
5 Summary:        Lines for KDE
6 Summary(pl.UTF-8):      Gra Lines dla KDE
7 Name:           kde4-%{orgname}
8 Version:        4.13.0
9 Release:        1
10 License:        GPL
11 Group:          X11/Applications/Games
12 Source0:        ftp://ftp.kde.org/pub/kde/%{_state}/%{version}/src/%{orgname}-%{version}.tar.xz
13 # Source0-md5:  946e6a14b5c520f58b1d9bced4931ddb
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)
23
24 %description
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.
30
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.
37
38 %prep
39 %setup -q -n %{orgname}-%{version}
40
41 %build
42 install -d build
43 cd build
44 %cmake \
45         ../
46
47 %{__make}
48
49 %install
50 rm -rf $RPM_BUILD_ROOT
51
52 %{__make} -C build install \
53         DESTDIR=$RPM_BUILD_ROOT \
54         kde_htmldir=%{_kdedocdir}
55
56 install -d $RPM_BUILD_ROOT/var/games
57 # remove locolor icons
58 rm -rf $RPM_BUILD_ROOT%{_iconsdir}/locolor
59
60 %find_lang %{orgname}   --with-kde
61
62 %clean
63 rm -rf $RPM_BUILD_ROOT
64
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
This page took 0.068938 seconds and 2 git commands to generate.