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