]> git.pld-linux.org Git - packages/kde4-kbreakout.git/blob - kde4-kbreakout.spec
- updated to 4.13.2 (by update-kde4.sh)
[packages/kde4-kbreakout.git] / kde4-kbreakout.spec
1 %define         _state          stable
2 %define         orgname         kbreakout
3 %define         qtver           4.8.0
4
5 Summary:        KBreakout
6 Name:           kde4-%{orgname}
7 Version:        4.13.2
8 Release:        1
9 License:        GPL
10 Group:          X11/Applications/Games
11 Source0:        ftp://ftp.kde.org/pub/kde/%{_state}/%{version}/src/%{orgname}-%{version}.tar.xz
12 # Source0-md5:  0ac1d81413b4d680499b339762946bf8
13 BuildRequires:  automoc4 >= 0.9.88
14 BuildRequires:  cmake >= 2.8.0
15 BuildRequires:  kde4-kdelibs-devel >= %{version}
16 BuildRequires:  kde4-libkdegames-devel >= %{version}
17 BuildRequires:  qt4-build >= %{qtver}
18 BuildRequires:  qt4-qmake >= %{qtver}
19 BuildRequires:  rpmbuild(macros) >= 1.600
20 Obsoletes:      kde4-kdegames-%{orgname}
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 KBreakout.
25
26 %prep
27 %setup -q -n %{orgname}-%{version}
28
29 %build
30 install -d build
31 cd build
32 %cmake \
33         ../
34
35 %{__make}
36
37 %install
38 rm -rf $RPM_BUILD_ROOT
39
40 %{__make} -C build install \
41         DESTDIR=$RPM_BUILD_ROOT \
42         kde_htmldir=%{_kdedocdir}
43
44 install -d $RPM_BUILD_ROOT/var/games
45 # remove locolor icons
46 rm -rf $RPM_BUILD_ROOT%{_iconsdir}/locolor
47
48 %find_lang %{orgname}   --with-kde
49
50 %clean
51 rm -rf $RPM_BUILD_ROOT
52
53 %post                   -p /sbin/ldconfig
54 %postun                 -p /sbin/ldconfig
55
56 %files -f %{orgname}.lang
57 %defattr(644,root,root,755)
58 %attr(755,root,root) %{_bindir}/kbreakout
59 %{_desktopdir}/kde4/kbreakout.desktop
60 %{_datadir}/apps/kbreakout
61 %{_iconsdir}/*/*/apps/kbreakout.png
This page took 0.060835 seconds and 3 git commands to generate.