[packages/kde4-kbreakout] - new, based on kde4-kdegames
witekfl
witekfl at pld-linux.org
Mon Dec 23 20:46:17 CET 2013
commit fc58d35d98c0ef53b2e451cec966874ff5b93913
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date: Mon Dec 23 20:45:25 2013 +0100
- new, based on kde4-kdegames
kde4-kbreakout.spec | 61 +++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 61 insertions(+)
---
diff --git a/kde4-kbreakout.spec b/kde4-kbreakout.spec
new file mode 100644
index 0000000..3193e88
--- /dev/null
+++ b/kde4-kbreakout.spec
@@ -0,0 +1,61 @@
+%define _state stable
+%define orgname kbreakout
+%define qtver 4.8.0
+
+Summary: KBreakout
+Name: kde4-kbreakout
+Version: 4.12.0
+Release: 1
+License: GPL
+Group: X11/Applications/Games
+Source0: ftp://ftp.kde.org/pub/kde/%{_state}/%{version}/src/%{orgname}-%{version}.tar.xz
+# Source0-md5: 966a79383fd7accfd3d68666da5f1358
+BuildRequires: automoc4 >= 0.9.88
+BuildRequires: cmake >= 2.8.0
+BuildRequires: kde4-kdelibs-devel >= %{version}
+BuildRequires: kde4-libkdegames-devel >= %{version}
+BuildRequires: qt4-build >= %{qtver}
+BuildRequires: qt4-qmake >= %{qtver}
+BuildRequires: rpmbuild(macros) >= 1.600
+Obsoletes: kde4-kdegames-kbreakout
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+KBreakout.
+
+%prep
+%setup -q -n %{orgname}-%{version}
+
+%build
+install -d build
+cd build
+%cmake \
+ ../
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} -C build install \
+ DESTDIR=$RPM_BUILD_ROOT \
+ kde_htmldir=%{_kdedocdir}
+
+install -d $RPM_BUILD_ROOT/var/games
+# remove locolor icons
+rm -rf $RPM_BUILD_ROOT%{_iconsdir}/locolor
+
+%find_lang kbreakout --with-kde
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files -f kbreakout.lang
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/kbreakout
+%{_desktopdir}/kde4/kbreakout.desktop
+%{_datadir}/apps/kbreakout
+%{_iconsdir}/*/*/apps/kbreakout.png
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/kde4-kbreakout.git/commitdiff/fc58d35d98c0ef53b2e451cec966874ff5b93913
More information about the pld-cvs-commit
mailing list