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

Revision 12538, 6.7 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 
1Summary: A multi-platform helper library for other libraries
2Name: gwenhywfar
3Version: 5.6.0
4Release: 1%{?_dist_release}
5Group: system
6Vendor: Project Vine
7Distribution: Vine Linux
8
9License: LGPLv2+
10URL: https://www.aquamaniac.de/sites/aqbanking/index.php
11Source0: https://github.com/aqbanking/gwenhywfar/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
12
13BuildRoot: %{_tmppath}/%{name}-%{version}-root
14BuildRequires: openssl-devel
15BuildRequires: gnutls-devel
16BuildRequires: libgcrypt-devel
17BuildRequires: gettext
18
19%description
20This is Gwenhywfar, a multi-platform helper library for networking and
21security applications and libraries. It is heavily used by libchipcard
22and AqBanking/AqHBCI, the German online banking libraries.
23
24
25%package devel
26Summary: Gwenhywfar development kit
27Group: programming
28Requires: %{name} = %{version}-%{release}
29Requires: %{name}-gui-cpp = %{version}-%{release}
30Requires: %{name}-gui-gtk3 = %{version}-%{release}
31Requires: %{name}-gui-qt5 = %{version}-%{release}
32Requires: pkgconfig
33
34%description devel
35This package contains gwenhywfar-config and header files for writing and
36compiling programs using Gwenhywfar.
37
38
39%package gui-cpp
40Summary: Gwenhywfar GUI framework for cpp
41Group: system
42Requires: %{name} = %{version}-%{release}
43
44%description gui-cpp
45This package contains the cpp gwenhywfar GUI backend.
46
47
48%package gui-gtk3
49Summary: Gwenhywfar GUI framework for GTK3
50Group: system
51BuildRequires: gtk3-devel
52Requires: %{name} = %{version}-%{release}
53Obsoletes: gui-gtk2
54
55%description gui-gtk3
56This package contains the gtk3 gwenhywfar GUI backend.
57
58
59%package gui-qt5
60Summary: Gwenhywfar GUI framework for Qt5
61Group: system
62BuildRequires: qt5-qtbase-devel
63Requires: %{name} = %{version}-%{release}
64Obsoletes: gui-qt4
65
66%description gui-qt5
67This package contains the qt5 gwenhywfar GUI backend.
68
69
70%debug_package
71
72
73%prep
74%setup -q
75autoreconf -iv
76
77
78%build
79# help configure find qt5 lrelease/lupdate
80export PATH=$PATH:%{_qt5_bindir}
81
82%configure \
83        --disable-static \
84        --enable-system-certs \
85        --with-openssl-libs=%{_libdir} \
86        --with-guis="gtk3 qt5" \
87        --with-qt5-qmake=%{_bindir}/qmake-qt5 \
88        --with-qt5-moc=%{_bindir}/moc-qt5 \
89        --with-qt5-uic=%{_bindir}/uic-qt5
90
91# kill rpath
92sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
93sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
94
95make %{?_smp_mflags}
96
97
98%install
99[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
100make DESTDIR=$RPM_BUILD_ROOT install
101
102# use system ca-certificates
103rm -f $RPM_BUILD_ROOT%{_datadir}/%{name}/ca-bundle.crt
104ln -sf %{_sysconfdir}/pki/tls/certs/ca-bundle.crt \
105    $RPM_BUILD_ROOT%{_datadir}/%{name}/ca-bundle.crt
106
107find $RPM_BUILD_ROOT -name *.la -exec rm -f {} \;
108
109%find_lang %{name}
110
111
112%clean
113[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
114
115
116%post -p /sbin/ldconfig
117%postun -p /sbin/ldconfig
118
119
120%files -f %{name}.lang
121%defattr(-,root,root)
122%license COPYING
123%doc AUTHORS README ChangeLog
124%{_bindir}/gct-tool
125%{_libdir}/libgwenhywfar.so.*
126%{_libdir}/%{name}
127%dir %{_datadir}/%{name}
128%{_datadir}/%{name}/dialogs
129%{_datadir}/%{name}/typemaker2
130%exclude %{_datadir}/%{name}/typemaker*
131%{_datadir}/%{name}/ca-bundle.crt
132
133%files devel
134%defattr(-,root,root)
135%exclude %{_bindir}/gct-tool
136%{_bindir}/*
137%{_includedir}/gwenhywfar*
138%{_libdir}/*.so
139%{_libdir}/pkgconfig/*.pc
140%{_libdir}/cmake/*
141%{_datadir}/aclocal/gwenhywfar.m4
142%{_datadir}/%{name}/typemaker*
143
144%files gui-cpp
145%defattr(-,root,root)
146%{_libdir}/libgwengui-cpp.so.*
147
148%files gui-gtk3
149%defattr(-,root,root)
150%{_libdir}/libgwengui-gtk3.so.*
151
152%files gui-qt5
153%defattr(-,root,root)
154%{_libdir}/libgwengui-qt5.so.*
155
156
157%changelog
158* Sat Feb 20 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.6.0-1
159- new upstream release.
160
161* Wed Sep 11 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.20.2-1
162- new upstream release.
163- switched guis to gtk3 and qt5.
164- added a subpackage "gui-cpp".
165
166* Sat Dec  6 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 4.3.3-2
167- rebuilt with libgcrypt 1.6.0 and gnutls 3.2.20
168
169* Sun Sep 02 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.3.3-1
170- new upstream release
171- add BuildRequires: gtk2-devel, qt4-devel
172- create gui-gtk2, gui-qt4 subpackages (based on Fedora)
173
174* Sat Mar 12 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.11.3-3
175- rebuilt with openssl-1.0.0d
176
177* Sat Oct 02 2010 Shu KONNO <owa@bg.wakwak.com> 3.11.3-2
178- rebuilt with rpm-4.8.1 for pkg-config
179
180* Sat Feb 13 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 3.11.3-1
181- new upstream release
182
183* Mon Jan 19 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.6.0-1
184- new upstream release
185- built with gnutls-2.6.3
186
187* Sat Sep 27 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.4.1-1
188- new upstream release
189- applied new versioning policy
190
191* Sat Dec 29 2007 NAKAMURA Kenta <kenta@vinelinux.org> 2.6.2-0vl1
192- new upstream release
193
194* Sat Dec 29 2007 NAKAMURA Kenta <kenta@vinelinux.org> 2.6.1-2vl1
195- initial build for VineSeed
196
197* Wed Oct 10 2007 Bill Nottingham <notting@redhat.com> - 2.6.1-2
198- fix build, rebuild for buildid
199
200* Fri Aug  3 2007 Bill Nottingham <notting@redhat.com>
201- tweak license tag
202
203* Wed Jul 11 2007 Bill Nottingham <notting@redhat.com> - 2.6.1-1
204- update to 2.6.1
205
206* Mon Jun 11 2007 Bill Nottingham <notting@redhat.com> - 2.6.0-1
207- update to 2.6.0
208
209* Mon Mar 19 2007 Bill Nottingham <notting@redhat.com> - 2.5.4-1
210- update to 2.5.4
211
212* Thu Feb 22 2007 Bill Nottingham <notting@redhat.com> - 2.3.0-7
213- build for Extras
214
215* Wed Jan 10 2007 Bill Nottingham <notting@redhat.com> - 2.3.0-6
216- make gwen-public-ca.crt %%config(noreplace)
217
218* Tue Jan  9 2007 Bill Nottingham <notting@redhat.com> - 2.3.0-5
219- spec tweaks
220
221* Thu Sep  7 2006 Bill Nottingham <notting@redhat.com> - 2.3.0-4
222- rebuild for fixed debuginfo (#205501)
223
224* Tue Sep  5 2006 Bill Nottingham <notting@redhat.com> - 2.3.0-3
225- fix multilib conflicts (#205213)
226
227* Fri Jul 14 2006 Bill Nottingham <notting@redhat.com> - 2.3.0-2
228- rather than modifying the m4 file, make gwenhywfar-config use pkgconfig
229
230* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 2.3.0-1.1
231- rebuild
232
233* Tue Jul 11 2006 Bill Nottingham <notting@redhat.com> - 2.3.0-1
234- update to 2.3.0
235
236* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.99.2-1.2
237- bump again for double-long bug on ppc(64)
238
239* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.99.2-1.1
240- rebuilt for new gcc4.1 snapshot and glibc changes
241
242* Thu Dec 22 2005 Bill Nottingham <notting@redhat.com> 1.99.2-1
243- update to 1.99.2
244- use the pkgconfig file, not gwenhywfar-config
245
246* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
247- rebuilt
248
249* Wed Nov  9 2005 Tomas Mraz <tmraz@redhat.com> 1.7.2-3
250- rebuilt against new openssl
251
252* Wed Mar  2 2005 Bill Nottingham <notting@redhat.com> 1.7.2-2
253- rebuild against new openssl
254
255* Wed Feb  9 2005 Bill Nottingham <notting@redhat.com> 1.7.2-1
256- initial packaging, adopt upstream package
Note: See TracBrowser for help on using the repository browser.