kmymoney-vl.spec 10 KB

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