File kmymoney.spec of Package kmymoney

#
# spec file for package kmymoney (Version 0.8.9)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild


Name:           kmymoney
BuildRequires:  cppunit-devel kdelibs3-devel opensp-devel
%if %suse_version > 1010
BuildRequires:  libofx-devel
%else
BuildRequires:  libofx
%endif
Url:            http://kmymoney2.sourceforge.net/
License:        GPL v2 or later
Group:          Productivity/Office/Finance
Summary:        A Personal Finance Manager
Version:        0.8.9
Release:        1
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Source0:        %{name}2-%{version}.tar.bz2
Patch1:         %name.diff
Patch3:         gcc-4.3.diff
Patch4:         FIXME.diff

%description
KMyMoney is a personal finance manager. It does not support online
banking, but it can import and export QIF (Quicken) files.



Authors:
--------
    Michael Edwardes <mte@users.sourceforge.net>.
    Javier Campos Morales <javi_c@users.sourceforge.net>
    Felix Rodriguez <frodriguez@users.sourceforge.net>
    John C <thetacoturtle@users.sourceforge.net>
    Thomas Baumgart <ipwizard@users.sourceforge.net>

%package devel
License:        GPL v2 or later
Summary:        A Personal Finance Manager
Group:          Productivity/Office/Finance
Requires:       %{name} = %{version}

%description devel
KMyMoney is a personal finance manager. It does not support online
banking, but it can import and export QIF (Quicken) files.



Authors:
--------
    Michael Edwardes <mte@users.sourceforge.net>.
    Javier Campos Morales <javi_c@users.sourceforge.net>
    Felix Rodriguez <frodriguez@users.sourceforge.net>
    John C <thetacoturtle@users.sourceforge.net>
    Thomas Baumgart <ipwizard@users.sourceforge.net>

%prep
%setup -q -n %{name}2-%{version}
%patch1
%patch4
#%patch3
. /etc/opt/kde3/common_options
update_admin --no-unsermake

%build
. /etc/opt/kde3/common_options
./configure $configkde
# --enable-kbanking not yet, kbanking is still in beta. too critical for money issues ...
do_make %{?jobs:-j %jobs}

%install
. /etc/opt/kde3/common_options
make DESTDIR=$RPM_BUILD_ROOT install
%if %suse_version < 1010
%suse_update_desktop_file kmymoney2 Finance
%else
%suse_update_desktop_file -G "Personal Finance Manager" kmymoney2 Finance
%endif
kde_post_install
%find_lang kmymoney2

%post
%run_ldconfig

%postun
%run_ldconfig

%files -f kmymoney2.lang
%defattr(-,root,root)
/opt/kde3/bin/*
/opt/kde3/%_lib/libkmm_mymoney.so.*
/opt/kde3/%_lib/libkmm_plugin.so.*
/opt/kde3/share/appl*/*/*.desktop
/opt/kde3/share/apps/*
/opt/kde3/share/icons/??color
/opt/kde3/share/mimelnk/*/*.desktop
/opt/kde3/share/servicetypes/*.desktop
%_mandir/man1/*
/opt/kde3/%_lib/kde3/kmm_ofximport.*
/opt/kde3/share/services/kmm_ofximport.desktop

%files devel
%defattr(-,root,root)
/opt/kde3/include/kmymoney
/opt/kde3/%_lib/libkmm_mymoney.la
/opt/kde3/%_lib/libkmm_mymoney.so
/opt/kde3/%_lib/libkmm_plugin.la
/opt/kde3/%_lib/libkmm_plugin.so

%changelog
* Thu Apr 03 2008 dmueller@suse.de
- update to 0.8.9:
  * translation update
  * fixed a string problem when reading an OFX statement
  * fixed crash when pressing ctrl-w while transaction editor is
  present
* Thu Dec 20 2007 stbinner@suse.de
- update to version 0.8.8:
  * Use two digit month and day values in QIF export
  * Fix QIF export problem where it was hampered by having the KDE
  locale's negative sign position set to "Parens Around"
  * Force trust-model when writing GPG encrypted file
  * improved GnuCash importer to support version 2.2 files
  * Modified OFX importer to use Qt::UTC as dateformat
  * Force usage of GPG agent with set GPG_AGENT_INFO variable
* Wed Oct 24 2007 dmueller@suse.de
- gcc 4.3 fixes
* Sun Jul 22 2007 stbinner@suse.de
- update to 0.8.7: many bug fixes; ui, i18n and l10n improvements
* Thu Jun 21 2007 stbinner@suse.de
- add missing requires, run kde_post_install, fix .desktop file
* Thu May 24 2007 dmueller@suse.de
- split off -devel package
* Sun Mar 11 2007 stbinner@suse.de
- update to version 0.8.6
  * Added ability to print home page
  * Added Yahoo France web price source
  * Added new price source "Gielda Papierow Wartosciowych"
  * Improved detection of KBanking support
  * New and updated translations
  * Several GUI, scheduled transactions and other problem bug fixes
* Sat Dec 09 2006 dmueller@suse.de
- fix undefined operation
* Thu Aug 31 2006 stbinner@suse.de
- update to version 0.8.5
  * Improved online stock quotes so the  'Update all'  continues
  even if one stock is unable to be updated.
  * Added a dialog to prompt the user whether he wants to disable
  online quotes for this stock in this case.
  * GnuCash importer changes
     - Add non UTF-8 support (manual selection)
     - Remove unnecessary  'Unknown payee'  references
     - Support for GnuCash V2.0 files (maybe incomplete)
     - Handle some additional account and schedule types
     - Preserve account's tax-related status
     - Minor coding changes
  * Correct currency code for Mexican Peso to MXN
  * Don't show price/value if price information is invalid
  * Allow to read GNC V2 files (N.B. not full support)
  * Added %%m-%%d-%%yyyy date format to QIF profile
  * Added a file filter (e.g.  *.qif ) to QIF profile when an input
  filter is used. (Addresses RFE #1172030)
  * Added chapter 'Making most of KMyMoney'  to manual
  * Fixed tax transaction report, which was erroneously including
  transfers
  * Modified bank ID handling for QIF files so the ID s are handled
  the same as other imported statements.
  * Fixed Zero-amount transfer transaction leads to crash
  * Fixed Frequent crash on changing/opening file
  * Fixed more GPG problems in KGPGFile::GPGAvailable and
  KGPGFile::keyAvailable by applying the same fix as on 2006-06-05
  * Modified the anonymizer so that the autoCalc value is not modified
  * Fixed problem in KGPGFile::open which reported an error when a read
  operation was finished before open gets around to check for the
  presence of the process. Synced with version of CVS HEAD.
  * several translation updates
* Thu Aug 24 2006 stbinner@suse.de
- build OFX plugin
* Thu Jun 15 2006 dmueller@suse.de
- build parallel
* Tue May 30 2006 adrian@suse.de
- fix build for < 10.1
* Mon May 22 2006 stbinner@suse.de
- update to version 0.8.4
  * everal bug fixes and some improvements to the entry of
  scheduled transactions
  * some new translations
* Mon Apr 24 2006 dmueller@suse.de
- Avoid undefined C code (#159361)
* Wed Feb 22 2006 stbinner@suse.de
- update to version 0.8.3
  * Sourceforge and other bug report fixes
  Fixed 1390918 (Can't use more than 2 decimal places in manual
  price update)
  Fixed 1393899 (Add support for new Russian Ruble - RUB)
  Fixed 1397412 (Investment transactions counted twice)
  Fixed 1400746 (Entering scheduled transaction for a loan
  crashes)
  Fixed Debian 347698 (Account tree collapses without user
  approval)
  GUI improvements
  Add field descriptions for new transactions when transaction
  form off
  Check all data present before entering schedule
  * Internationalization issues
  Updated en-GB translation provided by Neil Williams via
  Mark Purcell
  Fixed a translation error in the German version (thanks to
  Karin Capey for reporting)
  Added new Danish translation as provided by Anders EllenshÃ
  Added new French translation as provided by Vincent ?
  Updated Italian translation as provided by Vincenzo Reale
  * Build changes
  Fixed build system to better support FreeBSD
  Added missing include of locale.h
  Adjusted build system to new layout
* Wed Feb 15 2006 stbinner@suse.de
- add GenericName to .desktop file
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Mon Jan 02 2006 stbinner@suse.de
- update to version 0.8.2
* Mon Nov 07 2005 stbinner@suse.de
- update to version 0.8.1
* Mon Oct 24 2005 stbinner@suse.de
- fix wrong include hints for Qt 3.3.5 compilation
* Thu Oct 13 2005 stbinner@suse.de
- remove extra qualification for gcc 4.1 compilation
* Sat Aug 13 2005 adrian@suse.de
- update to stable version 0.8
- online banking is not enabled yet, since kbanking is still
  at version 0.9.9
* Thu Feb 17 2005 adrian@suse.de
- update to version 0.6.4
- menu entry moved to xdg dir
* Thu Jul 29 2004 adrian@suse.de
- update to version 0.6.1
* Mon Jun 07 2004 adrian@suse.de
- update to version 0.6 final
* Thu Apr 15 2004 coolo@suse.de
- build without unsermake
* Sun Feb 29 2004 adrian@suse.de
- update to 0.6rc3
* Wed Feb 18 2004 ro@suse.de
- update to 0.6rc2
* Mon Jan 19 2004 adrian@suse.de
- update to version 0.6rc1
* Sat Jan 10 2004 adrian@suse.de
- cleanup spec file
* Sun Aug 24 2003 adrian@suse.de
- fix compile with gcc 3.3.1
* Wed Jul 30 2003 adrian@suse.de
- update to version 0.5.1
- add Categories
* Sat Jun 14 2003 coolo@suse.de
- use %%find_lang
* Fri Nov 08 2002 coolo@suse.de
- compiling with KDE3 (expecting a real port soon looking at the
  upstream Changelogs)
* Fri May 24 2002 adrian@suse.de
- use update_admin
* Thu May 23 2002 ro@suse.de
- update admin directory and use common_options
* Sun Apr 07 2002 adrian@suse.de
- initial packaging (version 0.4 for KDE 2)
openSUSE Build Service is sponsored by