From 25bc877d8a1f212e982e44696af197ac3d01c075bba97bf2892fcaa52d036881 Mon Sep 17 00:00:00 2001 From: Christophe Giboudeaux Date: Sat, 11 Jan 2020 09:22:48 +0000 Subject: [PATCH] Accepting request 763075 from home:rhabacker:branches:KDE:Extra update to 8.0.3 OBS-URL: https://build.opensuse.org/request/show/763075 OBS-URL: https://build.opensuse.org/package/show/KDE:Extra/alkimia?expand=0&rev=25 --- alkimia-7.0.2.tar.xz | 3 --- alkimia-8.0.3.tar.xz | 3 +++ alkimia.spec | 44 +++++++++++++++++++++++++++++++++++++++++--- 3 files changed, 44 insertions(+), 6 deletions(-) delete mode 100644 alkimia-7.0.2.tar.xz create mode 100644 alkimia-8.0.3.tar.xz diff --git a/alkimia-7.0.2.tar.xz b/alkimia-7.0.2.tar.xz deleted file mode 100644 index 361125f..0000000 --- a/alkimia-7.0.2.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:59e6b10d819479bc8dde53a8b10e6ec05e9d465c5e035528a5c0b036456a2454 -size 38420 diff --git a/alkimia-8.0.3.tar.xz b/alkimia-8.0.3.tar.xz new file mode 100644 index 0000000..066db87 --- /dev/null +++ b/alkimia-8.0.3.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1e57ed9279557d8e3575e7556a81b08dff4e882e9f5ad8502da63bfc98c7b33e +size 212780 diff --git a/alkimia.spec b/alkimia.spec index 72ccece..cb96f43 100644 --- a/alkimia.spec +++ b/alkimia.spec @@ -16,9 +16,10 @@ # -%define sonum 7 +%define sonum 8 +%bcond_without lang Name: alkimia -Version: 7.0.2 +Version: 8.0.3 Release: 0 Summary: Library with common classes and functionality used by finance applications License: LGPL-2.1-or-later @@ -28,9 +29,16 @@ Source0: https://download.kde.org/stable/%{name}/%{version}/%{name}-%{ver BuildRequires: doxygen BuildRequires: extra-cmake-modules BuildRequires: gmp-devel +BuildRequires: cmake(KF5Config) +BuildRequires: cmake(KF5CoreAddons) +BuildRequires: cmake(KF5KDELibs4Support) +BuildRequires: cmake(KF5NewStuff) +BuildRequires: cmake(KF5Package) BuildRequires: cmake(Qt5Core) >= 5.2.0 BuildRequires: cmake(Qt5DBus) >= 5.2.0 +BuildRequires: cmake(Qt5Qml) >= 5.2.0 BuildRequires: cmake(Qt5Test) >= 5.2.0 +BuildRequires: cmake(Qt5Widgets) >= 5.2.0 %description libalkimia is a library with common classes and functionality used by finance @@ -52,19 +60,45 @@ Requires: libalkimia5-%{sonum} = %{version} %description -n libalkimia5-devel The development files for libalkimia. +%lang_package + %prep %setup -q %build -%cmake_kf5 -d build +%cmake_kf5 -d build -- -DBUILD_WITH_WEBKIT=0 -DBUILD_APPLETS=0 %make_jobs %install %kf5_makeinstall -C build +mkdir -p %{buildroot}%{_datadir}/alkimia5/misc +mv %{buildroot}/alkimia5/misc/financequote.pl %{buildroot}%{_datadir}/alkimia5/misc/financequote.pl + +%if %{with lang} +%find_lang alkimia %{name}.lang +%find_lang onlinequoteseditor %{name}.lang +%find_lang plasma_applet_onlinequote %{name}.lang +%find_lang plasma_applet_org.wincak.foreigncurrencies2 %{name}.lang +%endif %post -n libalkimia5-%{sonum} -p /sbin/ldconfig %postun -n libalkimia5-%{sonum} -p /sbin/ldconfig +%files +%license COPYING.LIB +%{_kf5_applicationsdir}/org.kde.onlinequoteseditor5.desktop +%{_kf5_bindir}/onlinequoteseditor5 +%{_kf5_iconsdir}/hicolor/*/apps/onlinequoteseditor5.* +%dir %{_kf5_qmldir}/org/ +%dir %{_kf5_qmldir}/org/kde +%dir %{_kf5_qmldir}/org/kde/alkimia +%{_kf5_qmldir}/org/kde/alkimia/libqmlalkimia.so +%{_kf5_qmldir}/org/kde/alkimia/qmldir +%{_kf5_sharedir}/alkimia5/ +%{_kf5_sysconfdir}/xdg/alkimia-quotes.knsrc +%{_kf5_sysconfdir}/xdg/kmymoney-quotes.knsrc +%{_kf5_sysconfdir}/xdg/skrooge-quotes.knsrc + %files -n libalkimia5-devel %license COPYING.LIB %dir %{_includedir}/alkimia/ @@ -78,4 +112,8 @@ The development files for libalkimia. %doc README.md %{_kf5_libdir}/libalkimia5.so.%{sonum}* +%if %{with lang} +%files lang -f %{name}.lang +%endif + %changelog