[packages/ka5-kcalc] - updated to 18.12.0

witekfl witekfl at pld-linux.org
Fri Dec 28 15:56:16 CET 2018


commit 0e8dee06eccbb31eabe01b353c5c20345c83f983
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date:   Fri Dec 28 15:56:03 2018 +0100

    - updated to 18.12.0

 ka5-kcalc.spec | 71 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 71 insertions(+)
---
diff --git a/ka5-kcalc.spec b/ka5-kcalc.spec
new file mode 100644
index 0000000..a26d158
--- /dev/null
+++ b/ka5-kcalc.spec
@@ -0,0 +1,71 @@
+%define		kdeappsver	18.12.0
+%define		qtver		5.9.0
+%define		kaname		kcalc
+Summary:	Kcalc
+Name:		ka5-%{kaname}
+Version:	18.12.0
+Release:	1
+License:	GPL v2+/LGPL v2.1+
+Group:		X11/Applications
+Source0:	http://download.kde.org/stable/applications/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
+# Source0-md5:	0695d02d462422609cecbf87b2fd9de8
+URL:		http://www.kde.org/
+BuildRequires:	Qt5Core-devel >= %{qtver}
+BuildRequires:	Qt5Gui-devel >= 5.11.1
+BuildRequires:	Qt5Widgets-devel
+BuildRequires:	cmake >= 2.8.12
+BuildRequires:	gettext-devel
+BuildRequires:	gmp-devel
+BuildRequires:	kf5-extra-cmake-modules >= 5.53.0
+BuildRequires:	kf5-kconfig-devel >= 5.46.0
+BuildRequires:	kf5-kconfigwidgets-devel >= 5.46.0
+BuildRequires:	kf5-kdoctools-devel >= 5.46.0
+BuildRequires:	kf5-kguiaddons-devel >= 5.46.0
+BuildRequires:	kf5-ki18n-devel >= 5.46.0
+BuildRequires:	kf5-kinit-devel >= 5.46.0
+BuildRequires:	kf5-knotifications-devel >= 5.46.0
+BuildRequires:	kf5-kxmlgui-devel >= 5.46.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
+KCalc is a calculator which offers many more mathematical functions
+than meet the eye on a first glance.. Features. The usual
+functionality offered by most scientific calculators; Trigonometric
+functions, logic operations, and statistical calculations.
+
+%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}/kcalc
+%attr(755,root,root) %{_libdir}/libkdeinit5_kcalc.so
+%{_desktopdir}/org.kde.kcalc.desktop
+%{_datadir}/config.kcfg/kcalc.kcfg
+%{_datadir}/kcalc
+%{_datadir}/kconf_update/kcalcrc.upd
+%{_datadir}/kxmlgui5/kcalc
+%{_datadir}/metainfo/org.kde.kcalc.appdata.xml
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ka5-kcalc.git/commitdiff/0e8dee06eccbb31eabe01b353c5c20345c83f983



More information about the pld-cvs-commit mailing list