kmymoney-vl.spec 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361
  1. Summary: Personal finance manager
  2. Summary(ja): 個人用財務管理ツール
  3. Name: kmymoney
  4. Version: 4.6.6
  5. Release: 4%{?_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. * Sat Jul 09 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 4.6.6-4
  133. - rebuild with gcc-5.4.0
  134. * Mon Mar 9 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 4.6.6-3
  135. - rebuilt with libofx 0.9.10
  136. * Mon Feb 23 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 4.6.6-2
  137. - rebuilt with libical 1.0.1
  138. - added BR: libboost-graph
  139. * Sat Dec 13 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 4.6.6-1
  140. - new upstream release
  141. - built with gmp 5.1.3
  142. - added Japanese summary
  143. * Sun Sep 02 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 4.6.3-1
  144. - new upstream release
  145. - remove Patch50 (kmymoney-3.96.1-rpath.patch)
  146. - add BuildRequires: gmp-devel, libalkimia-devel
  147. - remove BuildRequires: q4banking-devel
  148. * Sat May 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 4.5-3
  149. - add BuildRequires: soprano-devel, gwenhywfar-devel
  150. * Wed Sep 15 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.5-2
  151. - Initial build for VineLinux
  152. * Mon Aug 16 2010 Rex Dieter <rdieter@fedoraproject.org> - 4.5-1
  153. - kmymoney-4.5
  154. * Sun May 16 2010 Rex Dieter <rdieter@fedoraproject.org> - 3.98.0-1
  155. - kmymoney-3.98.0
  156. * Wed Apr 07 2010 Rex Dieter <rdieter@fedoraproject.org> - 3.97.2-1
  157. - kmymoney-3.97.2
  158. - License: GPLv2 or GPLv3
  159. - omit .directory files from packaging
  160. - -debuginfo: fix world-writable perms in generated headers
  161. * Fri Apr 02 2010 Rex Dieter <rdieter@fedoraproject.org> - 3.97.0-1
  162. - kmymoney-3.97.0
  163. - use external/shared kdchart
  164. * Fri Mar 19 2010 Rex Dieter <rdieter@fedoraproject.org> - 3.96.1-1
  165. - kmymoney-3.96.1 (for kde4, beta)
  166. - Obsoletes: kmymoney2 (and friends)
  167. * Mon Feb 15 2010 Rex Dieter <rdieter@fedoraproject.org> - 1.0.3-1
  168. - kmymoney2-1.0.3
  169. * Thu Jan 21 2010 Bill Nottingham <notting@redhat.com> - 1.0.2-2
  170. - rebuild against latest aqbanking/qbanking
  171. * Sun Oct 04 2009 Rex Dieter <rdieter@fedoraproject.org> - 1.0.2-1
  172. - kmymoney2-1.0.2
  173. * Sun Sep 06 2009 Rex Dieter <rdieter@fedoraproject.org> - 1.0.1-1
  174. - kmymoney2-1.0.1
  175. * Wed Aug 19 2009 Rex Dieter <rdieter@fedoraproject.org> - 1.0.0-1
  176. - kmymoney2-1.0.0
  177. * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.3-4
  178. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  179. * Fri Jul 17 2009 Rex Dieter <rdieter@fedoraproject.org> - 0.9.3-3
  180. - validate .desktop file
  181. - -libs unconditional
  182. - use %%_isa where appropriate
  183. - optimize scriptlets
  184. * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.3-2
  185. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  186. * Tue Feb 24 2009 Rex Dieter <rdieter@fedoraproject.org> 0.9.3-1
  187. - kmymoney2-0.9.3
  188. * Mon Sep 15 2008 Rex Dieter <rdieter@fedoraproject.org> 0.9.2-3
  189. - respun tarball
  190. * Sun Sep 14 2008 Rex Dieter <rdieter@fedoraproject.org> 0.9.2-1
  191. - kmymoney2-0.9.2
  192. * Tue Sep 9 2008 Bill Nottingham <notting@redhat.com> 0.9-2
  193. - rebuild for new libofx ABI
  194. * Wed May 14 2008 Rex Dieter <rdieter@fedoraproject.org> 0.9-1
  195. - kmymoney2-0.9
  196. * Wed Mar 26 2008 Rex Dieter <rdieter@fedoraproject.org> 0.8.9-1
  197. - kmymoney2-0.8.9
  198. - --disable-kbanking (requires aqbanking,kbanking fix/update)
  199. - drop multilib upgrade hack
  200. * Fri Feb 22 2008 Rex Dieter <rdieter@fedoraproject.org> 0.8.8-3
  201. - gcc43 patch (#434398)
  202. - multiarch conflicts, -libs subpkg (#341821)
  203. * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.8.8-2
  204. - Autorebuild for GCC 4.3
  205. * Wed Dec 19 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 0.8.8-1
  206. - kmymoney2-0.8.8
  207. - --enable-kbanking
  208. * Sat Dec 08 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 0.8.7-5
  209. - BR: kdelibs3-devel
  210. * Sat Aug 25 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 0.8.7-4
  211. - respin (BuildID)
  212. * Thu Aug 09 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 0.8.7-3
  213. - License: GPLv2+
  214. * Wed Jul 25 2007 Jesse Keating <jkeating@redhat.com> 0.8.7-2
  215. - Rebuild for RH #249435
  216. * Mon Jul 23 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 0.8.7-1
  217. - kmymoney2-0.8.7
  218. * Sat Mar 10 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 0.8.6-1
  219. - kmymoney2-0.8.6
  220. - fix Obsoletes: kmymoney
  221. * Thu Jan 11 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 0.8.5-3
  222. - fix _enable_ofxbanking macro usage to re-enable ofx support
  223. * Tue Nov 28 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.8.5-2
  224. - drop desktop-file-utils bits
  225. - Ob/Pr: kmymoney(-devel), upstream/rpmforge calls it kmymoney
  226. * Thu Aug 31 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.8.5-1
  227. - 0.8.5
  228. * Tue Aug 29 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.8.4-2
  229. - --disable-final (for now)
  230. - BR: gettext
  231. * Sun May 21 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.8.4-1
  232. - 0.8.4
  233. * Thu Apr 13 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.8.3-3
  234. - desktop-file-install --vendor=""
  235. * Wed Feb 22 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.8.3-1
  236. - 0.8.3
  237. * Fri Feb 10 2006 Rex Dieter <rexdieter[AT]users.sf.net>
  238. - fc5: gcc/glibc respin
  239. * Sat Dec 31 2005 Rex Dieter <rexdieter[AT]users.sf.net> 0.8.2-1
  240. - 0.8.2
  241. * Fri Dec 23 2005 Rex Dieter <rexdieter[AT]users.sf.net> 0.8.1-7
  242. - gcc41 patch
  243. * Fri Dec 23 2005 Rex Dieter <rexdieter[AT]users.sf.net> 0.8.1-6
  244. - cleanup ofx deps
  245. * Fri Dec 23 2005 Rex Dieter <rexdieter[AT]users.sf.net> 0.8.1-5
  246. - cleanup %%post
  247. - fc5 respin for new(er) libofx
  248. * Mon Nov 14 2005 Rex Dieter <rexdieter[AT]users.sf.net> 0.8.1-4
  249. - relax BR: kdelibs-devel to 3.3 (for aurora/sparc, #173133)
  250. * Thu Nov 10 2005 Rex Dieter <rexdieter[AT]users.sf.net> 0.8.1-3
  251. - fix relative symlinks
  252. * Wed Nov 09 2005 Rex Dieter <rexdieter[AT]users.sf.net> 0.8.1-2
  253. - qt-3.3.5 patch
  254. - 'make check' workaround (kde bug #115863)
  255. - trim %%description
  256. * Sat Nov 05 2005 Rex Dieter <rexdieter[AT]users.sf.net> 0.8.1-1
  257. - 0.8.1
  258. * Fri Nov 04 2005 Rex Dieter <rexdieter[AT]users.sf.net> 0.8-5
  259. - drop useless macros
  260. - use %%fedora,%%rhel to conditionalize ofxbanking support
  261. * Fri Oct 21 2005 Rex Dieter <rexdieter[AT]users.sf.net> 0.8-4
  262. - %%post,%%postun: gtk-update-icon-cache, update-desktop-database
  263. - omit lib*.la
  264. - x86_64: set QTDIR/QTLIB
  265. * Thu Sep 01 2005 Rex Dieter <rexdieter[AT]users.sf.net> 0.8-3
  266. - BR: libofx-devel
  267. * Tue Aug 30 2005 Rex Dieter <rexdieter[AT]users.sf.net> 0.8-2
  268. - simplify specfile
  269. - fix build
  270. * Fri Aug 12 2005 Rex Dieter <rexdieter[AT]users.sf.net> 0.8-1
  271. - 0.8