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