[packages/kde4-klickety] - new, based on kde4-kdegames.

witekfl witekfl at pld-linux.org
Tue Dec 24 22:01:18 CET 2013


commit adc08762e178f2a17fee51ea80e425381391ed8a
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date:   Tue Dec 24 22:00:47 2013 +0100

    - new, based on kde4-kdegames.

 kde4-klickety.spec | 62 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 62 insertions(+)
---
diff --git a/kde4-klickety.spec b/kde4-klickety.spec
new file mode 100644
index 0000000..89d91d1
--- /dev/null
+++ b/kde4-klickety.spec
@@ -0,0 +1,62 @@
+%define		_state		stable
+%define		orgname		klickety
+%define		qtver		4.8.0
+
+Summary:	Klickety
+Name:		kde4-%{orgname}
+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:	d76a7790a5c8857e417648d4ff0d4b6b
+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-%{orgname}
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Klickety.
+
+%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 %{orgname}	--with-kde
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files -f %{orgname}.lang
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/klickety
+%{_desktopdir}/kde4/klickety.desktop
+%{_desktopdir}/kde4/ksame.desktop
+%{_datadir}/apps/kconf_update/klickety-2.0-inherit-ksame-highscore.pl
+%{_datadir}/apps/kconf_update/klickety.upd
+%{_datadir}/apps/klickety
+%{_iconsdir}/hicolor/*x*/apps/klickety.png
+%{_iconsdir}/hicolor/*x*/apps/ksame.png
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/kde4-klickety.git/commitdiff/adc08762e178f2a17fee51ea80e425381391ed8a



More information about the pld-cvs-commit mailing list