]> git.pld-linux.org Git - packages/kde4-kbreakout.git/blame - kde4-kbreakout.spec
- macro orgname used more
[packages/kde4-kbreakout.git] / kde4-kbreakout.spec
CommitLineData
fc58d35d
WF
1%define _state stable
2%define orgname kbreakout
3%define qtver 4.8.0
4
5Summary: KBreakout
19271838 6Name: kde4-%{orgname}
fc58d35d
WF
7Version: 4.12.0
8Release: 1
9License: GPL
10Group: X11/Applications/Games
11Source0: ftp://ftp.kde.org/pub/kde/%{_state}/%{version}/src/%{orgname}-%{version}.tar.xz
12# Source0-md5: 966a79383fd7accfd3d68666da5f1358
13BuildRequires: automoc4 >= 0.9.88
14BuildRequires: cmake >= 2.8.0
15BuildRequires: kde4-kdelibs-devel >= %{version}
16BuildRequires: kde4-libkdegames-devel >= %{version}
17BuildRequires: qt4-build >= %{qtver}
18BuildRequires: qt4-qmake >= %{qtver}
19BuildRequires: rpmbuild(macros) >= 1.600
19271838 20Obsoletes: kde4-kdegames-%{orgname}
fc58d35d
WF
21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23%description
24KBreakout.
25
26%prep
27%setup -q -n %{orgname}-%{version}
28
29%build
30install -d build
31cd build
32%cmake \
33 ../
34
35%{__make}
36
37%install
38rm -rf $RPM_BUILD_ROOT
39
40%{__make} -C build install \
41 DESTDIR=$RPM_BUILD_ROOT \
42 kde_htmldir=%{_kdedocdir}
43
44install -d $RPM_BUILD_ROOT/var/games
45# remove locolor icons
46rm -rf $RPM_BUILD_ROOT%{_iconsdir}/locolor
47
19271838 48%find_lang %{orgname} --with-kde
fc58d35d
WF
49
50%clean
51rm -rf $RPM_BUILD_ROOT
52
53%post -p /sbin/ldconfig
54%postun -p /sbin/ldconfig
55
19271838 56%files -f %{orgname}.lang
fc58d35d
WF
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.075941 seconds and 4 git commands to generate.