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

Revision 12344, 8.7 KB checked in by tomop, 4 years ago (diff)

updated 10 packages

epiphany-3.30.5-2

evolution-data-server-3.30.5-2

gnucash-3.8b-1

harfbuzz-2.6.4-1

libboost-1.66.0-5

tracker-miners-2.3.3-1

tracker-2.2.2-3

webkitgtk4-2.28.0-2

xfsdump-3.1.9-1

xfsprogs-5.5.0-1

Line 
1%global srcdir  gnucash-3.8
2
3Name:           gnucash
4Summary:        GnuCash is an application to keep track of your finances.
5Summary(ja):    個人用財務管理アプリケーション
6Version:        3.8b
7Release:        1%{?_dist_release}
8
9License:        GPL/LGPL/GFDL
10Group:          Applications/Productivity
11URL:            https://www.gnucash.org/
12
13Vendor:         Project Vine
14Distribution:   Vine Linux
15Packager:       kenta, inagaki
16
17Source:         https://github.com/Gnucash/gnucash/releases/download/%{version}/%{name}-%{version}.tar.bz2
18
19BuildRoot:     %{_tmppath}/%{name}-%{version}-root
20BuildRequires: libappstream-glib-devel
21BuildRequires: aqbanking-devel >= 3.7.2
22BuildRequires: bzip2-devel
23BuildRequires: cmake
24BuildRequires: desktop-file-utils
25BuildRequires: expat-devel
26BuildRequires: gwenhywfar-devel
27BuildRequires: gettext
28BuildRequires: gmock-devel
29BuildRequires: gtest-devel
30BuildRequires: gtk3-devel
31BuildRequires: guile-devel
32BuildRequires: libappstream-glib
33BuildRequires: libboost-date-time
34BuildRequires: libboost-devel
35BuildRequires: libboost-locale
36BuildRequires: libboost-regex
37BuildRequires: libboost-filesystem
38BuildRequires: libicu-devel
39BuildRequires: libofx-devel
40BuildRequires: libdbi-devel
41BuildRequires: libjpeg-devel
42BuildRequires: libsecret-devel
43BuildRequires: libtool-ltdl-devel
44BuildRequires: libxslt-devel
45BuildRequires: pcre-devel
46BuildRequires: popt-devel
47BuildRequires: python3-devel
48BuildRequires: swig
49BuildRequires: webkitgtk4-devel
50#BuildRequires: slib
51
52BuildRequires: libdbi-dbd-pgsql
53BuildRequires: libdbi-dbd-mysql
54BuildRequires: libdbi-dbd-sqlite
55
56Requires:      aqbanking
57Requires:      perl-DateManip
58Requires:      yelp
59Requires(post,postun): gtk3
60Requires(postun,posttrans): glib2
61Obsoletes:     gnucash-backend-postgres
62
63
64%description
65GnuCash is a personal finance manager. A check-book like
66register GUI allows you to enter and track bank accounts,
67stocks, income and even currency trades. The interface is
68designed to be simple and easy to use, but is backed with
69double-entry accounting principles to ensure balanced books.
70
71%description -l ja
72GnuCashは 個人用財務管理をするアプリケーションです.
73預金, 株式, 所得そして通貨取引さえ入力し、追跡することができる
74グラフィカルな小切手帖です.インターフェスはシンプルかつ簡単に
75使用できるようにデザインされています.
76
77%prep
78%setup -q -n %{srcdir}
79
80%build
81%global optflags %{optflags} -Wno-parentheses
82
83%cmake . \
84       -DCMAKE_INSTALL_DOCDIR=%{_datadir}/doc/gnucash-%{version} \
85       -DWITH_SQL=OFF
86
87%make_build
88
89
90%install
91[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
92
93%make_install
94
95%find_lang %name
96
97rm -rf $RPM_BUILD_ROOT%{_infodir} \
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
104
105find $RPM_BUILD_ROOT%{_libdir} -name *.la -exec rm -f {} \;
106
107
108%clean
109[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
110
111
112%post
113/sbin/ldconfig
114touch --no-create %{_datadir}/icons/hicolor || :
115gtk-update-icon-cache -q %{_datadir}/icons/hicolor || :
116
117%postun
118if [ $1 -eq 0 ] ; then
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 ||:
123fi
124
125%posttrans
126glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
127
128%files -f %{name}.lang
129%defattr(-,root,root,755)
130%doc %{_docdir}/gnucash-%{version}/*
131%license LICENSE
132%dir %{_sysconfdir}/%{name}
133%{_bindir}/*
134%{_libdir}/*
135%{_datadir}/glib-2.0/schemas/*
136%{_datadir}/%{name}
137%{_datadir}/metainfo/*
138%{_datadir}/applications/*
139%{_datadir}/icons/hicolor/*/apps/*
140%{_mandir}/man*/*
141%config %{_sysconfdir}/%{name}/*
142
143%changelog
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
148* Sun Oct 13 2019 Toshiaki Ara <ara_t@384.jp> 3.7-2
149- rebuild with libicu-65
150
151* Wed Sep 11 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.7-1
152- new upstream release.
153
154* Thu Mar 31 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.6.12-1
155- new upstream release
156
157* Mon Nov 09 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.6.9-1
158- new upstream release
159
160* Sun May 10 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.6.6-2
161- remove *.la files
162
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
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
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
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
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
Note: See TracBrowser for help on using the repository browser.