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