[packages/kde4-picmi] - new
witekfl
witekfl at pld-linux.org
Wed Dec 25 19:43:54 CET 2013
commit b033a0b70a2ed42c9be398ec30f9b4bccd195f09
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date: Wed Dec 25 19:43:34 2013 +0100
- new
kde4-picmi.spec | 58 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 58 insertions(+)
---
diff --git a/kde4-picmi.spec b/kde4-picmi.spec
new file mode 100644
index 0000000..910eefa
--- /dev/null
+++ b/kde4-picmi.spec
@@ -0,0 +1,58 @@
+%define _state stable
+%define orgname picmi
+%define qtver 4.8.0
+
+Summary: picmi
+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: 6650504255787d1bf929f9363668c004
+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
+picmi.
+
+%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
+%attr(755,root,root) %{_bindir}/picmi
+%{_desktopdir}/kde4/picmi.desktop
+%{_datadir}/apps/picmi
+%{_iconsdir}/*/*/apps/picmi.png
+%{_iconsdir}/hicolor/scalable/apps/picmi.svgz
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/kde4-picmi.git/commitdiff/b033a0b70a2ed42c9be398ec30f9b4bccd195f09
More information about the pld-cvs-commit
mailing list