2 # TODO: - define _one_, system-wide place for ca-bundle.crt and use one, up-to-date file
5 %bcond_without fox # FOX 1.6 GUI
7 Summary: Gwenhywfar - a multi-platform helper library for networking and security
8 Summary(pl.UTF-8): Gwenhywfar - wieloplatformowa biblioteka pomocnicza do sieci i bezpieczeństwa
12 License: LGPL v2.1+ with OpenSSL linking exception
14 # http://www2.aquamaniac.de/sites/download/packages.php
15 Source0: http://www2.aquamaniac.de/sites/download/download.php?package=01&release=64&file=01&dummy=%{name}-%{version}.tar.gz#/%{name}-%{version}.tar.gz
16 # Source0-md5: 6c3647c5a9065d0126b0e2b77752527b
17 Patch0: %{name}-gnutls.patch
18 URL: http://www.aquamaniac.de/aqbanking/
19 BuildRequires: QtGui-devel >= 4
20 BuildRequires: autoconf >= 2.60
21 BuildRequires: automake
22 %{?with_fox:BuildRequires: fox16-devel >= 1.6}
23 BuildRequires: gettext-devel
24 BuildRequires: gnutls-devel >= 1.6.1
25 BuildRequires: gtk+2-devel >= 2:2.17.5
26 BuildRequires: libgcrypt-devel >= 1.2.0
27 BuildRequires: libtool
28 BuildRequires: openssl-devel
29 BuildRequires: pkgconfig
30 BuildRequires: qt4-build
31 Requires: libgcrypt >= 1.2.0
32 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
35 This is Gwenhywfar, a multi-platform helper library for networking and
36 security applications and libraries. It is used by:
37 - Libchipcard (http://www.libchipcard.de/),
38 - OpenHBCI2 (http://www.openhbci.de/),
39 - Simthetic, the simulation tool (http://simthetic.sourceforge.net/)
40 - AqBanking/AqHBCI (http://www.aquamaniac.de/aqbanking/).
42 %description -l pl.UTF-8
43 To jest Gwenhywfar - wieloplatformowa biblioteka pomocnicza do
44 aplikacji i bibliotek związanych z siecią i bezpieczeństwem. Jest
46 - Libchipcard (http://www.libchipcard.de/),
47 - OpenHBCI2 (http://www.openhbci.de/),
48 - narzędzie do symulacji Simthetic (http://simthetic.sourceforge.net/)
49 - AqBanking/AqHBCI (http://www.aquamaniac.de/aqbanking/).
52 Summary: Header files for Gwenhywfar library
53 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Gwenhywfar
54 Group: Development/Libraries
55 Requires: %{name} = %{version}-%{release}
56 Requires: gnutls-devel >= 1.6.1
57 Requires: libgcrypt-devel >= 1.2.0
60 Header files for Gwenhywfar library.
62 %description devel -l pl.UTF-8
63 Pliki nagłówkowe biblioteki Gwenhywfar.
66 Summary: Static Gwenhywfar library
67 Summary(pl.UTF-8): Statyczna biblioteka Gwenhywfar
68 Group: Development/Libraries
69 Requires: %{name}-devel = %{version}-%{release}
72 Static Gwenhywfar library.
74 %description static -l pl.UTF-8
75 Statyczna biblioteka Gwenhywfar.
78 Summary: GTK+ 2 Gwenhywfar GUI library implementation of the GWEN_DIALOG framework
79 Summary(pl.UTF-8): Biblioteka graficznego interfejsu GTK+ 2 do Gwenhywfar
81 Requires: %{name} = %{version}-%{release}
84 GTK+ 2 Gwenhywfar GUI library, containing GTK+ 2 implementation of the
85 GWEN_DIALOG framework.
88 Biblioteka graficznego interfejsu GTK+ 2 do Gwenhywfar, zawierająca
89 implementację GTK+2 szkieletu GWEN_DIALOG.
92 Summary: Header files for FOX 1.6 Gwenhywfar GUI library
93 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki graficznego interfejsu FOX 1.6 do Gwenhywfar
94 Group: X11/Development/Libraries
95 Requires: %{name}-devel = %{version}-%{release}
96 Requires: %{name}-fox = %{version}-%{release}
97 Requires: fox16-devel >= 1.6
99 %description fox-devel
100 Header files for FOX 1.6 Gwenhywfar GUI library
102 %description fox-devel -l pl.UTF-8
103 Pliki nagłówkowe biblioteki graficznego interfejsu FOX 1.6 do
107 Summary: Static FOX 1.6 Gwenhywfar GUI library
108 Summary(pl.UTF-8): Statyczna biblioteka graficznego interfejsu FOX 1.6 do Gwenhywfar
109 Group: X11/Development/Libraries
110 Requires: %{name}-fox-devel = %{version}-%{release}
112 %description fox-static
113 Static FOX 1.6 Gwenhywfar GUI library.
115 %description fox-static -l pl.UTF-8
116 Statyczna biblioteka graficznego interfejsu FOX 1.6 do Gwenhywfar.
119 Summary: GTK+ 2 Gwenhywfar GUI library implementation of the GWEN_DIALOG framework
120 Summary(pl.UTF-8): Biblioteka graficznego interfejsu GTK+ 2 do Gwenhywfar
122 Requires: %{name} = %{version}-%{release}
123 Requires: gtk+2 >= 2:2.17.5
126 GTK+ 2 Gwenhywfar GUI library, containing GTK+ 2 implementation of the
127 GWEN_DIALOG framework.
130 Biblioteka graficznego interfejsu GTK+ 2 do Gwenhywfar, zawierająca
131 implementację GTK+2 szkieletu GWEN_DIALOG.
134 Summary: Header files for GTK+ 2 Gwenhywfar GUI library
135 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki graficznego interfejsu GTK+ 2 do Gwenhywfar
136 Group: X11/Development/Libraries
137 Requires: %{name}-devel = %{version}-%{release}
138 Requires: %{name}-gtk = %{version}-%{release}
139 Requires: gtk+2-devel >= 2:2.17.5
141 %description gtk-devel
142 Header files for GTK+ 2 Gwenhywfar GUI library
144 %description gtk-devel -l pl.UTF-8
145 Pliki nagłówkowe biblioteki graficznego interfejsu GTK+ 2 do
149 Summary: Static GTK+ 2 Gwenhywfar GUI library
150 Summary(pl.UTF-8): Statyczna biblioteka graficznego interfejsu GTK+ 2 do Gwenhywfar
151 Group: X11/Development/Libraries
152 Requires: %{name}-gtk-devel = %{version}-%{release}
154 %description gtk-static
155 Static GTK+ 2 Gwenhywfar GUI library.
157 %description gtk-static -l pl.UTF-8
158 Statyczna biblioteka graficznego interfejsu GTK+ 2 do Gwenhywfar.
161 Summary: Qt 4 Gwenhywfar GUI library implementation of the GWEN_DIALOG framework
162 Summary(pl.UTF-8): Biblioteka graficznego interfejsu Qt 4 do Gwenhywfar
164 Requires: %{name} = %{version}-%{release}
167 Qt 4 Gwenhywfar GUI library, containing Qt 4 implementation of the
168 GWEN_DIALOG framework.
171 Biblioteka graficznego interfejsu Qt 4 do Gwenhywfar, zawierająca
172 implementację GTK+2 szkieletu GWEN_DIALOG.
175 Summary: Header files for Qt 4 Gwenhywfar GUI library
176 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki graficznego interfejsu Qt 4 do Gwenhywfar
177 Group: X11/Development/Libraries
178 Requires: %{name}-devel = %{version}-%{release}
179 Requires: %{name}-qt = %{version}-%{release}
180 Requires: QtGui-devel >= 4
182 %description qt-devel
183 Header files for Qt 4 Gwenhywfar GUI library
185 %description qt-devel -l pl.UTF-8
186 Pliki nagłówkowe biblioteki graficznego interfejsu Qt 4 do Gwenhywfar.
189 Summary: Static Qt 4 Gwenhywfar GUI library
190 Summary(pl.UTF-8): Statyczna biblioteka graficznego interfejsu Qt 4 do Gwenhywfar
191 Group: X11/Development/Libraries
192 Requires: %{name}-qt-devel = %{version}-%{release}
194 %description qt-static
195 Static Qt 4 Gwenhywfar GUI library.
197 %description qt-static -l pl.UTF-8
198 Statyczna biblioteka graficznego interfejsu Qt 4 do Gwenhywfar.
205 # gettextize not used (custom support instead of AM_GNU_GETTEXT)
214 --with-guis="%{?with_fox:fox16 }gtk2 qt4" \
215 --with-openssl-libs=%{_libdir} \
216 --with-qt4-libs=%{_libdir}
221 rm -rf $RPM_BUILD_ROOT
224 DESTDIR=$RPM_BUILD_ROOT
226 %{__rm} $RPM_BUILD_ROOT%{_libdir}/gwenhywfar/plugins/*/*/*.{la,a}
227 %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
232 rm -rf $RPM_BUILD_ROOT
234 %post -p /sbin/ldconfig
235 %postun -p /sbin/ldconfig
237 %post fox -p /sbin/ldconfig
238 %postun fox -p /sbin/ldconfig
240 %post gtk -p /sbin/ldconfig
241 %postun gtk -p /sbin/ldconfig
243 %post qt -p /sbin/ldconfig
244 %postun qt -p /sbin/ldconfig
246 %files -f %{name}.lang
247 %defattr(644,root,root,755)
248 %doc AUTHORS ChangeLog NEWS README TODO
249 %attr(755,root,root) %{_bindir}/gct-tool
250 %attr(755,root,root) %{_bindir}/gsa
251 %attr(755,root,root) %{_bindir}/mklistdoc
252 %attr(755,root,root) %{_bindir}/typemaker
253 %attr(755,root,root) %{_bindir}/typemaker2
254 %attr(755,root,root) %{_bindir}/xmlmerge
255 %attr(755,root,root) %{_libdir}/libgwenhywfar.so.*.*.*
256 %attr(755,root,root) %ghost %{_libdir}/libgwenhywfar.so.60
257 %dir %{_libdir}/gwenhywfar
258 %dir %{_libdir}/gwenhywfar/plugins
259 %dir %{_libdir}/gwenhywfar/plugins/*
260 %dir %{_libdir}/gwenhywfar/plugins/*/ct
261 %attr(755,root,root) %{_libdir}/gwenhywfar/plugins/*/ct/*.so*
262 %{_libdir}/gwenhywfar/plugins/*/ct/*.xml
263 %dir %{_libdir}/gwenhywfar/plugins/*/dbio
264 %attr(755,root,root) %{_libdir}/gwenhywfar/plugins/*/dbio/*.so*
265 %{_libdir}/gwenhywfar/plugins/*/dbio/*.xml
266 %dir %{_libdir}/gwenhywfar/plugins/*/configmgr
267 %attr(755,root,root) %{_libdir}/gwenhywfar/plugins/*/configmgr/*.so
268 %{_libdir}/gwenhywfar/plugins/*/configmgr/*.xml
270 %{_datadir}/gwenhywfar
273 %defattr(644,root,root,755)
274 %attr(755,root,root) %{_bindir}/gwenhywfar-config
275 %attr(755,root,root) %{_libdir}/libgwenhywfar.so
276 %dir %{_includedir}/gwenhywfar4
277 %{_includedir}/gwenhywfar4/gwen-gui-cpp
278 %{_includedir}/gwenhywfar4/gwenhywfar
279 %{_aclocaldir}/gwenhywfar.m4
280 %{_pkgconfigdir}/gwenhywfar.pc
283 %defattr(644,root,root,755)
284 %{_libdir}/libgwenhywfar.a
288 %defattr(644,root,root,755)
289 %attr(755,root,root) %{_libdir}/libgwengui-fox16.so.*.*.*
290 %attr(755,root,root) %ghost %{_libdir}/libgwengui-fox16.so.0
293 %defattr(644,root,root,755)
294 %attr(755,root,root) %{_libdir}/libgwengui-fox16.so
295 %{_includedir}/gwenhywfar4/gwen-gui-fox16
296 %{_pkgconfigdir}/gwengui-fox16.pc
299 %defattr(644,root,root,755)
300 %{_libdir}/libgwengui-fox16.a
304 %defattr(644,root,root,755)
305 %attr(755,root,root) %{_libdir}/libgwengui-gtk2.so.*.*.*
306 %attr(755,root,root) %ghost %{_libdir}/libgwengui-gtk2.so.0
309 %defattr(644,root,root,755)
310 %attr(755,root,root) %{_libdir}/libgwengui-gtk2.so
311 %{_includedir}/gwenhywfar4/gwen-gui-gtk2
312 %{_pkgconfigdir}/gwengui-gtk2.pc
315 %defattr(644,root,root,755)
316 %{_libdir}/libgwengui-gtk2.a
319 %defattr(644,root,root,755)
320 %attr(755,root,root) %{_libdir}/libgwengui-qt4.so.*.*.*
321 %attr(755,root,root) %ghost %{_libdir}/libgwengui-qt4.so.0
324 %defattr(644,root,root,755)
325 %attr(755,root,root) %{_libdir}/libgwengui-qt4.so
326 %{_includedir}/gwenhywfar4/gwen-gui-qt4
327 %{_pkgconfigdir}/gwengui-qt4.pc
330 %defattr(644,root,root,755)
331 %{_libdir}/libgwengui-qt4.a