[1814] | 1 | |
---|
| 2 | Summary: Personal finance |
---|
| 3 | Name: kmymoney |
---|
[6774] | 4 | Version: 4.6.3 |
---|
| 5 | Release: 1%{?_dist_release} |
---|
[1814] | 6 | |
---|
| 7 | Group: Applications/Productivity |
---|
| 8 | # kmm itself is GPLv2+ , but kdchart is GPLv2 or GPLv3 |
---|
| 9 | License: GPLv2 or GPLv3 |
---|
| 10 | URL: http://kmymoney2.sourceforge.net/ |
---|
| 11 | |
---|
| 12 | Source0: http://downloads.sourceforge.net/sourceforge/kmymoney2/kmymoney-%{version}.tar.bz2 |
---|
| 13 | |
---|
| 14 | ## upstream patches |
---|
| 15 | |
---|
| 16 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 17 | BuildRequires: libboost-devel |
---|
| 18 | BuildRequires: cppunit-devel |
---|
| 19 | BuildRequires: desktop-file-utils |
---|
| 20 | BuildRequires: gettext |
---|
| 21 | BuildRequires: gpgme-devel |
---|
| 22 | BuildRequires: glibmm-devel |
---|
| 23 | BuildRequires: kdepimlibs-devel |
---|
| 24 | #BuildRequires: koffice-kdchart-devel |
---|
| 25 | BuildRequires: libical-devel |
---|
| 26 | BuildRequires: libxml2-devel |
---|
| 27 | BuildRequires: libofx-devel |
---|
| 28 | BuildRequires: libxml++-devel |
---|
[6774] | 29 | BuildRequires: libalkimia-devel |
---|
[3877] | 30 | BuildRequires: soprano-devel |
---|
| 31 | BuildRequires: gwenhywfar-devel |
---|
[6774] | 32 | BuildRequires: gmp-devel |
---|
[1814] | 33 | |
---|
| 34 | Requires: %{name}-libs = %{version}-%{release} |
---|
| 35 | |
---|
| 36 | Obsoletes: kmymoney2 < 2 |
---|
| 37 | Provides: kmymoney2 = %{version}-%{release} |
---|
| 38 | |
---|
| 39 | Obsoletes: kmymoney2-aqbanking < 2 |
---|
| 40 | Provides: kmymoney2-aqbanking = %{version}-%{release} |
---|
| 41 | |
---|
| 42 | %description |
---|
| 43 | KMyMoney strives to be the best personal finance manager. |
---|
| 44 | The ultimate objectives of KMyMoney are... |
---|
| 45 | * Accuracy. Using time tested double entry accounting principles |
---|
| 46 | helps ensure that your finances are kept in correct order. |
---|
| 47 | * Ease of use. Strives to be the easiest open source personal |
---|
| 48 | finance manager to use, especially for the non-technical user. |
---|
| 49 | * Familiar Features. Intends to provide all important features |
---|
| 50 | found in the commercially-available, personal finance managers. |
---|
| 51 | |
---|
| 52 | %package libs |
---|
| 53 | Summary: Run-time libraries for %{name} |
---|
| 54 | Group: System Environment/Libraries |
---|
| 55 | Requires: %{name} = %{version}-%{release} |
---|
| 56 | Obsoletes: kmymoney2-libs < 2 |
---|
| 57 | %description libs |
---|
| 58 | %{summary}. |
---|
| 59 | |
---|
| 60 | %package devel |
---|
| 61 | Summary: Development files for %{name} |
---|
| 62 | Group: Development/Libraries |
---|
| 63 | Requires: %{name}-libs%{?_isa} = %{version}-%{release} |
---|
| 64 | Requires: kdelibs4-devel |
---|
| 65 | Obsoletes: kmymoney2-devel < 2 |
---|
| 66 | %description devel |
---|
| 67 | %{summary}. |
---|
| 68 | |
---|
| 69 | |
---|
| 70 | %prep |
---|
| 71 | %setup -q -n kmymoney-%{version} |
---|
| 72 | |
---|
| 73 | |
---|
| 74 | %build |
---|
| 75 | mkdir -p %{_target_platform} |
---|
| 76 | pushd %{_target_platform} |
---|
| 77 | %{cmake} \ |
---|
| 78 | -DCMAKE_BUILD_TYPE=release \ |
---|
| 79 | -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \ |
---|
| 80 | -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \ |
---|
| 81 | -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \ |
---|
| 82 | .. |
---|
| 83 | popd |
---|
| 84 | |
---|
| 85 | make %{?_smp_mflags} -C %{_target_platform} |
---|
| 86 | |
---|
| 87 | # fix world writable perms |
---|
| 88 | find . -type f -name 'ui_*.h' -exec chmod 0644 {} ';' |
---|
| 89 | |
---|
| 90 | |
---|
| 91 | %install |
---|
| 92 | rm -rf %{buildroot} |
---|
| 93 | make install/fast DESTDIR=%{buildroot} -C %{_target_platform} |
---|
| 94 | |
---|
| 95 | %find_lang kmymoney --with-kde |
---|
| 96 | |
---|
| 97 | |
---|
| 98 | %check |
---|
| 99 | desktop-file-validate %{buildroot}%{_datadir}/applications/kde4/kmymoney.desktop |
---|
| 100 | # make test |
---|
| 101 | |
---|
| 102 | %clean |
---|
| 103 | rm -rf %{buildroot} |
---|
| 104 | |
---|
| 105 | %post libs -p /sbin/ldconfig |
---|
| 106 | |
---|
| 107 | %postun libs -p /sbin/ldconfig |
---|
| 108 | |
---|
| 109 | %post |
---|
| 110 | touch --no-create %{_datadir}/icons/locolor &> /dev/null || : |
---|
[6774] | 111 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null || : |
---|
[1814] | 112 | |
---|
| 113 | %postun |
---|
| 114 | if [ $1 -eq 0 ] ; then |
---|
| 115 | update-desktop-database -q &> /dev/null |
---|
| 116 | update-mime-database %{_datadir}/mime &> /dev/null |
---|
| 117 | touch --no-create %{_datadir}/icons/locolor &> /dev/null |
---|
[6774] | 118 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null |
---|
[1814] | 119 | gtk-update-icon-cache %{_datadir}/icons/locolor &> /dev/null || : |
---|
[6774] | 120 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || : |
---|
[1814] | 121 | fi |
---|
| 122 | |
---|
| 123 | %posttrans |
---|
| 124 | update-desktop-database -q &> /dev/null |
---|
| 125 | update-mime-database %{_datadir}/mime &> /dev/null |
---|
| 126 | gtk-update-icon-cache %{_datadir}/icons/locolor &> /dev/null || : |
---|
[6774] | 127 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || : |
---|
[1814] | 128 | |
---|
| 129 | |
---|
| 130 | %files -f kmymoney.lang |
---|
| 131 | %defattr(-,root,root,-) |
---|
| 132 | %doc AUTHORS ChangeLog COPYING TODO |
---|
| 133 | %doc README.Fileformats README.ofx |
---|
| 134 | %{_bindir}/kmymoney |
---|
| 135 | %{_datadir}/kde4/apps/kmymoney/ |
---|
| 136 | %{_datadir}/kde4/apps/kmm_*/ |
---|
| 137 | %{_datadir}/applications/kde4/kmymoney.desktop |
---|
| 138 | %{_datadir}/config.kcfg/kmymoney.kcfg |
---|
[6774] | 139 | %{_datadir}/config/csvimporterrc |
---|
[1814] | 140 | %{_datadir}/kde4/services/*.desktop |
---|
| 141 | %{_datadir}/kde4/servicetypes/*.desktop |
---|
| 142 | %{_mandir}/man1/kmymoney.1.gz |
---|
| 143 | %{_datadir}/mime/packages/x-kmymoney.xml |
---|
[6774] | 144 | %{_datadir}/icons/hicolor/*/*/* |
---|
[1814] | 145 | %{_datadir}/icons/locolor/*/*/* |
---|
| 146 | %{_libdir}/kde4/*.so |
---|
| 147 | |
---|
| 148 | %files libs |
---|
| 149 | %defattr(-,root,root,-) |
---|
| 150 | %{_libdir}/libkmm_kdchart.so.4* |
---|
| 151 | %{_libdir}/libkmm_mymoney.so.4* |
---|
| 152 | %{_libdir}/libkmm_plugin.so.4* |
---|
| 153 | %{_libdir}/libkmm_widgets.so.4* |
---|
| 154 | |
---|
| 155 | %files devel |
---|
| 156 | %defattr(-,root,root,-) |
---|
| 157 | %{_includedir}/kde4/kmymoney/ |
---|
| 158 | %{_libdir}/libkmm_*.so |
---|
| 159 | |
---|
| 160 | |
---|
| 161 | %changelog |
---|
[6774] | 162 | * Sun Sep 02 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 4.6.3-1 |
---|
| 163 | - new upstream release |
---|
| 164 | - remove Patch50 (kmymoney-3.96.1-rpath.patch) |
---|
| 165 | - add BuildRequires: gmp-devel, libalkimia-devel |
---|
| 166 | - remove BuildRequires: q4banking-devel |
---|
| 167 | |
---|
[3877] | 168 | * Sat May 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 4.5-3 |
---|
| 169 | - add BuildRequires: soprano-devel, gwenhywfar-devel |
---|
| 170 | |
---|
[1814] | 171 | * Wed Sep 15 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.5-2 |
---|
| 172 | - Initial build for VineLinux |
---|
| 173 | |
---|
| 174 | * Mon Aug 16 2010 Rex Dieter <rdieter@fedoraproject.org> - 4.5-1 |
---|
| 175 | - kmymoney-4.5 |
---|
| 176 | |
---|
| 177 | * Sun May 16 2010 Rex Dieter <rdieter@fedoraproject.org> - 3.98.0-1 |
---|
| 178 | - kmymoney-3.98.0 |
---|
| 179 | |
---|
| 180 | * Wed Apr 07 2010 Rex Dieter <rdieter@fedoraproject.org> - 3.97.2-1 |
---|
| 181 | - kmymoney-3.97.2 |
---|
| 182 | - License: GPLv2 or GPLv3 |
---|
| 183 | - omit .directory files from packaging |
---|
| 184 | - -debuginfo: fix world-writable perms in generated headers |
---|
| 185 | |
---|
| 186 | * Fri Apr 02 2010 Rex Dieter <rdieter@fedoraproject.org> - 3.97.0-1 |
---|
| 187 | - kmymoney-3.97.0 |
---|
| 188 | - use external/shared kdchart |
---|
| 189 | |
---|
| 190 | * Fri Mar 19 2010 Rex Dieter <rdieter@fedoraproject.org> - 3.96.1-1 |
---|
| 191 | - kmymoney-3.96.1 (for kde4, beta) |
---|
| 192 | - Obsoletes: kmymoney2 (and friends) |
---|
| 193 | |
---|
| 194 | * Mon Feb 15 2010 Rex Dieter <rdieter@fedoraproject.org> - 1.0.3-1 |
---|
| 195 | - kmymoney2-1.0.3 |
---|
| 196 | |
---|
| 197 | * Thu Jan 21 2010 Bill Nottingham <notting@redhat.com> - 1.0.2-2 |
---|
| 198 | - rebuild against latest aqbanking/qbanking |
---|
| 199 | |
---|
| 200 | * Sun Oct 04 2009 Rex Dieter <rdieter@fedoraproject.org> - 1.0.2-1 |
---|
| 201 | - kmymoney2-1.0.2 |
---|
| 202 | |
---|
| 203 | * Sun Sep 06 2009 Rex Dieter <rdieter@fedoraproject.org> - 1.0.1-1 |
---|
| 204 | - kmymoney2-1.0.1 |
---|
| 205 | |
---|
| 206 | * Wed Aug 19 2009 Rex Dieter <rdieter@fedoraproject.org> - 1.0.0-1 |
---|
| 207 | - kmymoney2-1.0.0 |
---|
| 208 | |
---|
| 209 | * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.3-4 |
---|
| 210 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
| 211 | |
---|
| 212 | * Fri Jul 17 2009 Rex Dieter <rdieter@fedoraproject.org> - 0.9.3-3 |
---|
| 213 | - validate .desktop file |
---|
| 214 | - -libs unconditional |
---|
| 215 | - use %%_isa where appropriate |
---|
| 216 | - optimize scriptlets |
---|
| 217 | |
---|
| 218 | * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.3-2 |
---|
| 219 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
| 220 | |
---|
| 221 | * Tue Feb 24 2009 Rex Dieter <rdieter@fedoraproject.org> 0.9.3-1 |
---|
| 222 | - kmymoney2-0.9.3 |
---|
| 223 | |
---|
| 224 | * Mon Sep 15 2008 Rex Dieter <rdieter@fedoraproject.org> 0.9.2-3 |
---|
| 225 | - respun tarball |
---|
| 226 | |
---|
| 227 | * Sun Sep 14 2008 Rex Dieter <rdieter@fedoraproject.org> 0.9.2-1 |
---|
| 228 | - kmymoney2-0.9.2 |
---|
| 229 | |
---|
| 230 | * Tue Sep 9 2008 Bill Nottingham <notting@redhat.com> 0.9-2 |
---|
| 231 | - rebuild for new libofx ABI |
---|
| 232 | |
---|
| 233 | * Wed May 14 2008 Rex Dieter <rdieter@fedoraproject.org> 0.9-1 |
---|
| 234 | - kmymoney2-0.9 |
---|
| 235 | |
---|
| 236 | * Wed Mar 26 2008 Rex Dieter <rdieter@fedoraproject.org> 0.8.9-1 |
---|
| 237 | - kmymoney2-0.8.9 |
---|
| 238 | - --disable-kbanking (requires aqbanking,kbanking fix/update) |
---|
| 239 | - drop multilib upgrade hack |
---|
| 240 | |
---|
| 241 | * Fri Feb 22 2008 Rex Dieter <rdieter@fedoraproject.org> 0.8.8-3 |
---|
| 242 | - gcc43 patch (#434398) |
---|
| 243 | - multiarch conflicts, -libs subpkg (#341821) |
---|
| 244 | |
---|
| 245 | * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.8.8-2 |
---|
| 246 | - Autorebuild for GCC 4.3 |
---|
| 247 | |
---|
| 248 | * Wed Dec 19 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 0.8.8-1 |
---|
| 249 | - kmymoney2-0.8.8 |
---|
| 250 | - --enable-kbanking |
---|
| 251 | |
---|
| 252 | * Sat Dec 08 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 0.8.7-5 |
---|
| 253 | - BR: kdelibs3-devel |
---|
| 254 | |
---|
| 255 | * Sat Aug 25 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 0.8.7-4 |
---|
| 256 | - respin (BuildID) |
---|
| 257 | |
---|
| 258 | * Thu Aug 09 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 0.8.7-3 |
---|
| 259 | - License: GPLv2+ |
---|
| 260 | |
---|
| 261 | * Wed Jul 25 2007 Jesse Keating <jkeating@redhat.com> 0.8.7-2 |
---|
| 262 | - Rebuild for RH #249435 |
---|
| 263 | |
---|
| 264 | * Mon Jul 23 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 0.8.7-1 |
---|
| 265 | - kmymoney2-0.8.7 |
---|
| 266 | |
---|
| 267 | * Sat Mar 10 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 0.8.6-1 |
---|
| 268 | - kmymoney2-0.8.6 |
---|
| 269 | - fix Obsoletes: kmymoney |
---|
| 270 | |
---|
| 271 | * Thu Jan 11 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 0.8.5-3 |
---|
| 272 | - fix _enable_ofxbanking macro usage to re-enable ofx support |
---|
| 273 | |
---|
| 274 | * Tue Nov 28 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.8.5-2 |
---|
| 275 | - drop desktop-file-utils bits |
---|
| 276 | - Ob/Pr: kmymoney(-devel), upstream/rpmforge calls it kmymoney |
---|
| 277 | |
---|
| 278 | * Thu Aug 31 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.8.5-1 |
---|
| 279 | - 0.8.5 |
---|
| 280 | |
---|
| 281 | * Tue Aug 29 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.8.4-2 |
---|
| 282 | - --disable-final (for now) |
---|
| 283 | - BR: gettext |
---|
| 284 | |
---|
| 285 | * Sun May 21 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.8.4-1 |
---|
| 286 | - 0.8.4 |
---|
| 287 | |
---|
| 288 | * Thu Apr 13 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.8.3-3 |
---|
| 289 | - desktop-file-install --vendor="" |
---|
| 290 | |
---|
| 291 | * Wed Feb 22 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.8.3-1 |
---|
| 292 | - 0.8.3 |
---|
| 293 | |
---|
| 294 | * Fri Feb 10 2006 Rex Dieter <rexdieter[AT]users.sf.net> |
---|
| 295 | - fc5: gcc/glibc respin |
---|
| 296 | |
---|
| 297 | * Sat Dec 31 2005 Rex Dieter <rexdieter[AT]users.sf.net> 0.8.2-1 |
---|
| 298 | - 0.8.2 |
---|
| 299 | |
---|
| 300 | * Fri Dec 23 2005 Rex Dieter <rexdieter[AT]users.sf.net> 0.8.1-7 |
---|
| 301 | - gcc41 patch |
---|
| 302 | |
---|
| 303 | * Fri Dec 23 2005 Rex Dieter <rexdieter[AT]users.sf.net> 0.8.1-6 |
---|
| 304 | - cleanup ofx deps |
---|
| 305 | |
---|
| 306 | * Fri Dec 23 2005 Rex Dieter <rexdieter[AT]users.sf.net> 0.8.1-5 |
---|
| 307 | - cleanup %%post |
---|
| 308 | - fc5 respin for new(er) libofx |
---|
| 309 | |
---|
| 310 | * Mon Nov 14 2005 Rex Dieter <rexdieter[AT]users.sf.net> 0.8.1-4 |
---|
| 311 | - relax BR: kdelibs-devel to 3.3 (for aurora/sparc, #173133) |
---|
| 312 | |
---|
| 313 | * Thu Nov 10 2005 Rex Dieter <rexdieter[AT]users.sf.net> 0.8.1-3 |
---|
| 314 | - fix relative symlinks |
---|
| 315 | |
---|
| 316 | * Wed Nov 09 2005 Rex Dieter <rexdieter[AT]users.sf.net> 0.8.1-2 |
---|
| 317 | - qt-3.3.5 patch |
---|
| 318 | - 'make check' workaround (kde bug #115863) |
---|
| 319 | - trim %%description |
---|
| 320 | |
---|
| 321 | * Sat Nov 05 2005 Rex Dieter <rexdieter[AT]users.sf.net> 0.8.1-1 |
---|
| 322 | - 0.8.1 |
---|
| 323 | |
---|
| 324 | * Fri Nov 04 2005 Rex Dieter <rexdieter[AT]users.sf.net> 0.8-5 |
---|
| 325 | - drop useless macros |
---|
| 326 | - use %%fedora,%%rhel to conditionalize ofxbanking support |
---|
| 327 | |
---|
| 328 | * Fri Oct 21 2005 Rex Dieter <rexdieter[AT]users.sf.net> 0.8-4 |
---|
| 329 | - %%post,%%postun: gtk-update-icon-cache, update-desktop-database |
---|
| 330 | - omit lib*.la |
---|
| 331 | - x86_64: set QTDIR/QTLIB |
---|
| 332 | |
---|
| 333 | * Thu Sep 01 2005 Rex Dieter <rexdieter[AT]users.sf.net> 0.8-3 |
---|
| 334 | - BR: libofx-devel |
---|
| 335 | |
---|
| 336 | * Tue Aug 30 2005 Rex Dieter <rexdieter[AT]users.sf.net> 0.8-2 |
---|
| 337 | - simplify specfile |
---|
| 338 | - fix build |
---|
| 339 | |
---|
| 340 | * Fri Aug 12 2005 Rex Dieter <rexdieter[AT]users.sf.net> 0.8-1 |
---|
| 341 | - 0.8 |
---|
| 342 | |
---|