Summary: Personal finance manager Summary(ja): 個人用財務管理ツール Name: kmymoney Version: 4.6.6 Release: 4%{?_dist_release} Group: Applications/Productivity # kmm itself is GPLv2+ , but kdchart is GPLv2 or GPLv3 License: GPLv2 or GPLv3 URL: https://kmymoney.org/ Source0: http://download.kde.org/stable/kmymoney/4.6.6/src/%{name}-%{version}.tar.xz ## upstream patches BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRequires: libboost-devel BuildRequires: libboost-graph BuildRequires: cppunit-devel BuildRequires: desktop-file-utils BuildRequires: gettext BuildRequires: gpgme-devel BuildRequires: glibmm-devel BuildRequires: kdepimlibs-devel #BuildRequires: calligra-kdchart-devel BuildRequires: libical-devel BuildRequires: libxml2-devel BuildRequires: libofx-devel BuildRequires: libxml++-devel BuildRequires: libalkimia-devel BuildRequires: soprano-devel BuildRequires: gwenhywfar-devel BuildRequires: gmp-devel Requires: %{name}-libs = %{version}-%{release} Obsoletes: kmymoney2 < 2 Provides: kmymoney2 = %{version}-%{release} Obsoletes: kmymoney2-aqbanking < 2 Provides: kmymoney2-aqbanking = %{version}-%{release} %description KMyMoney strives to be the best personal finance manager. The ultimate objectives of KMyMoney are... * Accuracy. Using time tested double entry accounting principles helps ensure that your finances are kept in correct order. * Ease of use. Strives to be the easiest open source personal finance manager to use, especially for the non-technical user. * Familiar Features. Intends to provide all important features found in the commercially-available, personal finance managers. %package libs Summary: Run-time libraries for %{name} Summary(ja): %{name} のランタイムライブラリ Group: System Environment/Libraries Requires: %{name} = %{version}-%{release} Obsoletes: kmymoney2-libs < 2 %description libs %{summary}. %package devel Summary: Development files for %{name} Summary(ja): %{name} の開発用ファイル Group: Development/Libraries Requires: %{name}-libs%{?_isa} = %{version}-%{release} Requires: kdelibs4-devel Obsoletes: kmymoney2-devel < 2 %description devel %{summary}. %prep %setup -q -n kmymoney-%{version} %build mkdir -p %{_target_platform} pushd %{_target_platform} %{cmake} \ -DCMAKE_BUILD_TYPE=release \ -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \ -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \ -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \ .. popd make %{?_smp_mflags} -C %{_target_platform} # fix world writable perms find . -type f -name 'ui_*.h' -exec chmod 0644 {} ';' %install rm -rf %{buildroot} make install/fast DESTDIR=%{buildroot} -C %{_target_platform} %find_lang kmymoney --with-kde %check desktop-file-validate %{buildroot}%{_datadir}/applications/kde4/kmymoney.desktop # make test %clean rm -rf %{buildroot} %post libs -p /sbin/ldconfig %postun libs -p /sbin/ldconfig %post touch --no-create %{_datadir}/icons/locolor &> /dev/null || : touch --no-create %{_datadir}/icons/hicolor &> /dev/null || : %postun if [ $1 -eq 0 ] ; then update-desktop-database -q &> /dev/null update-mime-database %{_datadir}/mime &> /dev/null touch --no-create %{_datadir}/icons/locolor &> /dev/null touch --no-create %{_datadir}/icons/hicolor &> /dev/null gtk-update-icon-cache %{_datadir}/icons/locolor &> /dev/null || : gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || : fi %posttrans update-desktop-database -q &> /dev/null update-mime-database %{_datadir}/mime &> /dev/null gtk-update-icon-cache %{_datadir}/icons/locolor &> /dev/null || : gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || : %files -f kmymoney.lang %defattr(-,root,root,-) %doc AUTHORS ChangeLog COPYING TODO %doc README.Fileformats README.ofx %{_bindir}/kmymoney %{_datadir}/kde4/apps/kmymoney/ %{_datadir}/kde4/apps/kmm_*/ %{_datadir}/applications/kde4/kmymoney.desktop %{_datadir}/config.kcfg/kmymoney.kcfg %{_datadir}/config/csvimporterrc %{_datadir}/kde4/services/*.desktop %{_datadir}/kde4/servicetypes/*.desktop %{_mandir}/man1/kmymoney.1.gz %{_datadir}/mime/packages/x-kmymoney.xml %{_datadir}/icons/hicolor/*/*/* %{_datadir}/icons/locolor/*/*/* %{_libdir}/kde4/*.so %files libs %defattr(-,root,root,-) %{_libdir}/libkmm_kdchart.so.4* %{_libdir}/libkmm_mymoney.so.4* %{_libdir}/libkmm_plugin.so.4* %{_libdir}/libkmm_widgets.so.4* %files devel %defattr(-,root,root,-) %{_includedir}/kde4/kmymoney/ %{_libdir}/libkmm_*.so %changelog * Sat Jul 09 2016 Yoji TOYODA - 4.6.6-4 - rebuild with gcc-5.4.0 * Mon Mar 9 2015 Ryoichi INAGAKI - 4.6.6-3 - rebuilt with libofx 0.9.10 * Mon Feb 23 2015 Ryoichi INAGAKI - 4.6.6-2 - rebuilt with libical 1.0.1 - added BR: libboost-graph * Sat Dec 13 2014 Ryoichi INAGAKI - 4.6.6-1 - new upstream release - built with gmp 5.1.3 - added Japanese summary * Sun Sep 02 2012 Yoji TOYODA - 4.6.3-1 - new upstream release - remove Patch50 (kmymoney-3.96.1-rpath.patch) - add BuildRequires: gmp-devel, libalkimia-devel - remove BuildRequires: q4banking-devel * Sat May 14 2011 Yoji TOYODA - 4.5-3 - add BuildRequires: soprano-devel, gwenhywfar-devel * Wed Sep 15 2010 Ryoichi INAGAKI - 4.5-2 - Initial build for VineLinux * Mon Aug 16 2010 Rex Dieter - 4.5-1 - kmymoney-4.5 * Sun May 16 2010 Rex Dieter - 3.98.0-1 - kmymoney-3.98.0 * Wed Apr 07 2010 Rex Dieter - 3.97.2-1 - kmymoney-3.97.2 - License: GPLv2 or GPLv3 - omit .directory files from packaging - -debuginfo: fix world-writable perms in generated headers * Fri Apr 02 2010 Rex Dieter - 3.97.0-1 - kmymoney-3.97.0 - use external/shared kdchart * Fri Mar 19 2010 Rex Dieter - 3.96.1-1 - kmymoney-3.96.1 (for kde4, beta) - Obsoletes: kmymoney2 (and friends) * Mon Feb 15 2010 Rex Dieter - 1.0.3-1 - kmymoney2-1.0.3 * Thu Jan 21 2010 Bill Nottingham - 1.0.2-2 - rebuild against latest aqbanking/qbanking * Sun Oct 04 2009 Rex Dieter - 1.0.2-1 - kmymoney2-1.0.2 * Sun Sep 06 2009 Rex Dieter - 1.0.1-1 - kmymoney2-1.0.1 * Wed Aug 19 2009 Rex Dieter - 1.0.0-1 - kmymoney2-1.0.0 * Fri Jul 24 2009 Fedora Release Engineering - 0.9.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Fri Jul 17 2009 Rex Dieter - 0.9.3-3 - validate .desktop file - -libs unconditional - use %%_isa where appropriate - optimize scriptlets * Wed Feb 25 2009 Fedora Release Engineering - 0.9.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Tue Feb 24 2009 Rex Dieter 0.9.3-1 - kmymoney2-0.9.3 * Mon Sep 15 2008 Rex Dieter 0.9.2-3 - respun tarball * Sun Sep 14 2008 Rex Dieter 0.9.2-1 - kmymoney2-0.9.2 * Tue Sep 9 2008 Bill Nottingham 0.9-2 - rebuild for new libofx ABI * Wed May 14 2008 Rex Dieter 0.9-1 - kmymoney2-0.9 * Wed Mar 26 2008 Rex Dieter 0.8.9-1 - kmymoney2-0.8.9 - --disable-kbanking (requires aqbanking,kbanking fix/update) - drop multilib upgrade hack * Fri Feb 22 2008 Rex Dieter 0.8.8-3 - gcc43 patch (#434398) - multiarch conflicts, -libs subpkg (#341821) * Tue Feb 19 2008 Fedora Release Engineering - 0.8.8-2 - Autorebuild for GCC 4.3 * Wed Dec 19 2007 Rex Dieter 0.8.8-1 - kmymoney2-0.8.8 - --enable-kbanking * Sat Dec 08 2007 Rex Dieter 0.8.7-5 - BR: kdelibs3-devel * Sat Aug 25 2007 Rex Dieter 0.8.7-4 - respin (BuildID) * Thu Aug 09 2007 Rex Dieter 0.8.7-3 - License: GPLv2+ * Wed Jul 25 2007 Jesse Keating 0.8.7-2 - Rebuild for RH #249435 * Mon Jul 23 2007 Rex Dieter 0.8.7-1 - kmymoney2-0.8.7 * Sat Mar 10 2007 Rex Dieter 0.8.6-1 - kmymoney2-0.8.6 - fix Obsoletes: kmymoney * Thu Jan 11 2007 Rex Dieter 0.8.5-3 - fix _enable_ofxbanking macro usage to re-enable ofx support * Tue Nov 28 2006 Rex Dieter 0.8.5-2 - drop desktop-file-utils bits - Ob/Pr: kmymoney(-devel), upstream/rpmforge calls it kmymoney * Thu Aug 31 2006 Rex Dieter 0.8.5-1 - 0.8.5 * Tue Aug 29 2006 Rex Dieter 0.8.4-2 - --disable-final (for now) - BR: gettext * Sun May 21 2006 Rex Dieter 0.8.4-1 - 0.8.4 * Thu Apr 13 2006 Rex Dieter 0.8.3-3 - desktop-file-install --vendor="" * Wed Feb 22 2006 Rex Dieter 0.8.3-1 - 0.8.3 * Fri Feb 10 2006 Rex Dieter - fc5: gcc/glibc respin * Sat Dec 31 2005 Rex Dieter 0.8.2-1 - 0.8.2 * Fri Dec 23 2005 Rex Dieter 0.8.1-7 - gcc41 patch * Fri Dec 23 2005 Rex Dieter 0.8.1-6 - cleanup ofx deps * Fri Dec 23 2005 Rex Dieter 0.8.1-5 - cleanup %%post - fc5 respin for new(er) libofx * Mon Nov 14 2005 Rex Dieter 0.8.1-4 - relax BR: kdelibs-devel to 3.3 (for aurora/sparc, #173133) * Thu Nov 10 2005 Rex Dieter 0.8.1-3 - fix relative symlinks * Wed Nov 09 2005 Rex Dieter 0.8.1-2 - qt-3.3.5 patch - 'make check' workaround (kde bug #115863) - trim %%description * Sat Nov 05 2005 Rex Dieter 0.8.1-1 - 0.8.1 * Fri Nov 04 2005 Rex Dieter 0.8-5 - drop useless macros - use %%fedora,%%rhel to conditionalize ofxbanking support * Fri Oct 21 2005 Rex Dieter 0.8-4 - %%post,%%postun: gtk-update-icon-cache, update-desktop-database - omit lib*.la - x86_64: set QTDIR/QTLIB * Thu Sep 01 2005 Rex Dieter 0.8-3 - BR: libofx-devel * Tue Aug 30 2005 Rex Dieter 0.8-2 - simplify specfile - fix build * Fri Aug 12 2005 Rex Dieter 0.8-1 - 0.8