2018-01-31 10:13:53 +01:00
|
|
|
#
|
|
|
|
# spec file for package alkimia
|
|
|
|
#
|
2021-02-07 09:44:58 +01:00
|
|
|
# Copyright (c) 2021 SUSE LLC
|
2018-01-31 10:13:53 +01:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2018-10-25 11:17:34 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2018-01-31 10:13:53 +01:00
|
|
|
#
|
|
|
|
|
2018-10-25 11:17:34 +02:00
|
|
|
|
2020-01-11 10:22:48 +01:00
|
|
|
%define sonum 8
|
2023-10-24 12:21:32 +02:00
|
|
|
%bcond_without released
|
2018-01-31 10:13:53 +01:00
|
|
|
Name: alkimia
|
2023-10-24 12:21:32 +02:00
|
|
|
Version: 8.1.2
|
2018-01-31 10:13:53 +01:00
|
|
|
Release: 0
|
|
|
|
Summary: Library with common classes and functionality used by finance applications
|
2018-10-25 11:17:34 +02:00
|
|
|
License: LGPL-2.1-or-later
|
|
|
|
URL: https://kmymoney.org/
|
2018-04-14 12:04:44 +02:00
|
|
|
Source0: https://download.kde.org/stable/%{name}/%{version}/%{name}-%{version}.tar.xz
|
2023-10-24 12:21:32 +02:00
|
|
|
%if %{with released}
|
2021-04-28 16:55:51 +02:00
|
|
|
Source1: https://download.kde.org/stable/%{name}/%{version}/%{name}-%{version}.tar.xz.sig
|
2022-07-04 09:33:55 +02:00
|
|
|
Source2: alkimia.keyring
|
2023-10-24 12:21:32 +02:00
|
|
|
%endif
|
2018-01-31 10:13:53 +01:00
|
|
|
BuildRequires: doxygen
|
2018-10-25 11:17:34 +02:00
|
|
|
BuildRequires: extra-cmake-modules
|
2019-04-22 13:48:37 +02:00
|
|
|
BuildRequires: gmp-devel
|
2021-04-28 16:55:51 +02:00
|
|
|
BuildRequires: cmake(KF5Completion)
|
2020-01-11 10:22:48 +01:00
|
|
|
BuildRequires: cmake(KF5Config)
|
|
|
|
BuildRequires: cmake(KF5CoreAddons)
|
2021-04-28 16:55:51 +02:00
|
|
|
BuildRequires: cmake(KF5I18n)
|
|
|
|
BuildRequires: cmake(KF5IconThemes)
|
|
|
|
BuildRequires: cmake(KF5KIO)
|
2020-01-11 10:22:48 +01:00
|
|
|
BuildRequires: cmake(KF5NewStuff)
|
|
|
|
BuildRequires: cmake(KF5Package)
|
2021-04-28 16:55:51 +02:00
|
|
|
BuildRequires: cmake(KF5TextWidgets)
|
2023-10-24 12:21:32 +02:00
|
|
|
BuildRequires: cmake(Qt5Core)
|
|
|
|
BuildRequires: cmake(Qt5DBus)
|
|
|
|
BuildRequires: cmake(Qt5Qml)
|
|
|
|
BuildRequires: cmake(Qt5Test)
|
|
|
|
BuildRequires: cmake(Qt5Widgets)
|
2018-01-31 10:13:53 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
libalkimia is a library with common classes and functionality used by finance
|
|
|
|
applications.
|
|
|
|
|
2019-03-25 09:59:56 +01:00
|
|
|
%package -n libalkimia5-%{sonum}
|
2018-01-31 10:13:53 +01:00
|
|
|
Summary: Library with common classes and functionality used by finance applications
|
|
|
|
|
2019-03-25 09:59:56 +01:00
|
|
|
%description -n libalkimia5-%{sonum}
|
|
|
|
libalkimia is a library for Qt5 with common classes and functionality used by finance
|
2018-01-31 10:13:53 +01:00
|
|
|
applications.
|
|
|
|
|
2019-03-25 09:59:56 +01:00
|
|
|
%package -n libalkimia5-devel
|
|
|
|
Summary: Development Files for libalkimia
|
|
|
|
Requires: libalkimia5-%{sonum} = %{version}
|
2018-01-31 10:13:53 +01:00
|
|
|
|
2019-03-25 09:59:56 +01:00
|
|
|
%description -n libalkimia5-devel
|
|
|
|
The development files for libalkimia.
|
2018-01-31 10:13:53 +01:00
|
|
|
|
2020-01-11 10:22:48 +01:00
|
|
|
%lang_package
|
|
|
|
|
2018-01-31 10:13:53 +01:00
|
|
|
%prep
|
2021-02-07 09:48:19 +01:00
|
|
|
%autosetup -p1
|
2018-01-31 10:13:53 +01:00
|
|
|
|
|
|
|
%build
|
2021-02-07 09:44:58 +01:00
|
|
|
%cmake_kf5 -d build -- -DBUILD_WITH_WEBKIT=0 -DBUILD_APPLETS=0 -DENABLE_FINANCEQUOTE=1
|
2021-02-07 09:48:19 +01:00
|
|
|
%cmake_build
|
2018-01-31 10:13:53 +01:00
|
|
|
|
|
|
|
%install
|
2019-03-25 09:59:56 +01:00
|
|
|
%kf5_makeinstall -C build
|
2020-01-11 10:22:48 +01:00
|
|
|
mkdir -p %{buildroot}%{_datadir}/alkimia5/misc
|
|
|
|
mv %{buildroot}/alkimia5/misc/financequote.pl %{buildroot}%{_datadir}/alkimia5/misc/financequote.pl
|
|
|
|
|
|
|
|
%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
|
2018-01-31 10:13:53 +01:00
|
|
|
|
2023-10-24 12:21:32 +02:00
|
|
|
%ldconfig_scriptlets -n libalkimia5-%{sonum}
|
2018-01-31 10:13:53 +01:00
|
|
|
|
2020-01-11 10:22:48 +01:00
|
|
|
%files
|
|
|
|
%license COPYING.LIB
|
2022-07-04 09:30:40 +02:00
|
|
|
%dir %{_kf5_qmldir}/org/
|
|
|
|
%dir %{_kf5_qmldir}/org/kde
|
|
|
|
%dir %{_kf5_qmldir}/org/kde/alkimia
|
2020-01-11 10:22:48 +01:00
|
|
|
%{_kf5_applicationsdir}/org.kde.onlinequoteseditor5.desktop
|
2022-07-04 09:30:40 +02:00
|
|
|
%{_kf5_appstreamdir}/org.kde.onlinequoteseditor5.appdata.xml
|
2020-01-11 10:22:48 +01:00
|
|
|
%{_kf5_bindir}/onlinequoteseditor5
|
|
|
|
%{_kf5_iconsdir}/hicolor/*/apps/onlinequoteseditor5.*
|
2021-02-07 09:48:19 +01:00
|
|
|
%{_kf5_knsrcfilesdir}/alkimia-quotes.knsrc
|
|
|
|
%{_kf5_knsrcfilesdir}/kmymoney-quotes.knsrc
|
|
|
|
%{_kf5_knsrcfilesdir}/skrooge-quotes.knsrc
|
2020-01-11 10:22:48 +01:00
|
|
|
%{_kf5_qmldir}/org/kde/alkimia/libqmlalkimia.so
|
|
|
|
%{_kf5_qmldir}/org/kde/alkimia/qmldir
|
|
|
|
%{_kf5_sharedir}/alkimia5/
|
|
|
|
|
2019-03-25 09:59:56 +01:00
|
|
|
%files -n libalkimia5-devel
|
2018-10-25 11:17:34 +02:00
|
|
|
%license COPYING.LIB
|
2018-01-31 10:13:53 +01:00
|
|
|
%dir %{_includedir}/alkimia/
|
|
|
|
%{_includedir}/alkimia/Qt5
|
2018-10-25 11:17:34 +02:00
|
|
|
%{_kf5_cmakedir}/LibAlkimia5-*/
|
2018-01-31 10:13:53 +01:00
|
|
|
%{_kf5_libdir}/libalkimia5.so
|
|
|
|
%{_libdir}/pkgconfig/libalkimia5.pc
|
|
|
|
|
2019-03-25 09:59:56 +01:00
|
|
|
%files -n libalkimia5-%{sonum}
|
2018-10-25 11:17:34 +02:00
|
|
|
%license COPYING.LIB
|
|
|
|
%doc README.md
|
2018-01-31 10:13:53 +01:00
|
|
|
%{_kf5_libdir}/libalkimia5.so.%{sonum}*
|
|
|
|
|
2020-01-11 10:22:48 +01:00
|
|
|
%files lang -f %{name}.lang
|
|
|
|
|
2018-01-31 10:13:53 +01:00
|
|
|
%changelog
|