gnucash-vl.spec 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283
  1. Name: gnucash
  2. Summary: GnuCash is an application to keep track of your finances.
  3. Summary(ja): 個人用財務管理アプリケーション
  4. Version: 3.7
  5. Release: 1%{?_dist_release}
  6. License: GPL/LGPL/GFDL
  7. Group: Applications/Productivity
  8. URL: https://www.gnucash.org/
  9. Vendor: Project Vine
  10. Distribution: Vine Linux
  11. Packager: kenta, inagaki
  12. Source: https://github.com/Gnucash/gnucash/releases/download/%{version}/%{name}-%{version}.tar.bz2
  13. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  14. BuildRequires: libappstream-glib-devel
  15. BuildRequires: aqbanking-devel >= 3.7.2
  16. BuildRequires: bzip2-devel
  17. BuildRequires: cmake
  18. BuildRequires: desktop-file-utils
  19. BuildRequires: expat-devel
  20. BuildRequires: gwenhywfar-devel
  21. BuildRequires: gettext
  22. BuildRequires: gmock-devel
  23. BuildRequires: gtest-devel
  24. BuildRequires: gtk3-devel
  25. BuildRequires: guile-devel
  26. BuildRequires: libappstream-glib
  27. BuildRequires: libboost-date-time
  28. BuildRequires: libboost-devel
  29. BuildRequires: libboost-locale
  30. BuildRequires: libboost-regex
  31. BuildRequires: libboost-filesystem
  32. BuildRequires: libicu-devel
  33. BuildRequires: libofx-devel
  34. BuildRequires: libdbi-devel
  35. BuildRequires: libjpeg-devel
  36. BuildRequires: libsecret-devel
  37. BuildRequires: libtool-ltdl-devel
  38. BuildRequires: libxslt-devel
  39. BuildRequires: pcre-devel
  40. BuildRequires: popt-devel
  41. BuildRequires: python3-devel
  42. BuildRequires: swig
  43. BuildRequires: webkitgtk4-devel
  44. #BuildRequires: slib
  45. BuildRequires: libdbi-dbd-pgsql
  46. BuildRequires: libdbi-dbd-mysql
  47. BuildRequires: libdbi-dbd-sqlite
  48. Requires: aqbanking
  49. Requires: perl-DateManip
  50. Requires: yelp
  51. Requires(post,postun): gtk3
  52. Requires(postun,posttrans): glib2
  53. Obsoletes: gnucash-backend-postgres
  54. %description
  55. GnuCash is a personal finance manager. A check-book like
  56. register GUI allows you to enter and track bank accounts,
  57. stocks, income and even currency trades. The interface is
  58. designed to be simple and easy to use, but is backed with
  59. double-entry accounting principles to ensure balanced books.
  60. %description -l ja
  61. GnuCashは 個人用財務管理をするアプリケーションです.
  62. 預金, 株式, 所得そして通貨取引さえ入力し、追跡することができる
  63. グラフィカルな小切手帖です.インターフェスはシンプルかつ簡単に
  64. 使用できるようにデザインされています.
  65. %prep
  66. %setup -q
  67. %build
  68. %global optflags %{optflags} -Wno-parentheses
  69. %cmake . \
  70. -DCMAKE_INSTALL_DOCDIR=%{_datadir}/doc/gnucash-%{version} \
  71. -DWITH_SQL=OFF
  72. %make_build
  73. %install
  74. [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
  75. %make_install
  76. %find_lang %name
  77. rm -rf $RPM_BUILD_ROOT%{_infodir} \
  78. $RPM_BUILD_ROOT%{_includedir} \
  79. $RPM_BUILD_ROOT%{_datadir}/aclocal \
  80. $RPM_BUILD_ROOT%{_libdir}/lib*.a \
  81. $RPM_BUILD_ROOT%{_libdir}/gnucash/lib*.a \
  82. $RPM_BUILD_ROOT%{_bindir}/gnc-test-env \
  83. $RPM_BUILD_ROOT%{_bindir}/gnc-fq-update
  84. find $RPM_BUILD_ROOT%{_libdir} -name *.la -exec rm -f {} \;
  85. %clean
  86. [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
  87. %post
  88. /sbin/ldconfig
  89. touch --no-create %{_datadir}/icons/hicolor || :
  90. gtk-update-icon-cache -q %{_datadir}/icons/hicolor || :
  91. %postun
  92. if [ $1 -eq 0 ] ; then
  93. /sbin/ldconfig
  94. touch --no-create %{_datadir}/icons/hicolor || :
  95. gtk-update-icon-cache -q %{_datadir}/icons/hicolor || :
  96. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  97. fi
  98. %posttrans
  99. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  100. %files -f %{name}.lang
  101. %defattr(-,root,root,755)
  102. %doc %{_docdir}/gnucash-%{version}/*
  103. %license LICENSE
  104. %dir %{_sysconfdir}/%{name}
  105. %{_bindir}/*
  106. %{_libdir}/*
  107. %{_datadir}/glib-2.0/schemas/*
  108. %{_datadir}/%{name}
  109. %{_datadir}/metainfo/*
  110. %{_datadir}/applications/*
  111. %{_datadir}/icons/hicolor/*/apps/*
  112. %{_mandir}/man*/*
  113. %config %{_sysconfdir}/%{name}/*
  114. %changelog
  115. * Wed Sep 11 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.7-1
  116. - new upstream release.
  117. * Thu Mar 31 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.6.12-1
  118. - new upstream release
  119. * Mon Nov 09 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.6.9-1
  120. - new upstream release
  121. * Sun May 10 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.6.6-2
  122. - remove *.la files
  123. * Sun Apr 05 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.6.6-1
  124. - new upstream release
  125. - add BuildRequires: libtool-ltdl-devel
  126. * Mon Mar 9 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 2.6.5-2
  127. - rebuilt with libofx 0.9.10
  128. - added Vendor and Distribution tag
  129. * Sun Jan 25 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.6.5-1
  130. - update to 2.6.5
  131. - remove old patches
  132. - add BuildRequires: libdbi-devel
  133. - change BuildRequires: goffice08-devel instead of goffice-devel
  134. * Tue Sep 14 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.2.9-3
  135. - rebuilt with new toolchain, aqbanking-4.2.4, goffice-0.8.10
  136. - added Patch1 for building with aqbanking-4.2.4
  137. - added Patch2 for building with goffice-0.8.10
  138. * Fri Jul 24 2009 NAKAMURA Kenta <kenta@vinelinux.org> 2.2.9-2
  139. - added slib to BuildRequires: and Requires:
  140. * Sat May 30 2009 NAKAMURA Kenta <kenta@vinelinux.org> 2.2.9-1
  141. - new upstream release
  142. * Wed Jan 14 2009 NAKAMURA Kenta <kenta@vinelinux.org> 2.2.8-1
  143. - new upstream release
  144. * Mon Jan 12 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 2.2.7-2
  145. - rebuild with guile-1.8.6
  146. - add BuildRequires: gwenhywfar-devel
  147. * Sun Oct 12 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.2.7-1
  148. - new upstream release
  149. - applied new versioning policy
  150. - built with aqbanking-3.7.2, gwenheyfar-3.4.1, libofx-0.9.0
  151. * Tue Mar 11 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.2.4-0vl1
  152. - new upstream release
  153. - rebuilt with goffice-0.6.0
  154. * Tue Jan 22 2008 NAKAMURA Kenta <kenta@vinelinux.org> 2.2.3-0vl1
  155. - new upstream release
  156. * Sun Jan 20 2008 NAKAMURA Kenta <kenta@vinelinux.org> 2.2.2-0vl1
  157. - new upstream release
  158. - enable HBCI (Home Banking Computer Interface)
  159. * Tue Jan 08 2008 NAKAMURA Kenta <kenta@vinelinux.org> 2.2.0-0vl2
  160. - rebuild with libofx-0.8.3 (libofx.so.3)
  161. * Sun Dec 30 2007 NAKAMURA Kenta <kenta@vinelinux.org> 2.2.0-0vl1
  162. - new upstream release
  163. - disable postgresql backend, as it is unmaintained upstream
  164. - added Patch0: gnucash-2.2.0-quiet.patch
  165. * Sun Oct 23 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.8.12-0vl1
  166. - new upstream release
  167. - remove BuildRequiers: autoconf213
  168. - update ja.po
  169. * Fri Jan 2 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.8.8-0vl2
  170. - new upstream release
  171. - added BuildPrereq: libtool-ltdl-devel
  172. * Fri Jan 2 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.8.8-0vl2
  173. - rebuild with new toolchains
  174. - update ja.po
  175. * Sun Nov 23 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.8.8-0vl1
  176. - new upstream release
  177. * Sun Oct 19 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.8.7-1vl1
  178. - merged gnucash-docs-1.8.3
  179. - added patch from Redhat Rawhide 1.8.7-1
  180. - changed Group, License
  181. * Mon Oct 6 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.8.7-0vl1
  182. - updated to 1.8.7
  183. - updated print.patch
  184. - overwrite prefs.scm
  185. - s/Copyright/License/
  186. * Tue May 13 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.8.3-0vl1
  187. - updated to 1.8.3
  188. - added datelength.patch
  189. - separated devel packages
  190. (and ofx, hbci, backend-postgres. But default is off)
  191. * Wed Jan 16 2002 Akira TAGOH <tagoh@gnome.gr.jp> 1.6.5-0vl3
  192. - Build against with new gal.
  193. * Fri Dec 28 2001 Akira TAGOH <tagoh@gnome.gr.jp> 1.6.5-0vl2
  194. - Fixed printing issue.
  195. * Tue Dec 25 2001 Akira TAGOH <tagoh@gnome.gr.jp> 1.6.5-0vl1
  196. - New upstream release.
  197. * Thu Jul 26 2001 <sagami@vinelinux.org>
  198. - 1.6.0-0vl3: fix to not to own mandir itself, use %%{find_lang}
  199. * Tue Jun 12 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@vinelinux.org>
  200. - %%make line is now commented out (bash2 complains it)
  201. (BTW, what the hell is the macro %%make anyway? I don't even know...)
  202. * Tue Jun 12 2001 Daisuke SUZUKI <daisuke@linux.or.jp> 1.6.0-0vl1
  203. - update to 1.6.0 (stable release version)
  204. * Thu May 24 2001 Daisuke SUZUKI <daisuke@linux.or.jp> 1.5.96-0vl1
  205. - update to 1.5.96 ( pre beta for 1.6.0 )
  206. * Mon Apr 23 2001 Daisuke SUZUKI <daisuke@linux.or.jp> 1.5.6-1vl2
  207. - added japanese patch for reporting and printing (thanx tagoh-san)
  208. * Mon Apr 23 2001 Daisuke SUZUKI <daisuke@linux.or.jp> 1.5.6-1vl1
  209. - updated to 1.5.6
  210. * Thu Apr 05 2001 Daisuke SUZUKI <daisuke@linux.or.jp> 1.5.4-1vl2
  211. - added translation messages to ja.po
  212. - enable guppi
  213. * Mon Apr 2 2001 Kazuhisa TAKEI <takei@vinelinux.org> 1.5.4-1vl1
  214. - upstream update
  215. - fixed broken ja.po
  216. * Wed Mar 28 2001 Kazuhisa TAKEI <takei@vinelinux.org> 1.5.2-1vl2
  217. - fixed registor window cursor position problem(gnucash-cursor_pos.patch)
  218. * Mon Mar 26 2001 Kazuhisa TAKEI <takei@vinelinux.org> 1.5.2-1vl1
  219. - initial relese package