[packages/kde4-kpat] - new, based on kde4-kdegames

witekfl witekfl at pld-linux.org
Wed Dec 25 14:17:38 CET 2013


commit 547f98df05d07a6836d34be440c71f837c70e927
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date:   Wed Dec 25 14:17:10 2013 +0100

    - new, based on kde4-kdegames

 kde4-kpat.spec | 74 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 74 insertions(+)
---
diff --git a/kde4-kpat.spec b/kde4-kpat.spec
new file mode 100644
index 0000000..b4d681d
--- /dev/null
+++ b/kde4-kpat.spec
@@ -0,0 +1,74 @@
+%define		_state		stable
+%define		orgname		kpat
+%define		qtver		4.8.0
+
+Summary:	KDE solitaire patience game
+Summary(pl.UTF-8):	Pasjanse dla KDE
+Summary(pt_BR.UTF-8):	Versão do jogo 'Paciência' para o KDE
+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:	fdb31a1322bb570e690ea84ee5a999e2
+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
+KDE solitaire patience games.
+
+%description -l pl.UTF-8
+Program dla KDE umożliwiający układanie kilku rodzajów pasjansów.
+
+%description -l pt_BR.UTF-8
+Versão do jogo 'Paciência' para o KDE.
+
+%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
+
+%post			-p /sbin/ldconfig
+%postun			-p /sbin/ldconfig
+
+%files -f %{orgname}.lang
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/kpat
+%attr(755,root,root) %{_libdir}/libkcardgame.so
+%{_desktopdir}/kde4/kpat.desktop
+%{_datadir}/apps/kpat
+%{_datadir}/config.kcfg/kpat.kcfg
+%{_datadir}/config/kcardtheme.knsrc
+%{_datadir}/config/kpat.knsrc
+%{_datadir}/mime/packages/kpatience.xml
+%{_iconsdir}/*/*/apps/kpat.png
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/kde4-kpat.git/commitdiff/547f98df05d07a6836d34be440c71f837c70e927



More information about the pld-cvs-commit mailing list