]> git.pld-linux.org Git - packages/kde4-knetwalk.git/blob - kde4-knetwalk.spec
b69895ee21e0c8d6211bd4bd35e3e222457f622c
[packages/kde4-knetwalk.git] / kde4-knetwalk.spec
1 %define         _state          stable
2 %define         orgname         knetwalk
3 %define         qtver           4.8.0
4
5 Summary:        KDE knetwalk
6 Summary(pl.UTF-8):      knetwalk 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:  04699d3e73e11c35ef12a643e604664a
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 The aim of this game is to connect the network with a minimum amount
26 of clicks.
27
28 %description -l pl.UTF-8
29 Celem tej gry jest połączenie sieci minimalną liczbą kliknięć.
30
31 %prep
32 %setup -q -n %{orgname}-%{version}
33
34 %build
35 install -d build
36 cd build
37 %cmake \
38         ../
39
40 %{__make}
41
42 %install
43 rm -rf $RPM_BUILD_ROOT
44
45 %{__make} -C build install \
46         DESTDIR=$RPM_BUILD_ROOT \
47         kde_htmldir=%{_kdedocdir}
48
49 install -d $RPM_BUILD_ROOT/var/games
50 # remove locolor icons
51 rm -rf $RPM_BUILD_ROOT%{_iconsdir}/locolor
52
53 %find_lang %{orgname}   --with-kde
54
55 %clean
56 rm -rf $RPM_BUILD_ROOT
57
58 %files -f %{orgname}.lang
59 %defattr(644,root,root,755)
60 %attr(755,root,root) %{_bindir}/knetwalk
61 %{_desktopdir}/kde4/knetwalk.desktop
62 %{_datadir}/apps/knetwalk
63 %{_iconsdir}/*/*/apps/knetwalk.png
64 %{_iconsdir}/hicolor/scalable/apps/knetwalk.svgz
This page took 0.040975 seconds and 2 git commands to generate.