]> git.pld-linux.org Git - packages/kde4-klines.git/blame - kde4-klines.spec
- updated to 4.12.4 (by update-kde4.sh)
[packages/kde4-klines.git] / kde4-klines.spec
CommitLineData
c60a48c0
WF
1%define _state stable
2%define orgname klines
3%define qtver 4.8.0
4
5Summary: Lines for KDE
6Summary(pl.UTF-8): Gra Lines dla KDE
7Name: kde4-%{orgname}
afd903b8 8Version: 4.12.4
c60a48c0
WF
9Release: 1
10License: GPL
11Group: X11/Applications/Games
12Source0: ftp://ftp.kde.org/pub/kde/%{_state}/%{version}/src/%{orgname}-%{version}.tar.xz
afd903b8 13# Source0-md5: faa118a222fad63e57e7026785978db0
c60a48c0
WF
14BuildRequires: automoc4 >= 0.9.88
15BuildRequires: cmake >= 2.8.0
16BuildRequires: kde4-kdelibs-devel >= %{version}
17BuildRequires: kde4-libkdegames-devel >= %{version}
18BuildRequires: qt4-build >= %{qtver}
19BuildRequires: qt4-qmake >= %{qtver}
20BuildRequires: rpmbuild(macros) >= 1.600
21Obsoletes: kde4-kdegames-%{orgname}
22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24%description
25Lines for KDE. The main rules of game is as simple as possible: you
26move (using mouse) marbles from cell to cell and build lines
27(horizontal, vertical or diagonal). When a line contains 5 or more
28marbles - they are removed from the field and your score grows. After
29each of your turns computer drops three more marbles onto the field.
30
31%description -l pl.UTF-8
32Gra Lines dla KDE. Podstawowe zasady gry są najprostsze jak to
33możliwe: przesuwa się (przy użyciu muszy) klocki z pola na pole i
34buduje linie (poziome, pionowe lub ukośne). Kiedy linia zawiera 5 lub
35więcej klocków - są usuwane z pola i wynik wzrasta. Po każdym ruchu
36gracza komputer zrzuca trzy dodatkowe klocki.
37
38%prep
39%setup -q -n %{orgname}-%{version}
40
41%build
42install -d build
43cd build
44%cmake \
45 ../
46
47%{__make}
48
49%install
50rm -rf $RPM_BUILD_ROOT
51
52%{__make} -C build install \
53 DESTDIR=$RPM_BUILD_ROOT \
54 kde_htmldir=%{_kdedocdir}
55
56install -d $RPM_BUILD_ROOT/var/games
57# remove locolor icons
58rm -rf $RPM_BUILD_ROOT%{_iconsdir}/locolor
59
60%find_lang %{orgname} --with-kde
61
62%clean
63rm -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.05316 seconds and 4 git commands to generate.