]> git.pld-linux.org Git - packages/kde4-kbounce.git/blob - kde4-kbounce.spec
0b523672eb16f2163e4bacb05cf26712b41aecdd
[packages/kde4-kbounce.git] / kde4-kbounce.spec
1 %define         _state          stable
2 %define         orgname         kbounce
3 %define         qtver           4.8.0
4
5 Summary:        Claim areas and don't get disturbed
6 Summary(pl.UTF-8):      Gra polegajÄ…ca na pozyskiwaniu terenu wbrew przeciwnikom
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:  603a03394536854f3f4e13798001fa3a
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 Claim areas and don't get disturbed.
26
27 %description -l pl.UTF-8
28 Gra polegajÄ…ca na pozyskiwaniu terenu wbrew przeciwnikom.
29
30 %prep
31 %setup -q -n %{orgname}-%{version}
32
33 %build
34 install -d build
35 cd build
36 %cmake \
37         ../
38
39 %{__make}
40
41 %install
42 rm -rf $RPM_BUILD_ROOT
43
44 %{__make} -C build install \
45         DESTDIR=$RPM_BUILD_ROOT \
46         kde_htmldir=%{_kdedocdir}
47
48 install -d $RPM_BUILD_ROOT/var/games
49 touch $RPM_BUILD_ROOT/var/games/kbounce.scores
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 %post                   -p /sbin/ldconfig
59 %postun                 -p /sbin/ldconfig
60
61 %files -f %{orgname}.lang
62 %defattr(644,root,root,755)
63 %attr(755,root,root) %{_bindir}/kbounce
64 %{_desktopdir}/kde4/kbounce.desktop
65 %{_datadir}/apps/kbounce
66 %{_iconsdir}/hicolor/*/*/kbounce.png
67 /var/games/kbounce.scores
This page took 0.039342 seconds and 2 git commands to generate.