2018-01-31 10:13:53 +01:00
|
|
|
#
|
|
|
|
# spec file for package alkimia
|
|
|
|
#
|
2019-03-25 09:59:56 +01:00
|
|
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
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
|
|
|
|
%bcond_without lang
|
2018-01-31 10:13:53 +01:00
|
|
|
Name: alkimia
|
2020-01-11 10:22:48 +01:00
|
|
|
Version: 8.0.3
|
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
|
2019-04-22 13:48:37 +02:00
|
|
|
Group: Development/Libraries/C and C++
|
2018-10-25 11:17:34 +02:00
|
|
|
URL: https://kmymoney.org/
|
2018-04-14 12:04:44 +02:00
|
|
|
Source0: https://download.kde.org/stable/%{name}/%{version}/%{name}-%{version}.tar.xz
|
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
|
2020-01-11 10:22:48 +01:00
|
|
|
BuildRequires: cmake(KF5Config)
|
|
|
|
BuildRequires: cmake(KF5CoreAddons)
|
|
|
|
BuildRequires: cmake(KF5KDELibs4Support)
|
|
|
|
BuildRequires: cmake(KF5NewStuff)
|
|
|
|
BuildRequires: cmake(KF5Package)
|
2019-04-22 13:48:37 +02:00
|
|
|
BuildRequires: cmake(Qt5Core) >= 5.2.0
|
|
|
|
BuildRequires: cmake(Qt5DBus) >= 5.2.0
|
2020-01-11 10:22:48 +01:00
|
|
|
BuildRequires: cmake(Qt5Qml) >= 5.2.0
|
2019-04-22 13:48:37 +02:00
|
|
|
BuildRequires: cmake(Qt5Test) >= 5.2.0
|
2020-01-11 10:22:48 +01:00
|
|
|
BuildRequires: cmake(Qt5Widgets) >= 5.2.0
|
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
|
|
|
|
Group: System/Libraries
|
|
|
|
|
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
|
2018-01-31 10:13:53 +01:00
|
|
|
Group: Development/Languages/C and C++
|
2019-03-25 09:59:56 +01:00
|
|
|
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
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2020-01-11 10:22:48 +01:00
|
|
|
%cmake_kf5 -d build -- -DBUILD_WITH_WEBKIT=0 -DBUILD_APPLETS=0
|
2018-01-31 10:13:53 +01:00
|
|
|
%make_jobs
|
|
|
|
|
|
|
|
%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
|
|
|
|
|
|
|
|
%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
|
2018-01-31 10:13:53 +01:00
|
|
|
|
2019-03-25 09:59:56 +01:00
|
|
|
%post -n libalkimia5-%{sonum} -p /sbin/ldconfig
|
|
|
|
%postun -n libalkimia5-%{sonum} -p /sbin/ldconfig
|
2018-01-31 10:13:53 +01:00
|
|
|
|
2020-01-11 10:22:48 +01:00
|
|
|
%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
|
|
|
|
|
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
|
|
|
%if %{with lang}
|
|
|
|
%files lang -f %{name}.lang
|
|
|
|
%endif
|
|
|
|
|
2018-01-31 10:13:53 +01:00
|
|
|
%changelog
|