]> git.pld-linux.org Git - packages/gwenhywfar.git/blame - gwenhywfar.spec
- updated to 4.3.3
[packages/gwenhywfar.git] / gwenhywfar.spec
CommitLineData
af34125f 1#
2# TODO: - define _one_, system-wide place for ca-bundle.crt and use one, up-to-date file
a57bd46d
JB
3#
4# Conditional build:
5%bcond_without fox # FOX 1.6 GUI
af34125f 6#
c9677431 7Summary: Gwenhywfar - a multi-platform helper library for networking and security
c0251854 8Summary(pl.UTF-8): Gwenhywfar - wieloplatformowa biblioteka pomocnicza do sieci i bezpieczeństwa
c9677431 9Name: gwenhywfar
ddd06fd7
JR
10Version: 4.3.3
11Release: 1
c9677431
JB
12License: LGPL v2.1+ with OpenSSL linking exception
13Group: Libraries
104ef448 14# http://www2.aquamaniac.de/sites/download/packages.php
ddd06fd7
JR
15Source0: http://www2.aquamaniac.de/sites/download/download.php?package=01&release=67&file=01&dummy=%{name}-%{version}.tar.gz?/%{name}-%{version}.tar.gz
16# Source0-md5: c5b9d52a25960f84f9264a5a5dd484d1
17Patch0: gcc.patch
a3e2fd8e 18URL: http://www.aquamaniac.de/aqbanking/
9db45f92 19BuildRequires: QtGui-devel >= 4
45b54d76 20BuildRequires: autoconf >= 2.60
a24cb890 21BuildRequires: automake
a57bd46d 22%{?with_fox:BuildRequires: fox16-devel >= 1.6}
a24cb890 23BuildRequires: gettext-devel
45b54d76 24BuildRequires: gnutls-devel >= 1.6.1
9db45f92
JB
25BuildRequires: gtk+2-devel >= 2:2.17.5
26BuildRequires: libgcrypt-devel >= 1.2.0
a24cb890 27BuildRequires: libtool
c9677431 28BuildRequires: openssl-devel
9db45f92 29BuildRequires: pkgconfig
c3f30a6d 30BuildRequires: qt4-build
9db45f92 31Requires: libgcrypt >= 1.2.0
c9677431
JB
32BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33
34%description
35This is Gwenhywfar, a multi-platform helper library for networking and
36security applications and libraries. It is used by:
45b54d76 37 - Libchipcard (http://www.libchipcard.de/),
c9677431
JB
38 - OpenHBCI2 (http://www.openhbci.de/),
39 - Simthetic, the simulation tool (http://simthetic.sourceforge.net/)
40 - AqBanking/AqHBCI (http://www.aquamaniac.de/aqbanking/).
41
4dabdb30 42%description -l pl.UTF-8
c9677431 43To jest Gwenhywfar - wieloplatformowa biblioteka pomocnicza do
4dabdb30
JR
44aplikacji i bibliotek związanych z siecią i bezpieczeństwem. Jest
45używana przez:
45b54d76 46 - Libchipcard (http://www.libchipcard.de/),
c9677431 47 - OpenHBCI2 (http://www.openhbci.de/),
4dabdb30 48 - narzędzie do symulacji Simthetic (http://simthetic.sourceforge.net/)
c9677431
JB
49 - AqBanking/AqHBCI (http://www.aquamaniac.de/aqbanking/).
50
51%package devel
52Summary: Header files for Gwenhywfar library
c0251854 53Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Gwenhywfar
c9677431
JB
54Group: Development/Libraries
55Requires: %{name} = %{version}-%{release}
45b54d76 56Requires: gnutls-devel >= 1.6.1
9db45f92 57Requires: libgcrypt-devel >= 1.2.0
c9677431
JB
58
59%description devel
60Header files for Gwenhywfar library.
61
4dabdb30
JR
62%description devel -l pl.UTF-8
63Pliki nagłówkowe biblioteki Gwenhywfar.
c9677431
JB
64
65%package static
66Summary: Static Gwenhywfar library
c0251854 67Summary(pl.UTF-8): Statyczna biblioteka Gwenhywfar
c9677431
JB
68Group: Development/Libraries
69Requires: %{name}-devel = %{version}-%{release}
70
71%description static
72Static Gwenhywfar library.
73
4dabdb30 74%description static -l pl.UTF-8
c9677431
JB
75Statyczna biblioteka Gwenhywfar.
76
a57bd46d
JB
77%package fox
78Summary: GTK+ 2 Gwenhywfar GUI library implementation of the GWEN_DIALOG framework
79Summary(pl.UTF-8): Biblioteka graficznego interfejsu GTK+ 2 do Gwenhywfar
80Group: X11/Libraries
81Requires: %{name} = %{version}-%{release}
82
83%description fox
84GTK+ 2 Gwenhywfar GUI library, containing GTK+ 2 implementation of the
85GWEN_DIALOG framework.
86
87%description fox
88Biblioteka graficznego interfejsu GTK+ 2 do Gwenhywfar, zawierająca
89implementację GTK+2 szkieletu GWEN_DIALOG.
90
91%package fox-devel
92Summary: Header files for FOX 1.6 Gwenhywfar GUI library
93Summary(pl.UTF-8): Pliki nagłówkowe biblioteki graficznego interfejsu FOX 1.6 do Gwenhywfar
94Group: X11/Development/Libraries
95Requires: %{name}-devel = %{version}-%{release}
96Requires: %{name}-fox = %{version}-%{release}
97Requires: fox16-devel >= 1.6
98
99%description fox-devel
100Header files for FOX 1.6 Gwenhywfar GUI library
101
102%description fox-devel -l pl.UTF-8
103Pliki nagłówkowe biblioteki graficznego interfejsu FOX 1.6 do
104Gwenhywfar.
105
106%package fox-static
107Summary: Static FOX 1.6 Gwenhywfar GUI library
108Summary(pl.UTF-8): Statyczna biblioteka graficznego interfejsu FOX 1.6 do Gwenhywfar
109Group: X11/Development/Libraries
110Requires: %{name}-fox-devel = %{version}-%{release}
111
112%description fox-static
113Static FOX 1.6 Gwenhywfar GUI library.
114
115%description fox-static -l pl.UTF-8
116Statyczna biblioteka graficznego interfejsu FOX 1.6 do Gwenhywfar.
117
ce6dc1cb
JB
118%package gtk
119Summary: GTK+ 2 Gwenhywfar GUI library implementation of the GWEN_DIALOG framework
120Summary(pl.UTF-8): Biblioteka graficznego interfejsu GTK+ 2 do Gwenhywfar
121Group: X11/Libraries
122Requires: %{name} = %{version}-%{release}
a57bd46d 123Requires: gtk+2 >= 2:2.17.5
ce6dc1cb
JB
124
125%description gtk
126GTK+ 2 Gwenhywfar GUI library, containing GTK+ 2 implementation of the
127GWEN_DIALOG framework.
128
129%description gtk
130Biblioteka graficznego interfejsu GTK+ 2 do Gwenhywfar, zawierająca
131implementację GTK+2 szkieletu GWEN_DIALOG.
132
133%package gtk-devel
134Summary: Header files for GTK+ 2 Gwenhywfar GUI library
135Summary(pl.UTF-8): Pliki nagłówkowe biblioteki graficznego interfejsu GTK+ 2 do Gwenhywfar
136Group: X11/Development/Libraries
137Requires: %{name}-devel = %{version}-%{release}
138Requires: %{name}-gtk = %{version}-%{release}
a57bd46d 139Requires: gtk+2-devel >= 2:2.17.5
ce6dc1cb
JB
140
141%description gtk-devel
142Header files for GTK+ 2 Gwenhywfar GUI library
143
144%description gtk-devel -l pl.UTF-8
145Pliki nagłówkowe biblioteki graficznego interfejsu GTK+ 2 do
146Gwenhywfar.
147
148%package gtk-static
149Summary: Static GTK+ 2 Gwenhywfar GUI library
150Summary(pl.UTF-8): Statyczna biblioteka graficznego interfejsu GTK+ 2 do Gwenhywfar
151Group: X11/Development/Libraries
152Requires: %{name}-gtk-devel = %{version}-%{release}
153
154%description gtk-static
155Static GTK+ 2 Gwenhywfar GUI library.
156
157%description gtk-static -l pl.UTF-8
158Statyczna biblioteka graficznego interfejsu GTK+ 2 do Gwenhywfar.
159
160%package qt
161Summary: Qt 4 Gwenhywfar GUI library implementation of the GWEN_DIALOG framework
162Summary(pl.UTF-8): Biblioteka graficznego interfejsu Qt 4 do Gwenhywfar
163Group: X11/Libraries
164Requires: %{name} = %{version}-%{release}
165
166%description qt
167Qt 4 Gwenhywfar GUI library, containing Qt 4 implementation of the
168GWEN_DIALOG framework.
169
170%description qt
171Biblioteka graficznego interfejsu Qt 4 do Gwenhywfar, zawierająca
172implementację GTK+2 szkieletu GWEN_DIALOG.
173
174%package qt-devel
175Summary: Header files for Qt 4 Gwenhywfar GUI library
176Summary(pl.UTF-8): Pliki nagłówkowe biblioteki graficznego interfejsu Qt 4 do Gwenhywfar
177Group: X11/Development/Libraries
178Requires: %{name}-devel = %{version}-%{release}
179Requires: %{name}-qt = %{version}-%{release}
a57bd46d 180Requires: QtGui-devel >= 4
ce6dc1cb
JB
181
182%description qt-devel
183Header files for Qt 4 Gwenhywfar GUI library
184
185%description qt-devel -l pl.UTF-8
186Pliki nagłówkowe biblioteki graficznego interfejsu Qt 4 do Gwenhywfar.
187
188%package qt-static
189Summary: Static Qt 4 Gwenhywfar GUI library
190Summary(pl.UTF-8): Statyczna biblioteka graficznego interfejsu Qt 4 do Gwenhywfar
191Group: X11/Development/Libraries
192Requires: %{name}-qt-devel = %{version}-%{release}
193
194%description qt-static
195Static Qt 4 Gwenhywfar GUI library.
196
197%description qt-static -l pl.UTF-8
198Statyczna biblioteka graficznego interfejsu Qt 4 do Gwenhywfar.
199
c9677431
JB
200%prep
201%setup -q
bcc983e9 202%patch0 -p1
c9677431
JB
203
204%build
45b54d76
JB
205# gettextize not used (custom support instead of AM_GNU_GETTEXT)
206touch config.rpath
a24cb890
JB
207%{__libtoolize}
208%{__aclocal} -I m4
209%{__autoconf}
210%{__autoheader}
211%{__automake}
c9677431 212%configure \
f2cfcef2 213 --enable-static \
ce6dc1cb
JB
214 --with-guis="%{?with_fox:fox16 }gtk2 qt4" \
215 --with-openssl-libs=%{_libdir} \
216 --with-qt4-libs=%{_libdir}
c77e6c9f 217
c3f30a6d 218%{__make}
c9677431
JB
219
220%install
221rm -rf $RPM_BUILD_ROOT
222
223%{__make} install \
224 DESTDIR=$RPM_BUILD_ROOT
225
7a38ab96 226%{__rm} $RPM_BUILD_ROOT%{_libdir}/gwenhywfar/plugins/*/*/*.{la,a}
119469bf 227%{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
c9677431
JB
228
229%find_lang %{name}
230
231%clean
232rm -rf $RPM_BUILD_ROOT
233
234%post -p /sbin/ldconfig
235%postun -p /sbin/ldconfig
236
a57bd46d
JB
237%post fox -p /sbin/ldconfig
238%postun fox -p /sbin/ldconfig
239
ce6dc1cb
JB
240%post gtk -p /sbin/ldconfig
241%postun gtk -p /sbin/ldconfig
242
243%post qt -p /sbin/ldconfig
244%postun qt -p /sbin/ldconfig
245
c9677431
JB
246%files -f %{name}.lang
247%defattr(644,root,root,755)
248%doc AUTHORS ChangeLog NEWS README TODO
c9677431 249%attr(755,root,root) %{_bindir}/gct-tool
9b17a7cc 250%attr(755,root,root) %{_bindir}/gsa
c9677431
JB
251%attr(755,root,root) %{_bindir}/mklistdoc
252%attr(755,root,root) %{_bindir}/typemaker
9599e188 253%attr(755,root,root) %{_bindir}/typemaker2
c9677431 254%attr(755,root,root) %{_bindir}/xmlmerge
2673ce26 255%attr(755,root,root) %{_libdir}/libgwenhywfar.so.*.*.*
af34125f 256%attr(755,root,root) %ghost %{_libdir}/libgwenhywfar.so.60
c9677431
JB
257%dir %{_libdir}/gwenhywfar
258%dir %{_libdir}/gwenhywfar/plugins
259%dir %{_libdir}/gwenhywfar/plugins/*
45b54d76
JB
260%dir %{_libdir}/gwenhywfar/plugins/*/ct
261%attr(755,root,root) %{_libdir}/gwenhywfar/plugins/*/ct/*.so*
262%{_libdir}/gwenhywfar/plugins/*/ct/*.xml
c9677431
JB
263%dir %{_libdir}/gwenhywfar/plugins/*/dbio
264%attr(755,root,root) %{_libdir}/gwenhywfar/plugins/*/dbio/*.so*
265%{_libdir}/gwenhywfar/plugins/*/dbio/*.xml
104ef448
AF
266%dir %{_libdir}/gwenhywfar/plugins/*/configmgr
267%attr(755,root,root) %{_libdir}/gwenhywfar/plugins/*/configmgr/*.so
268%{_libdir}/gwenhywfar/plugins/*/configmgr/*.xml
45b54d76
JB
269# just ca-bundle.crt
270%{_datadir}/gwenhywfar
c9677431
JB
271
272%files devel
273%defattr(644,root,root,755)
274%attr(755,root,root) %{_bindir}/gwenhywfar-config
2673ce26 275%attr(755,root,root) %{_libdir}/libgwenhywfar.so
ce6dc1cb
JB
276%dir %{_includedir}/gwenhywfar4
277%{_includedir}/gwenhywfar4/gwen-gui-cpp
278%{_includedir}/gwenhywfar4/gwenhywfar
c9677431
JB
279%{_aclocaldir}/gwenhywfar.m4
280%{_pkgconfigdir}/gwenhywfar.pc
281
282%files static
283%defattr(644,root,root,755)
ce6dc1cb
JB
284%{_libdir}/libgwenhywfar.a
285
a57bd46d
JB
286%if %{with fox}
287%files fox
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
291
292%files fox-devel
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
297
298%files fox-static
299%defattr(644,root,root,755)
300%{_libdir}/libgwengui-fox16.a
301%endif
302
ce6dc1cb
JB
303%files gtk
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
307
308%files gtk-devel
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
313
314%files gtk-static
315%defattr(644,root,root,755)
8fc6b9b9 316%{_libdir}/libgwengui-gtk2.a
ce6dc1cb
JB
317
318%files qt
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
322
323%files qt-devel
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
328
329%files qt-static
330%defattr(644,root,root,755)
8fc6b9b9 331%{_libdir}/libgwengui-qt4.a
This page took 0.130744 seconds and 4 git commands to generate.