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