]> git.pld-linux.org Git - packages/kde4-knetwalk.git/blame - kde4-knetwalk.spec
- updated to 4.13.1 (by update-kde4.sh)
[packages/kde4-knetwalk.git] / kde4-knetwalk.spec
CommitLineData
dce51d37
WF
1%define _state stable
2%define orgname knetwalk
3%define qtver 4.8.0
4
5Summary: KDE knetwalk
6Summary(pl.UTF-8): knetwalk dla KDE
7Name: kde4-%{orgname}
7b2d1d36 8Version: 4.13.1
dce51d37
WF
9Release: 1
10License: GPL
11Group: X11/Applications/Games
12Source0: ftp://ftp.kde.org/pub/kde/%{_state}/%{version}/src/%{orgname}-%{version}.tar.xz
7b2d1d36 13# Source0-md5: 644dff91d0b60f91dabbea5242b69f45
dce51d37
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
25The aim of this game is to connect the network with a minimum amount
26of clicks.
27
28%description -l pl.UTF-8
29Celem tej gry jest połączenie sieci minimalną liczbą kliknięć.
30
31%prep
32%setup -q -n %{orgname}-%{version}
33
34%build
35install -d build
36cd build
37%cmake \
38 ../
39
40%{__make}
41
42%install
43rm -rf $RPM_BUILD_ROOT
44
45%{__make} -C build install \
46 DESTDIR=$RPM_BUILD_ROOT \
47 kde_htmldir=%{_kdedocdir}
48
49install -d $RPM_BUILD_ROOT/var/games
50# remove locolor icons
51rm -rf $RPM_BUILD_ROOT%{_iconsdir}/locolor
52
53%find_lang %{orgname} --with-kde
54
55%clean
56rm -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.106895 seconds and 4 git commands to generate.