]>
Commit | Line | Data |
---|---|---|
1 | # | |
2 | # TODO: - define _one_, system-wide place for ca-bundle.crt and use one, up-to-date file | |
3 | # | |
4 | # Conditional build: | |
5 | %bcond_without fox # FOX 1.6 GUI | |
6 | %bcond_without qt # any Qt GUI (convenience) | |
7 | %bcond_without qt4 # Qt 4 GUI | |
8 | %bcond_without qt5 # Qt 5 GUI | |
9 | %bcond_without static_libs # static libraries | |
10 | # | |
11 | %if %{without qt} | |
12 | %undefine with_qt4 | |
13 | %undefine with_qt5 | |
14 | %endif | |
15 | Summary: Gwenhywfar - a multi-platform helper library for networking and security | |
16 | Summary(pl.UTF-8): Gwenhywfar - wieloplatformowa biblioteka pomocnicza do sieci i bezpieczeństwa | |
17 | Name: gwenhywfar | |
18 | Version: 4.15.3 | |
19 | Release: 2 | |
20 | License: LGPL v2.1+ with OpenSSL linking exception | |
21 | Group: Libraries | |
22 | # https://www.aquamaniac.de/sites/download/packages.php | |
23 | Source0: https://www.aquamaniac.de/sites/download/download.php?package=01&release=201&file=01&dummy=/%{name}-%{version}.tar.gz | |
24 | # Source0-md5: 4e96e68482a3cf1cfc00bd3645684c82 | |
25 | Patch0: gcc.patch | |
26 | Patch1: %{name}-qt5.patch | |
27 | URL: https://www.aquamaniac.de/sites/aqbanking/ | |
28 | BuildRequires: autoconf >= 2.60 | |
29 | BuildRequires: automake | |
30 | %{?with_fox:BuildRequires: fox16-devel >= 1.6} | |
31 | BuildRequires: gettext-tools | |
32 | BuildRequires: gnutls-devel >= 2.9.8 | |
33 | BuildRequires: gtk+2-devel >= 2:2.17.5 | |
34 | BuildRequires: libgcrypt-devel >= 1.2.0 | |
35 | BuildRequires: libgpg-error-devel | |
36 | BuildRequires: libstdc++-devel | |
37 | BuildRequires: libtool >= 2:1.5 | |
38 | BuildRequires: openssl-devel | |
39 | BuildRequires: pkgconfig | |
40 | %if %{with qt4} | |
41 | BuildRequires: QtCore-devel >= 4 | |
42 | BuildRequires: QtGui-devel >= 4 | |
43 | BuildRequires: qt4-build | |
44 | %endif | |
45 | %if %{with qt5} | |
46 | BuildRequires: Qt5Core-devel >= 5 | |
47 | BuildRequires: Qt5Gui-devel >= 5 | |
48 | BuildRequires: Qt5Widgets-devel >= 5 | |
49 | BuildRequires: qt5-build >= 5 | |
50 | BuildRequires: qt5-qmake >= 5 | |
51 | %endif | |
52 | Requires: gnutls-libs >= 2.9.8 | |
53 | Requires: libgcrypt >= 1.2.0 | |
54 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
55 | ||
56 | %define ver_cmake %(echo %{version} | cut -d. -f 1-2) | |
57 | ||
58 | %description | |
59 | This is Gwenhywfar, a multi-platform helper library for networking and | |
60 | security applications and libraries. It is used by: | |
61 | - Libchipcard (http://www.libchipcard.de/), | |
62 | - OpenHBCI2 (http://www.openhbci.de/), | |
63 | - Simthetic, the simulation tool (http://simthetic.sourceforge.net/) | |
64 | - AqBanking/AqHBCI (http://www.aquamaniac.de/aqbanking/). | |
65 | ||
66 | %description -l pl.UTF-8 | |
67 | To jest Gwenhywfar - wieloplatformowa biblioteka pomocnicza do | |
68 | aplikacji i bibliotek związanych z siecią i bezpieczeństwem. Jest | |
69 | używana przez: | |
70 | - Libchipcard (http://www.libchipcard.de/), | |
71 | - OpenHBCI2 (http://www.openhbci.de/), | |
72 | - narzędzie do symulacji Simthetic (http://simthetic.sourceforge.net/) | |
73 | - AqBanking/AqHBCI (http://www.aquamaniac.de/aqbanking/). | |
74 | ||
75 | %package devel | |
76 | Summary: Header files for Gwenhywfar library | |
77 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Gwenhywfar | |
78 | Group: Development/Libraries | |
79 | Requires: %{name} = %{version}-%{release} | |
80 | Requires: gnutls-devel >= 2.9.8 | |
81 | Requires: libgcrypt-devel >= 1.2.0 | |
82 | ||
83 | %description devel | |
84 | Header files for Gwenhywfar library. | |
85 | ||
86 | %description devel -l pl.UTF-8 | |
87 | Pliki nagłówkowe biblioteki Gwenhywfar. | |
88 | ||
89 | %package static | |
90 | Summary: Static Gwenhywfar library | |
91 | Summary(pl.UTF-8): Statyczna biblioteka Gwenhywfar | |
92 | Group: Development/Libraries | |
93 | Requires: %{name}-devel = %{version}-%{release} | |
94 | ||
95 | %description static | |
96 | Static Gwenhywfar library. | |
97 | ||
98 | %description static -l pl.UTF-8 | |
99 | Statyczna biblioteka Gwenhywfar. | |
100 | ||
101 | %package gui-cpp | |
102 | Summary: C++ wrapper classes for Gwenhywfar GUI functions | |
103 | Summary(pl.UTF-8): Klasy C++ obudowujące funkcje GUI biblioteki Gwenhywfar | |
104 | Group: Libraries | |
105 | Requires: %{name} = %{version}-%{release} | |
106 | ||
107 | %description gui-cpp | |
108 | C++ wrapper classes for Gwenhywfar GUI functions. | |
109 | ||
110 | %description gui-cpp -l pl.UTF-8 | |
111 | Klasy C++ obudowujące funkcje GUI biblioteki Gwenhywfar. | |
112 | ||
113 | %package gui-cpp-devel | |
114 | Summary: Header files for Gwenhywfar GUI C++ library | |
115 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Gwenhywfar GUI C++ | |
116 | Group: Development/Libraries | |
117 | Requires: %{name}-devel = %{version}-%{release} | |
118 | Requires: %{name}-gui-cpp = %{version}-%{release} | |
119 | Requires: libstdc++-devel | |
120 | ||
121 | %description gui-cpp-devel | |
122 | Header files for Gwenhywfar GUI C++ library. | |
123 | ||
124 | %description gui-cpp-devel -l pl.UTF-8 | |
125 | Pliki nagłówkowe biblioteki Gwenhywfar GUI C++. | |
126 | ||
127 | %package gui-cpp-static | |
128 | Summary: Static Gwenhywfar GUI C++ library | |
129 | Summary(pl.UTF-8): Statyczna biblioteka Gwenhywfar GUI C++ | |
130 | Group: Development/Libraries | |
131 | Requires: %{name}-gui-cpp-devel = %{version}-%{release} | |
132 | ||
133 | %description gui-cpp-static | |
134 | Static Gwenhywfar GUI C++ library. | |
135 | ||
136 | %description gui-cpp-static -l pl.UTF-8 | |
137 | Statyczna biblioteka Gwenhywfar GUI C++. | |
138 | ||
139 | # TODO: rename to gui-fox[16] when something changes | |
140 | %package fox | |
141 | Summary: FOX 1.6 Gwenhywfar GUI library implementation of the GWEN_DIALOG framework | |
142 | Summary(pl.UTF-8): Biblioteka graficznego interfejsu FOX 1.6 do Gwenhywfar | |
143 | Group: X11/Libraries | |
144 | Requires: %{name}-gui-cpp = %{version}-%{release} | |
145 | ||
146 | %description fox | |
147 | FOX 1.6 Gwenhywfar GUI library, containing FOX implementation of the | |
148 | GWEN_DIALOG framework. | |
149 | ||
150 | %description fox | |
151 | Biblioteka graficznego interfejsu FOX 1.6 do Gwenhywfar, zawierająca | |
152 | implementację FOX szkieletu GWEN_DIALOG. | |
153 | ||
154 | %package fox-devel | |
155 | Summary: Header files for FOX 1.6 Gwenhywfar GUI library | |
156 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki graficznego interfejsu FOX 1.6 do Gwenhywfar | |
157 | Group: X11/Development/Libraries | |
158 | Requires: %{name}-fox = %{version}-%{release} | |
159 | Requires: %{name}-gui-cpp-devel = %{version}-%{release} | |
160 | Requires: fox16-devel >= 1.6 | |
161 | ||
162 | %description fox-devel | |
163 | Header files for FOX 1.6 Gwenhywfar GUI library | |
164 | ||
165 | %description fox-devel -l pl.UTF-8 | |
166 | Pliki nagłówkowe biblioteki graficznego interfejsu FOX 1.6 do | |
167 | Gwenhywfar. | |
168 | ||
169 | %package fox-static | |
170 | Summary: Static FOX 1.6 Gwenhywfar GUI library | |
171 | Summary(pl.UTF-8): Statyczna biblioteka graficznego interfejsu FOX 1.6 do Gwenhywfar | |
172 | Group: X11/Development/Libraries | |
173 | Requires: %{name}-fox-devel = %{version}-%{release} | |
174 | ||
175 | %description fox-static | |
176 | Static FOX 1.6 Gwenhywfar GUI library. | |
177 | ||
178 | %description fox-static -l pl.UTF-8 | |
179 | Statyczna biblioteka graficznego interfejsu FOX 1.6 do Gwenhywfar. | |
180 | ||
181 | %package gtk | |
182 | Summary: GTK+ 2 Gwenhywfar GUI library implementation of the GWEN_DIALOG framework | |
183 | Summary(pl.UTF-8): Biblioteka graficznego interfejsu GTK+ 2 do Gwenhywfar | |
184 | Group: X11/Libraries | |
185 | Requires: %{name} = %{version}-%{release} | |
186 | Requires: gtk+2 >= 2:2.17.5 | |
187 | ||
188 | %description gtk | |
189 | GTK+ 2 Gwenhywfar GUI library, containing GTK+ 2 implementation of the | |
190 | GWEN_DIALOG framework. | |
191 | ||
192 | %description gtk | |
193 | Biblioteka graficznego interfejsu GTK+ 2 do Gwenhywfar, zawierająca | |
194 | implementację GTK+ 2 szkieletu GWEN_DIALOG. | |
195 | ||
196 | # TODO: rename to -gui-gtk2 when something changes (e.g. when introducing gtk3 library) | |
197 | %package gtk-devel | |
198 | Summary: Header files for GTK+ 2 Gwenhywfar GUI library | |
199 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki graficznego interfejsu GTK+ 2 do Gwenhywfar | |
200 | Group: X11/Development/Libraries | |
201 | Requires: %{name}-devel = %{version}-%{release} | |
202 | Requires: %{name}-gtk = %{version}-%{release} | |
203 | Requires: gtk+2-devel >= 2:2.17.5 | |
204 | ||
205 | %description gtk-devel | |
206 | Header files for GTK+ 2 Gwenhywfar GUI library | |
207 | ||
208 | %description gtk-devel -l pl.UTF-8 | |
209 | Pliki nagłówkowe biblioteki graficznego interfejsu GTK+ 2 do | |
210 | Gwenhywfar. | |
211 | ||
212 | %package gtk-static | |
213 | Summary: Static GTK+ 2 Gwenhywfar GUI library | |
214 | Summary(pl.UTF-8): Statyczna biblioteka graficznego interfejsu GTK+ 2 do Gwenhywfar | |
215 | Group: X11/Development/Libraries | |
216 | Requires: %{name}-gtk-devel = %{version}-%{release} | |
217 | ||
218 | %description gtk-static | |
219 | Static GTK+ 2 Gwenhywfar GUI library. | |
220 | ||
221 | %description gtk-static -l pl.UTF-8 | |
222 | Statyczna biblioteka graficznego interfejsu GTK+ 2 do Gwenhywfar. | |
223 | ||
224 | %package gui-qt4 | |
225 | Summary: Qt 4 Gwenhywfar GUI library implementation of the GWEN_DIALOG framework | |
226 | Summary(pl.UTF-8): Biblioteka graficznego interfejsu Qt 4 do Gwenhywfar | |
227 | Group: X11/Libraries | |
228 | Requires: %{name}-gui-cpp = %{version}-%{release} | |
229 | Obsoletes: gwenhywfar-qt < 4.15 | |
230 | ||
231 | %description gui-qt4 | |
232 | Qt 4 Gwenhywfar GUI library, containing Qt 4 implementation of the | |
233 | GWEN_DIALOG framework. | |
234 | ||
235 | %description gui-qt4 | |
236 | Biblioteka graficznego interfejsu Qt 4 do Gwenhywfar, zawierająca | |
237 | implementację Qt 4 szkieletu GWEN_DIALOG. | |
238 | ||
239 | %package gui-qt4-devel | |
240 | Summary: Header files for Qt 4 Gwenhywfar GUI library | |
241 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki graficznego interfejsu Qt 4 do Gwenhywfar | |
242 | Group: X11/Development/Libraries | |
243 | Requires: %{name}-gui-cpp-devel = %{version}-%{release} | |
244 | Requires: %{name}-gui-qt4 = %{version}-%{release} | |
245 | Requires: QtCore-devel >= 4 | |
246 | Requires: QtGui-devel >= 4 | |
247 | Obsoletes: gwenhywfar-qt-devel < 4.15 | |
248 | ||
249 | %description gui-qt4-devel | |
250 | Header files for Qt 4 Gwenhywfar GUI library | |
251 | ||
252 | %description gui-qt4-devel -l pl.UTF-8 | |
253 | Pliki nagłówkowe biblioteki graficznego interfejsu Qt 4 do Gwenhywfar. | |
254 | ||
255 | %package gui-qt4-static | |
256 | Summary: Static Qt 4 Gwenhywfar GUI library | |
257 | Summary(pl.UTF-8): Statyczna biblioteka graficznego interfejsu Qt 4 do Gwenhywfar | |
258 | Group: X11/Development/Libraries | |
259 | Requires: %{name}-gui-qt4-devel = %{version}-%{release} | |
260 | Obsoletes: gwenhywfar-qt-static < 4.15 | |
261 | ||
262 | %description gui-qt4-static | |
263 | Static Qt 4 Gwenhywfar GUI library. | |
264 | ||
265 | %description gui-qt4-static -l pl.UTF-8 | |
266 | Statyczna biblioteka graficznego interfejsu Qt 4 do Gwenhywfar. | |
267 | ||
268 | %package gui-qt5 | |
269 | Summary: Qt 5 Gwenhywfar GUI library implementation of the GWEN_DIALOG framework | |
270 | Summary(pl.UTF-8): Biblioteka graficznego interfejsu Qt 5 do Gwenhywfar | |
271 | Group: X11/Libraries | |
272 | Requires: %{name}-gui-cpp = %{version}-%{release} | |
273 | ||
274 | %description gui-qt5 | |
275 | Qt 5 Gwenhywfar GUI library, containing Qt 5 implementation of the | |
276 | GWEN_DIALOG framework. | |
277 | ||
278 | %description gui-qt5 | |
279 | Biblioteka graficznego interfejsu Qt 5 do Gwenhywfar, zawierająca | |
280 | implementację Qt 5 szkieletu GWEN_DIALOG. | |
281 | ||
282 | %package gui-qt5-devel | |
283 | Summary: Header files for Qt 5 Gwenhywfar GUI library | |
284 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki graficznego interfejsu Qt 5 do Gwenhywfar | |
285 | Group: X11/Development/Libraries | |
286 | Requires: %{name}-gui-cpp-devel = %{version}-%{release} | |
287 | Requires: %{name}-gui-qt5 = %{version}-%{release} | |
288 | Requires: Qt5Core-devel >= 5 | |
289 | Requires: Qt5Gui-devel >= 5 | |
290 | Requires: Qt5Widgets-devel >= 5 | |
291 | ||
292 | %description gui-qt5-devel | |
293 | Header files for Qt 5 Gwenhywfar GUI library | |
294 | ||
295 | %description gui-qt5-devel -l pl.UTF-8 | |
296 | Pliki nagłówkowe biblioteki graficznego interfejsu Qt 5 do Gwenhywfar. | |
297 | ||
298 | %package gui-qt5-static | |
299 | Summary: Static Qt 5 Gwenhywfar GUI library | |
300 | Summary(pl.UTF-8): Statyczna biblioteka graficznego interfejsu Qt 5 do Gwenhywfar | |
301 | Group: X11/Development/Libraries | |
302 | Requires: %{name}-gui-qt5-devel = %{version}-%{release} | |
303 | ||
304 | %description gui-qt5-static | |
305 | Static Qt 5 Gwenhywfar GUI library. | |
306 | ||
307 | %description gui-qt5-static -l pl.UTF-8 | |
308 | Statyczna biblioteka graficznego interfejsu Qt 5 do Gwenhywfar. | |
309 | ||
310 | %prep | |
311 | %setup -q | |
312 | %patch0 -p1 | |
313 | %patch1 -p1 | |
314 | ||
315 | %build | |
316 | # gettextize not used (custom support instead of AM_GNU_GETTEXT) | |
317 | touch config.rpath | |
318 | %{__libtoolize} | |
319 | %{__aclocal} -I m4 | |
320 | %{__autoconf} | |
321 | %{__autoheader} | |
322 | %{__automake} | |
323 | %configure \ | |
324 | --disable-network-checks \ | |
325 | %{?with_static_libs:--enable-static} \ | |
326 | --with-guis="%{?with_fox:fox16 }gtk2%{?with_qt4: qt4}%{?with_qt5: qt5}" \ | |
327 | --with-openssl-libs=%{_libdir} \ | |
328 | --with-qt4-libs=%{_libdir} \ | |
329 | --with-qt5-moc=%{_bindir}/moc-qt5 \ | |
330 | --with-qt5-qmake=%{_bindir}/qmake-qt5 \ | |
331 | --with-qt5-uic=%{_bindir}/uic-qt5 | |
332 | ||
333 | %{__make} | |
334 | ||
335 | %install | |
336 | rm -rf $RPM_BUILD_ROOT | |
337 | ||
338 | %{__make} install \ | |
339 | DESTDIR=$RPM_BUILD_ROOT | |
340 | ||
341 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la \ | |
342 | $RPM_BUILD_ROOT%{_libdir}/gwenhywfar/plugins/*/*/*.la | |
343 | %if %{with static_libs} | |
344 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/gwenhywfar/plugins/*/*/*.a | |
345 | %endif | |
346 | ||
347 | %find_lang %{name} | |
348 | ||
349 | %clean | |
350 | rm -rf $RPM_BUILD_ROOT | |
351 | ||
352 | %post -p /sbin/ldconfig | |
353 | %postun -p /sbin/ldconfig | |
354 | ||
355 | %post gui-cpp -p /sbin/ldconfig | |
356 | %postun gui-cpp -p /sbin/ldconfig | |
357 | ||
358 | %post fox -p /sbin/ldconfig | |
359 | %postun fox -p /sbin/ldconfig | |
360 | ||
361 | %post gtk -p /sbin/ldconfig | |
362 | %postun gtk -p /sbin/ldconfig | |
363 | ||
364 | %post gui-qt4 -p /sbin/ldconfig | |
365 | %postun gui-qt4 -p /sbin/ldconfig | |
366 | ||
367 | %post gui-qt5 -p /sbin/ldconfig | |
368 | %postun gui-qt5 -p /sbin/ldconfig | |
369 | ||
370 | %files -f %{name}.lang | |
371 | %defattr(644,root,root,755) | |
372 | %doc AUTHORS ChangeLog NEWS README TODO | |
373 | %attr(755,root,root) %{_bindir}/gct-tool | |
374 | %attr(755,root,root) %{_bindir}/gsa | |
375 | %attr(755,root,root) %{_bindir}/mklistdoc | |
376 | %attr(755,root,root) %{_bindir}/typemaker | |
377 | %attr(755,root,root) %{_bindir}/typemaker2 | |
378 | %attr(755,root,root) %{_bindir}/xmlmerge | |
379 | %attr(755,root,root) %{_libdir}/libgwenhywfar.so.*.*.* | |
380 | %attr(755,root,root) %ghost %{_libdir}/libgwenhywfar.so.60 | |
381 | %dir %{_libdir}/gwenhywfar | |
382 | %dir %{_libdir}/gwenhywfar/plugins | |
383 | %dir %{_libdir}/gwenhywfar/plugins/* | |
384 | %dir %{_libdir}/gwenhywfar/plugins/*/ct | |
385 | %attr(755,root,root) %{_libdir}/gwenhywfar/plugins/*/ct/*.so* | |
386 | %{_libdir}/gwenhywfar/plugins/*/ct/*.xml | |
387 | %dir %{_libdir}/gwenhywfar/plugins/*/dbio | |
388 | %attr(755,root,root) %{_libdir}/gwenhywfar/plugins/*/dbio/*.so* | |
389 | %{_libdir}/gwenhywfar/plugins/*/dbio/*.xml | |
390 | %dir %{_libdir}/gwenhywfar/plugins/*/configmgr | |
391 | %attr(755,root,root) %{_libdir}/gwenhywfar/plugins/*/configmgr/*.so | |
392 | %{_libdir}/gwenhywfar/plugins/*/configmgr/*.xml | |
393 | # just ca-bundle.crt | |
394 | %{_datadir}/gwenhywfar | |
395 | ||
396 | %files devel | |
397 | %defattr(644,root,root,755) | |
398 | %attr(755,root,root) %{_bindir}/gwenhywfar-config | |
399 | %attr(755,root,root) %{_libdir}/libgwenhywfar.so | |
400 | %dir %{_includedir}/gwenhywfar4 | |
401 | %{_includedir}/gwenhywfar4/gwenhywfar | |
402 | %{_aclocaldir}/gwenhywfar.m4 | |
403 | %{_pkgconfigdir}/gwenhywfar.pc | |
404 | %{_libdir}/cmake/gwenhywfar-%{ver_cmake} | |
405 | ||
406 | %if %{with static_libs} | |
407 | %files static | |
408 | %defattr(644,root,root,755) | |
409 | %{_libdir}/libgwenhywfar.a | |
410 | %endif | |
411 | ||
412 | %files gui-cpp | |
413 | %defattr(644,root,root,755) | |
414 | %attr(755,root,root) %{_libdir}/libgwengui-cpp.so.*.*.* | |
415 | %attr(755,root,root) %ghost %{_libdir}/libgwengui-cpp.so.0 | |
416 | ||
417 | %files gui-cpp-devel | |
418 | %defattr(644,root,root,755) | |
419 | %attr(755,root,root) %{_libdir}/libgwengui-cpp.so | |
420 | %{_includedir}/gwenhywfar4/gwen-gui-cpp | |
421 | %{_libdir}/cmake/gwengui-cpp-%{ver_cmake} | |
422 | ||
423 | %if %{with static_libs} | |
424 | %files gui-cpp-static | |
425 | %defattr(644,root,root,755) | |
426 | %{_libdir}/libgwengui-cpp.a | |
427 | %endif | |
428 | ||
429 | %if %{with fox} | |
430 | %files fox | |
431 | %defattr(644,root,root,755) | |
432 | %attr(755,root,root) %{_libdir}/libgwengui-fox16.so.*.*.* | |
433 | %attr(755,root,root) %ghost %{_libdir}/libgwengui-fox16.so.0 | |
434 | ||
435 | %files fox-devel | |
436 | %defattr(644,root,root,755) | |
437 | %attr(755,root,root) %{_libdir}/libgwengui-fox16.so | |
438 | %{_includedir}/gwenhywfar4/gwen-gui-fox16 | |
439 | %{_pkgconfigdir}/gwengui-fox16.pc | |
440 | ||
441 | %if %{with static_libs} | |
442 | %files fox-static | |
443 | %defattr(644,root,root,755) | |
444 | %{_libdir}/libgwengui-fox16.a | |
445 | %endif | |
446 | %endif | |
447 | ||
448 | %files gtk | |
449 | %defattr(644,root,root,755) | |
450 | %attr(755,root,root) %{_libdir}/libgwengui-gtk2.so.*.*.* | |
451 | %attr(755,root,root) %ghost %{_libdir}/libgwengui-gtk2.so.0 | |
452 | ||
453 | %files gtk-devel | |
454 | %defattr(644,root,root,755) | |
455 | %attr(755,root,root) %{_libdir}/libgwengui-gtk2.so | |
456 | %{_includedir}/gwenhywfar4/gwen-gui-gtk2 | |
457 | %{_pkgconfigdir}/gwengui-gtk2.pc | |
458 | ||
459 | %if %{with static_libs} | |
460 | %files gtk-static | |
461 | %defattr(644,root,root,755) | |
462 | %{_libdir}/libgwengui-gtk2.a | |
463 | %endif | |
464 | ||
465 | %if %{with qt4} | |
466 | %files gui-qt4 | |
467 | %defattr(644,root,root,755) | |
468 | %attr(755,root,root) %{_libdir}/libgwengui-qt4.so.*.*.* | |
469 | %attr(755,root,root) %ghost %{_libdir}/libgwengui-qt4.so.0 | |
470 | ||
471 | %files gui-qt4-devel | |
472 | %defattr(644,root,root,755) | |
473 | %attr(755,root,root) %{_libdir}/libgwengui-qt4.so | |
474 | %{_includedir}/gwenhywfar4/gwen-gui-qt4 | |
475 | %{_pkgconfigdir}/gwengui-qt4.pc | |
476 | %{_libdir}/cmake/gwengui-qt4-%{ver_cmake} | |
477 | ||
478 | %if %{with static_libs} | |
479 | %files gui-qt4-static | |
480 | %defattr(644,root,root,755) | |
481 | %{_libdir}/libgwengui-qt4.a | |
482 | %endif | |
483 | %endif | |
484 | ||
485 | %if %{with qt5} | |
486 | %files gui-qt5 | |
487 | %defattr(644,root,root,755) | |
488 | %attr(755,root,root) %{_libdir}/libgwengui-qt5.so.*.*.* | |
489 | %attr(755,root,root) %ghost %{_libdir}/libgwengui-qt5.so.0 | |
490 | ||
491 | %files gui-qt5-devel | |
492 | %defattr(644,root,root,755) | |
493 | %attr(755,root,root) %{_libdir}/libgwengui-qt5.so | |
494 | %{_includedir}/gwenhywfar4/gwen-gui-qt5 | |
495 | %{_pkgconfigdir}/gwengui-qt5.pc | |
496 | %{_libdir}/cmake/gwengui-qt5-%{ver_cmake} | |
497 | ||
498 | %if %{with static_libs} | |
499 | %files gui-qt5-static | |
500 | %defattr(644,root,root,755) | |
501 | %{_libdir}/libgwengui-qt5.a | |
502 | %endif | |
503 | %endif |