source: projects/specs/trunk/g/gnucash/gnucash-vl.spec @ 12538

Revision 12538, 9.0 KB checked in by tomop, 3 years ago (diff)

updated 7 packages

aqbanking-6.2.8-1

gnucash-4.4-1

gwenhywfar-5.6.0-1

libofx-0.10.1-1

libxml++-2.42.0-1

openjade-1.3.2-34

opensp-1.5.2-11

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