]> git.pld-linux.org Git - packages/kde4-granatier.git/blob - kde4-granatier.spec
27a23d00b05d4145752365f00f3ed091aba95647
[packages/kde4-granatier.git] / kde4-granatier.spec
1 %define         _state          stable
2 %define         orgname         granatier
3 %define         qtver           4.8.0
4
5 Summary:        bomber
6 Name:           kde4-granatier
7 Version:        4.12.0
8 Release:        1
9 License:        GPL
10 Group:          X11/Applications/Games
11 Group:          X11/Applications/Games
12 Source0:        ftp://ftp.kde.org/pub/kde/%{_state}/%{version}/src/%{orgname}-%{version}.tar.xz
13 # Source0-md5:  ff07a4b61fb74d8bf94b1884d4e455b6
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-granatier
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
25 Granatier.
26
27 %prep
28 %setup -q -n %{orgname}-%{version}
29
30 %build
31 install -d build
32 cd build
33 %cmake \
34         ../
35
36 %{__make}
37
38 %install
39 rm -rf $RPM_BUILD_ROOT
40
41 %{__make} -C build install \
42         DESTDIR=$RPM_BUILD_ROOT \
43         kde_htmldir=%{_kdedocdir}
44
45 install -d $RPM_BUILD_ROOT/var/games
46 touch $RPM_BUILD_ROOT/var/games/kbounce.scores
47 # remove locolor icons
48 rm -rf $RPM_BUILD_ROOT%{_iconsdir}/locolor
49
50 %find_lang granatier    --with-kde
51
52 %clean
53 rm -rf $RPM_BUILD_ROOT
54
55 %post                   -p /sbin/ldconfig
56 %postun                 -p /sbin/ldconfig
57
58 %files -f granatier.lang
59 %defattr(644,root,root,755)
60 %defattr(644,root,root,755)
61 %attr(755,root,root) %{_bindir}/granatier
62 %{_datadir}/apps/granatier
63 %{_desktopdir}/kde4/granatier.desktop
64 %{_datadir}/config.kcfg/granatier.kcfg
65 %{_iconsdir}/hicolor/*x*/apps/granatier.png
66 %{_iconsdir}/hicolor/scalable/apps/granatier.svgz
This page took 0.062283 seconds and 2 git commands to generate.