kmymoney-vl.spec 10 KB

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