gnucash-vl.spec 9.0 KB

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