[packages/ka5-kmahjongg] - new
witekfl
witekfl at pld-linux.org
Thu May 3 20:38:31 CEST 2018
commit 0d0088d52bf986537d5d9444dd88d19ff7103033
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date: Thu May 3 20:38:03 2018 +0200
- new
ka5-kmahjongg.spec | 63 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 63 insertions(+)
---
diff --git a/ka5-kmahjongg.spec b/ka5-kmahjongg.spec
new file mode 100644
index 0000000..75cad65
--- /dev/null
+++ b/ka5-kmahjongg.spec
@@ -0,0 +1,63 @@
+%define kdeappsver 18.04.0
+%define qtver 5.3.2
+%define kaname kmahjongg
+Summary: kmahjongg
+Name: ka5-%{kaname}
+Version: 18.04.0
+Release: 1
+License: GPL v2+/LGPL v2.1+
+Group: X11/Applications/Games
+Source0: http://download.kde.org/stable/applications/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
+# Source0-md5: dc0102bc960dda9eb49b48ba3608c27a
+URL: http://www.kde.org/
+BuildRequires: Qt5Core-devel >= %{qtver}
+BuildRequires: cmake >= 2.8.12
+BuildRequires: ka5-libkmahjongg-devel
+BuildRequires: kf5-extra-cmake-modules >= 1.4.0
+BuildRequires: qt5-build >= %{qtver}
+BuildRequires: rpmbuild(macros) >= 1.164
+BuildRequires: shared-mime-info
+BuildRequires: tar >= 1:1.22
+BuildRequires: xz
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Kmahjongg.
+
+%prep
+%setup -q -n %{kaname}-%{version}
+
+%build
+install -d build
+cd build
+%cmake \
+ -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
+ ..
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__make} -C build install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%find_lang %{kaname} --all-name --with-kde
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+
+%files -f %{kaname}.lang
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/kmahjongg
+%{_desktopdir}/org.kde.kmahjongg.desktop
+%{_datadir}/config.kcfg/kmahjongg.kcfg
+%{_iconsdir}/hicolor/128x128/apps/kmahjongg.png
+%{_iconsdir}/hicolor/16x16/apps/kmahjongg.png
+%{_iconsdir}/hicolor/22x22/apps/kmahjongg.png
+%{_iconsdir}/hicolor/32x32/apps/kmahjongg.png
+%{_iconsdir}/hicolor/48x48/apps/kmahjongg.png
+%{_iconsdir}/hicolor/64x64/apps/kmahjongg.png
+%{_iconsdir}/hicolor/scalable/apps/kmahjongg.svgz
+%{_datadir}/kmahjongg
+%{_datadir}/kxmlgui5/kmahjongg
+%{_datadir}/metainfo/org.kde.kmahjongg.appdata.xml
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ka5-kmahjongg.git/commitdiff/0d0088d52bf986537d5d9444dd88d19ff7103033
More information about the pld-cvs-commit
mailing list