[packages/kde4-kdiamond] - 4.12.0; based on kde4-kdegames

witekfl witekfl at pld-linux.org
Tue Dec 24 21:18:42 CET 2013


commit ffcf60b15676eb3def2084782730c796754b6758
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date:   Tue Dec 24 21:17:55 2013 +0100

    - 4.12.0; based on kde4-kdegames

 kde4-kdiamond.spec | 66 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 66 insertions(+)
---
diff --git a/kde4-kdiamond.spec b/kde4-kdiamond.spec
new file mode 100644
index 0000000..d7244c1
--- /dev/null
+++ b/kde4-kdiamond.spec
@@ -0,0 +1,66 @@
+%define		_state		stable
+%define		orgname		kdiamond
+%define		qtver		4.8.0
+
+Summary:	KBreakout
+Name:		kde4-kdiamond
+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:	9495759940010cfb3f370220d5c08ed1
+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-kdiamond
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+KDiamond.
+
+%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 kdiamond	--with-kde
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post			-p /sbin/ldconfig
+%postun			-p /sbin/ldconfig
+
+%files -f kdiamond.lang
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/kdiamond
+%{_desktopdir}/kde4/kdiamond.desktop
+%{_datadir}/apps/kdiamond
+%{_datadir}/config/kdiamond.knsrc
+%{_iconsdir}/*/*/apps/kdiamond.png
+%{_iconsdir}/hicolor/scalable/apps/kdiamond.svgz
+%{_datadir}/sounds/KDiamond-Stone-Drop.ogg
+%{_datadir}/sounds/KDiamond-Stone-Swap.ogg
+%{_datadir}/sounds/KDiamond-Stone-Touch.ogg
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/kde4-kdiamond.git/commitdiff/ffcf60b15676eb3def2084782730c796754b6758



More information about the pld-cvs-commit mailing list