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