gnucash-vl.spec 9.3 KB

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