Summary: The Personal Finances Manager Name: kmymoney Version: 5.0.1 Release: %mkrel 4 License: GPLv2+ Group: Office/Finance Url: https://kmymoney.org/ Source0: http://download.kde.org/stable/%{name}/%{version}/src/%{name}-%{version}.tar.xz Patch0: kmymoney-5.0.1-fix-build-against-qt-5.11.0.patch BuildRequires: boost-devel BuildRequires: kf5-macros BuildRequires: cmake(KChart) BuildRequires: cmake(KF5Activities) BuildRequires: cmake(KF5DocTools) BuildRequires: cmake(KF5Contacts) BuildRequires: cmake(KF5Akonadi) BuildRequires: cmake(KF5KCMUtils) BuildRequires: cmake(KF5Holidays) BuildRequires: cmake(KF5IdentityManagement) BuildRequires: cmake(KF5Kross) BuildRequires: cmake(KF5Notifications) BuildRequires: cmake(KF5Wallet) BuildRequires: cmake(KF5WebKit) BuildRequires: cmake(KF5AkonadiContact) BuildRequires: cmake(KF5CoreAddons) BuildRequires: cmake(KF5KIO) BuildRequires: cmake(KF5Archive) BuildRequires: cmake(KF5Config) BuildRequires: cmake(KF5ConfigWidgets) BuildRequires: cmake(KF5I18n) BuildRequires: cmake(KF5Completion) BuildRequires: cmake(KF5ItemModels) BuildRequires: cmake(KF5ItemViews) BuildRequires: cmake(KF5Service) BuildRequires: cmake(KF5IconThemes) BuildRequires: cmake(KF5XmlGui) BuildRequires: cmake(KF5TextWidgets) BuildRequires: cmake(LibIcal) BuildRequires: cmake(Qt5Core) BuildRequires: cmake(Qt5DBus) BuildRequires: cmake(Qt5Gui) BuildRequires: cmake(Qt5Concurrent) BuildRequires: cmake(Qt5PrintSupport) BuildRequires: cmake(Qt5Sql) BuildRequires: cmake(Qt5Svg) BuildRequires: cmake(Qt5Test) BuildRequires: cmake(Qt5Widgets) BuildRequires: cmake(Qt5Xml) BuildRequires: gpgme-devel BuildRequires: pkgconfig(libofx) BuildRequires: pkgconfig(aqbanking) BuildRequires: pkgconfig(libalkimia5) BuildRequires: pkgconfig(libxml++-2.6) BuildRequires: pkgconfig(gwenhywfar) BuildRequires: pkgconfig(gwengui-qt5) BuildRequires: pkgconfig(ktoblzcheck) BuildRequires: pkgconfig(sqlcipher) BuildRequires: doxygen BuildRequires: perl(Finance::Quote) BuildRequires: weboob Requires: perl-Finance-Quote Recommends: %{name}-plugin-weboob %description KMyMoney Personal Finance Manager. %files -f %name.lang %{_kf5_bindir}/kmymoney %{_qt5_plugindir}/kmymoney/ %{_kf5_datadir}/config.kcfg/kmymoney.kcfg %{_kf5_datadir}/config.kcfg/kbanking.kcfg %{_kf5_datadir}/checkprinting/ %{_kf5_datadir}/kbanking/ %{_kf5_datadir}/kmymoney/ %{_kf5_datadir}/kxmlgui5/* %{_kf5_appdatadir}/org.kde.kmymoney.appdata.xml %{_kf5_datadir}/kconf_update/kmymoney.upd %{_kf5_applicationdir}/org.kde.kmymoney.desktop %{_kf5_iconsdir}/*/*/*/* %{_kf5_services}/*.desktop %{_kf5_servicetypes}/*.desktop %{_kf5_datadir}/mime/packages/*.xml %{_kf5_mandir}/man1/kmymoney.1* #----------------------------------------------------------------------------- %define kmm_csvimportercore_major 5 %define libkmm_csvimportercore %mklibname kmm_csvimportercore %{kmm_csvimportercore_major} %package -n %{libkmm_csvimportercore} Summary: KMyMoney library Group: System/Libraries %description -n %{libkmm_csvimportercore} KMyMoney library. %files -n %{libkmm_csvimportercore} %{_kf5_libdir}/libkmm_csvimportercore.so.%{kmm_csvimportercore_major}{,.*} #----------------------------------------------------------------------------- %define kmm_mymoney_major 5 %define libkmm_mymoney %mklibname kmm_mymoney %{kmm_mymoney_major} %package -n %{libkmm_mymoney} Summary: KMyMoney library Group: System/Libraries %description -n %{libkmm_mymoney} KMyMoney library. %files -n %{libkmm_mymoney} %{_kf5_libdir}/libkmm_mymoney.so.%{kmm_mymoney_major}{,.*} #----------------------------------------------------------------------------- %define kmm_icons_major 5 %define libkmm_icons %mklibname kmm_icons %{kmm_icons_major} %package -n %{libkmm_icons} Summary: KMyMoney library Group: System/Libraries %description -n %{libkmm_icons} KMyMoney library. %files -n %{libkmm_icons} %{_kf5_libdir}/libkmm_icons.so.%{kmm_icons_major}{,.*} #----------------------------------------------------------------------------- %define kmm_plugin_major 5 %define libkmm_plugin %mklibname kmm_plugin %{kmm_plugin_major} %package -n %{libkmm_plugin} Summary: KMyMoney library Group: System/Libraries %description -n %{libkmm_plugin} KMyMoney library. %files -n %{libkmm_plugin} %{_kf5_libdir}/libkmm_plugin.so.%{kmm_plugin_major}{,.*} #----------------------------------------------------------------------------- %package -n %{name}-plugin-weboob Summary: KMyMoney Weboob plugin Group: System/Libraries %description -n %{name}-plugin-weboob KMyMoney plugin to access bank website through Weboob. %files -n %{name}-plugin-weboob %dir %{_kf5_datadir}/%{name}/weboob %{_kf5_datadir}/%{name}/weboob/*weboob.py* #----------------------------------------------------------------------------- %define kmm_widgets_major 5 %define libkmm_widgets %mklibname kmm_widgets %{kmm_widgets_major} %package -n %{libkmm_widgets} Summary: KMyMoney library Group: System/Libraries %description -n %{libkmm_widgets} KMyMoney library. %files -n %{libkmm_widgets} %{_kf5_libdir}/libkmm_widgets.so.%{kmm_widgets_major}{,.*} #----------------------------------------------------------------------------- %define kmm_payeeidentifier_major 5 %define libkmm_payeeidentifier %mklibname kmm_payeeidentifier %{kmm_payeeidentifier_major} %package -n %{libkmm_payeeidentifier} Summary: KMyMoney library Group: System/Libraries %description -n %{libkmm_payeeidentifier} KMyMoney library. %files -n %{libkmm_payeeidentifier} %{_kf5_libdir}/libkmm_payeeidentifier.so.%{kmm_payeeidentifier_major}{,.*} #----------------------------------------------------------------------------- %define payeeidentifier_iban_bic_major 5 %define libpayeeidentifier_iban_bic %mklibname payeeidentifier_iban_bic %{payeeidentifier_iban_bic_major} %package -n %{libpayeeidentifier_iban_bic} Summary: KMyMoney library Group: System/Libraries %description -n %{libpayeeidentifier_iban_bic} KMyMoney library. %files -n %{libpayeeidentifier_iban_bic} %{_kf5_libdir}/libpayeeidentifier_iban_bic.so.%{payeeidentifier_iban_bic_major}{,.*} #----------------------------------------------------------------------------- %define payeeidentifier_iban_bic_widgets_major 5 %define libpayeeidentifier_iban_bic_widgets %mklibname payeeidentifier_iban_bic_widgets %{payeeidentifier_iban_bic_widgets_major} %package -n %{libpayeeidentifier_iban_bic_widgets} Summary: KMyMoney library Group: System/Libraries %description -n %{libpayeeidentifier_iban_bic_widgets} KMyMoney library. %files -n %{libpayeeidentifier_iban_bic_widgets} %{_kf5_libdir}/libpayeeidentifier_iban_bic_widgets.so.%{payeeidentifier_iban_bic_widgets_major}{,.*} #----------------------------------------------------------------------------- %define payeeidentifier_nationalAccount_major 5 %define libpayeeidentifier_nationalAccount %mklibname payeeidentifier_nationalAccount %{payeeidentifier_nationalAccount_major} %package -n %{libpayeeidentifier_nationalAccount} Summary: KMyMoney library Group: System/Libraries %description -n %{libpayeeidentifier_nationalAccount} KMyMoney library. %files -n %{libpayeeidentifier_nationalAccount} %{_kf5_libdir}/libpayeeidentifier_nationalAccount.so.%{payeeidentifier_nationalAccount_major}{,.*} #----------------------------------------------------------------------------- %package devel Summary: KMyMoney Development library Group: Development/KDE and Qt Requires: %{libkmm_csvimportercore} = %{version} Requires: %{libkmm_mymoney} = %{version} Requires: %{libkmm_icons} = %{version} Requires: %{libkmm_plugin} = %{version} Requires: %{libkmm_widgets} = %{version} Requires: %{libkmm_payeeidentifier} = %{version} Requires: %{libpayeeidentifier_iban_bic} = %{version} Requires: %{libpayeeidentifier_iban_bic_widgets} = %{version} Requires: %{libpayeeidentifier_nationalAccount} = %{version} %description devel KMyMoney development files. %files devel %{_kf5_libdir}/libkmm_csvimportercore.so %{_kf5_libdir}/libkmm_mymoney.so %{_kf5_libdir}/libkmm_icons.so %{_kf5_libdir}/libkmm_plugin.so %{_kf5_libdir}/libkmm_widgets.so %{_kf5_libdir}/libkmm_payeeidentifier.so %{_kf5_libdir}/libpayeeidentifier_iban_bic.so %{_kf5_libdir}/libpayeeidentifier_iban_bic_widgets.so %{_kf5_libdir}/libpayeeidentifier_nationalAccount.so %{_includedir}/%{name}/ #----------------------------------------------------------------------------- %prep %setup -q %autopatch -p1 %build %cmake_kf5 %make_build %install %make_install -C build %find_lang %name --with-html --with-man