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

Revision 12387, 8.8 KB checked in by tomop, 4 years ago (diff)

updated 10 packages

Field3D-1.7.3-1

OpenImageIO-2.1.10.1-1

ekiga-4.0.1-11

galera-26.4.3-2

gnucash-3.10-1

libboost-1.72.0-1

nghttp2-1.40.0-2

opal-3.10.11-1

ptlib-2.10.11-1

source-highlight-3.1.8-2

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