[packages/ka5-kbruch] - updated to 18.12.0
witekfl
witekfl at pld-linux.org
Thu Dec 27 21:06:08 CET 2018
commit a9808610bb0cce3a3ed14a82260a0d29a1faf065
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date: Thu Dec 27 21:05:56 2018 +0100
- updated to 18.12.0
ka5-kbruch.spec | 84 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 84 insertions(+)
---
diff --git a/ka5-kbruch.spec b/ka5-kbruch.spec
new file mode 100644
index 0000000..06e718b
--- /dev/null
+++ b/ka5-kbruch.spec
@@ -0,0 +1,84 @@
+%define kdeappsver 18.12.0
+%define qtver 5.9.0
+%define kaname kbruch
+Summary: Kbruch
+Name: ka5-%{kaname}
+Version: 18.12.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: 2ef1d1bae537c27fe2a17770ca6ea3b0
+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: kf5-extra-cmake-modules >= 5.53.0
+BuildRequires: kf5-kconfig-devel >= 5.46.0
+BuildRequires: kf5-kcrash-devel >= 5.46.0
+BuildRequires: kf5-kdoctools-devel >= 5.46.0
+BuildRequires: kf5-ki18n-devel >= 5.46.0
+BuildRequires: kf5-kwidgetsaddons-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
+KBruch is a small program to practice calculating with fractions and
+percentages. Different exercises are provided for this purpose and you
+can use the learning mode to practice with fractions. The program
+checks the user's input and gives feedback.
+
+%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}/kbruch
+%{_desktopdir}/org.kde.kbruch.desktop
+%{_datadir}/config.kcfg/kbruch.kcfg
+%{_iconsdir}/hicolor/16x16/apps/kbruch.png
+%{_iconsdir}/hicolor/22x22/apps/kbruch.png
+%{_iconsdir}/hicolor/32x32/apps/kbruch.png
+%{_iconsdir}/hicolor/48x48/apps/kbruch.png
+%{_iconsdir}/hicolor/64x64/apps/kbruch.png
+%{_iconsdir}/hicolor/scalable/apps/kbruch.svgz
+%{_datadir}/kbruch
+%{_datadir}/kxmlgui5/kbruch
+%lang(ca) %{_mandir}/ca/man1/kbruch.1*
+%lang(de) %{_mandir}/de/man1/kbruch.1*
+%lang(es) %{_mandir}/es/man1/kbruch.1*
+%lang(et) %{_mandir}/et/man1/kbruch.1*
+%lang(it) %{_mandir}/it/man1/kbruch.1*
+%{_mandir}/man1/kbruch.1*
+%lang(nl) %{_mandir}/nl/man1/kbruch.1*
+%lang(pt) %{_mandir}/pt/man1/kbruch.1*
+%lang(pt_BR) %{_mandir}/pt_BR/man1/kbruch.1*
+%lang(ru) %{_mandir}/ru/man1/kbruch.1*
+%lang(sv) %{_mandir}/sv/man1/kbruch.1*
+%lang(uk) %{_mandir}/uk/man1/kbruch.1*
+%{_datadir}/metainfo/org.kde.kbruch.appdata.xml
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ka5-kbruch.git/commitdiff/a9808610bb0cce3a3ed14a82260a0d29a1faf065
More information about the pld-cvs-commit
mailing list