]>
Commit | Line | Data |
---|---|---|
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: | |
4a25ca26 JB |
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 | |
af34125f | 10 | # |
4a25ca26 JB |
11 | %if %{without qt} |
12 | %undefine with_qt4 | |
13 | %undefine with_qt5 | |
14 | %endif | |
c9677431 | 15 | Summary: Gwenhywfar - a multi-platform helper library for networking and security |
c0251854 | 16 | Summary(pl.UTF-8): Gwenhywfar - wieloplatformowa biblioteka pomocnicza do sieci i bezpieczeństwa |
c9677431 | 17 | Name: gwenhywfar |
4a25ca26 | 18 | Version: 4.15.3 |
fa218e23 | 19 | Release: 2 |
c9677431 JB |
20 | License: LGPL v2.1+ with OpenSSL linking exception |
21 | Group: Libraries | |
26eacd05 JB |
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 | |
4a25ca26 | 24 | # Source0-md5: 4e96e68482a3cf1cfc00bd3645684c82 |
ddd06fd7 | 25 | Patch0: gcc.patch |
4a25ca26 JB |
26 | Patch1: %{name}-qt5.patch |
27 | URL: https://www.aquamaniac.de/sites/aqbanking/ | |
45b54d76 | 28 | BuildRequires: autoconf >= 2.60 |
a24cb890 | 29 | BuildRequires: automake |
a57bd46d | 30 | %{?with_fox:BuildRequires: fox16-devel >= 1.6} |
9f3f6391 | 31 | BuildRequires: gettext-tools |
4a25ca26 | 32 | BuildRequires: gnutls-devel >= 2.9.8 |
9db45f92 JB |
33 | BuildRequires: gtk+2-devel >= 2:2.17.5 |
34 | BuildRequires: libgcrypt-devel >= 1.2.0 | |
4a25ca26 JB |
35 | BuildRequires: libgpg-error-devel |
36 | BuildRequires: libstdc++-devel | |
37 | BuildRequires: libtool >= 2:1.5 | |
c9677431 | 38 | BuildRequires: openssl-devel |
9db45f92 | 39 | BuildRequires: pkgconfig |
4a25ca26 JB |
40 | %if %{with qt4} |
41 | BuildRequires: QtCore-devel >= 4 | |
42 | BuildRequires: QtGui-devel >= 4 | |
c3f30a6d | 43 | BuildRequires: qt4-build |
4a25ca26 JB |
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 | |
9db45f92 | 53 | Requires: libgcrypt >= 1.2.0 |
c9677431 JB |
54 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
55 | ||
4a25ca26 JB |
56 | %define ver_cmake %(echo %{version} | cut -d. -f 1-2) |
57 | ||
c9677431 JB |
58 | %description |
59 | This is Gwenhywfar, a multi-platform helper library for networking and | |
60 | security applications and libraries. It is used by: | |
45b54d76 | 61 | - Libchipcard (http://www.libchipcard.de/), |
c9677431 JB |
62 | - OpenHBCI2 (http://www.openhbci.de/), |
63 | - Simthetic, the simulation tool (http://simthetic.sourceforge.net/) | |
64 | - AqBanking/AqHBCI (http://www.aquamaniac.de/aqbanking/). | |
65 | ||
4dabdb30 | 66 | %description -l pl.UTF-8 |
c9677431 | 67 | To jest Gwenhywfar - wieloplatformowa biblioteka pomocnicza do |
4dabdb30 JR |
68 | aplikacji i bibliotek związanych z siecią i bezpieczeństwem. Jest |
69 | używana przez: | |
45b54d76 | 70 | - Libchipcard (http://www.libchipcard.de/), |
c9677431 | 71 | - OpenHBCI2 (http://www.openhbci.de/), |
4dabdb30 | 72 | - narzędzie do symulacji Simthetic (http://simthetic.sourceforge.net/) |
c9677431 JB |
73 | - AqBanking/AqHBCI (http://www.aquamaniac.de/aqbanking/). |
74 | ||
75 | %package devel | |
76 | Summary: Header files for Gwenhywfar library | |
c0251854 | 77 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Gwenhywfar |
c9677431 JB |
78 | Group: Development/Libraries |
79 | Requires: %{name} = %{version}-%{release} | |
4a25ca26 | 80 | Requires: gnutls-devel >= 2.9.8 |
9db45f92 | 81 | Requires: libgcrypt-devel >= 1.2.0 |
c9677431 JB |
82 | |
83 | %description devel | |
84 | Header files for Gwenhywfar library. | |
85 | ||
4dabdb30 JR |
86 | %description devel -l pl.UTF-8 |
87 | Pliki nagłówkowe biblioteki Gwenhywfar. | |
c9677431 JB |
88 | |
89 | %package static | |
90 | Summary: Static Gwenhywfar library | |
c0251854 | 91 | Summary(pl.UTF-8): Statyczna biblioteka Gwenhywfar |
c9677431 JB |
92 | Group: Development/Libraries |
93 | Requires: %{name}-devel = %{version}-%{release} | |
94 | ||
95 | %description static | |
96 | Static Gwenhywfar library. | |
97 | ||
4dabdb30 | 98 | %description static -l pl.UTF-8 |
c9677431 JB |
99 | Statyczna biblioteka Gwenhywfar. |
100 | ||
4a25ca26 JB |
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 | |
a57bd46d | 140 | %package fox |
4a25ca26 JB |
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 | |
a57bd46d | 143 | Group: X11/Libraries |
4a25ca26 | 144 | Requires: %{name}-gui-cpp = %{version}-%{release} |
a57bd46d JB |
145 | |
146 | %description fox | |
4a25ca26 | 147 | FOX 1.6 Gwenhywfar GUI library, containing FOX implementation of the |
a57bd46d JB |
148 | GWEN_DIALOG framework. |
149 | ||
150 | %description fox | |
4a25ca26 JB |
151 | Biblioteka graficznego interfejsu FOX 1.6 do Gwenhywfar, zawierająca |
152 | implementację FOX szkieletu GWEN_DIALOG. | |
a57bd46d JB |
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 | |
a57bd46d | 158 | Requires: %{name}-fox = %{version}-%{release} |
4a25ca26 | 159 | Requires: %{name}-gui-cpp-devel = %{version}-%{release} |
a57bd46d JB |
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 | ||
ce6dc1cb JB |
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} | |
a57bd46d | 186 | Requires: gtk+2 >= 2:2.17.5 |
ce6dc1cb JB |
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 | |
4a25ca26 | 194 | implementację GTK+ 2 szkieletu GWEN_DIALOG. |
ce6dc1cb | 195 | |
4a25ca26 | 196 | # TODO: rename to -gui-gtk2 when something changes (e.g. when introducing gtk3 library) |
ce6dc1cb JB |
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} | |
a57bd46d | 203 | Requires: gtk+2-devel >= 2:2.17.5 |
ce6dc1cb JB |
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 | ||
4a25ca26 | 224 | %package gui-qt4 |
ce6dc1cb JB |
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 | |
4a25ca26 JB |
228 | Requires: %{name}-gui-cpp = %{version}-%{release} |
229 | Obsoletes: gwenhywfar-qt < 4.15 | |
ce6dc1cb | 230 | |
4a25ca26 | 231 | %description gui-qt4 |
ce6dc1cb JB |
232 | Qt 4 Gwenhywfar GUI library, containing Qt 4 implementation of the |
233 | GWEN_DIALOG framework. | |
234 | ||
4a25ca26 | 235 | %description gui-qt4 |
ce6dc1cb | 236 | Biblioteka graficznego interfejsu Qt 4 do Gwenhywfar, zawierająca |
4a25ca26 | 237 | implementację Qt 4 szkieletu GWEN_DIALOG. |
ce6dc1cb | 238 | |
4a25ca26 | 239 | %package gui-qt4-devel |
ce6dc1cb JB |
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 | |
4a25ca26 JB |
243 | Requires: %{name}-gui-cpp-devel = %{version}-%{release} |
244 | Requires: %{name}-gui-qt4 = %{version}-%{release} | |
245 | Requires: QtCore-devel >= 4 | |
a57bd46d | 246 | Requires: QtGui-devel >= 4 |
4a25ca26 | 247 | Obsoletes: gwenhywfar-qt-devel < 4.15 |
ce6dc1cb | 248 | |
4a25ca26 | 249 | %description gui-qt4-devel |
ce6dc1cb JB |
250 | Header files for Qt 4 Gwenhywfar GUI library |
251 | ||
4a25ca26 | 252 | %description gui-qt4-devel -l pl.UTF-8 |
ce6dc1cb JB |
253 | Pliki nagłówkowe biblioteki graficznego interfejsu Qt 4 do Gwenhywfar. |
254 | ||
4a25ca26 | 255 | %package gui-qt4-static |
ce6dc1cb JB |
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 | |
4a25ca26 JB |
259 | Requires: %{name}-gui-qt4-devel = %{version}-%{release} |
260 | Obsoletes: gwenhywfar-qt-static < 4.15 | |
ce6dc1cb | 261 | |
4a25ca26 | 262 | %description gui-qt4-static |
ce6dc1cb JB |
263 | Static Qt 4 Gwenhywfar GUI library. |
264 | ||
4a25ca26 | 265 | %description gui-qt4-static -l pl.UTF-8 |
ce6dc1cb JB |
266 | Statyczna biblioteka graficznego interfejsu Qt 4 do Gwenhywfar. |
267 | ||
4a25ca26 JB |
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 | ||
c9677431 JB |
310 | %prep |
311 | %setup -q | |
bcc983e9 | 312 | %patch0 -p1 |
4a25ca26 | 313 | %patch1 -p1 |
c9677431 JB |
314 | |
315 | %build | |
45b54d76 JB |
316 | # gettextize not used (custom support instead of AM_GNU_GETTEXT) |
317 | touch config.rpath | |
a24cb890 JB |
318 | %{__libtoolize} |
319 | %{__aclocal} -I m4 | |
320 | %{__autoconf} | |
321 | %{__autoheader} | |
322 | %{__automake} | |
c9677431 | 323 | %configure \ |
4a25ca26 JB |
324 | --disable-network-checks \ |
325 | %{?with_static_libs:--enable-static} \ | |
326 | --with-guis="%{?with_fox:fox16 }gtk2%{?with_qt4: qt4}%{?with_qt5: qt5}" \ | |
ce6dc1cb | 327 | --with-openssl-libs=%{_libdir} \ |
4a25ca26 JB |
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 | |
c77e6c9f | 332 | |
c3f30a6d | 333 | %{__make} |
c9677431 JB |
334 | |
335 | %install | |
336 | rm -rf $RPM_BUILD_ROOT | |
337 | ||
338 | %{__make} install \ | |
339 | DESTDIR=$RPM_BUILD_ROOT | |
340 | ||
ee88dacb JB |
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 | |
c9677431 JB |
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 | ||
4a25ca26 JB |
355 | %post gui-cpp -p /sbin/ldconfig |
356 | %postun gui-cpp -p /sbin/ldconfig | |
357 | ||
a57bd46d JB |
358 | %post fox -p /sbin/ldconfig |
359 | %postun fox -p /sbin/ldconfig | |
360 | ||
ce6dc1cb JB |
361 | %post gtk -p /sbin/ldconfig |
362 | %postun gtk -p /sbin/ldconfig | |
363 | ||
4a25ca26 JB |
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 | |
ce6dc1cb | 369 | |
c9677431 JB |
370 | %files -f %{name}.lang |
371 | %defattr(644,root,root,755) | |
372 | %doc AUTHORS ChangeLog NEWS README TODO | |
c9677431 | 373 | %attr(755,root,root) %{_bindir}/gct-tool |
9b17a7cc | 374 | %attr(755,root,root) %{_bindir}/gsa |
c9677431 JB |
375 | %attr(755,root,root) %{_bindir}/mklistdoc |
376 | %attr(755,root,root) %{_bindir}/typemaker | |
9599e188 | 377 | %attr(755,root,root) %{_bindir}/typemaker2 |
c9677431 | 378 | %attr(755,root,root) %{_bindir}/xmlmerge |
2673ce26 | 379 | %attr(755,root,root) %{_libdir}/libgwenhywfar.so.*.*.* |
af34125f | 380 | %attr(755,root,root) %ghost %{_libdir}/libgwenhywfar.so.60 |
c9677431 JB |
381 | %dir %{_libdir}/gwenhywfar |
382 | %dir %{_libdir}/gwenhywfar/plugins | |
383 | %dir %{_libdir}/gwenhywfar/plugins/* | |
45b54d76 JB |
384 | %dir %{_libdir}/gwenhywfar/plugins/*/ct |
385 | %attr(755,root,root) %{_libdir}/gwenhywfar/plugins/*/ct/*.so* | |
386 | %{_libdir}/gwenhywfar/plugins/*/ct/*.xml | |
c9677431 JB |
387 | %dir %{_libdir}/gwenhywfar/plugins/*/dbio |
388 | %attr(755,root,root) %{_libdir}/gwenhywfar/plugins/*/dbio/*.so* | |
389 | %{_libdir}/gwenhywfar/plugins/*/dbio/*.xml | |
104ef448 AF |
390 | %dir %{_libdir}/gwenhywfar/plugins/*/configmgr |
391 | %attr(755,root,root) %{_libdir}/gwenhywfar/plugins/*/configmgr/*.so | |
392 | %{_libdir}/gwenhywfar/plugins/*/configmgr/*.xml | |
45b54d76 JB |
393 | # just ca-bundle.crt |
394 | %{_datadir}/gwenhywfar | |
c9677431 JB |
395 | |
396 | %files devel | |
397 | %defattr(644,root,root,755) | |
398 | %attr(755,root,root) %{_bindir}/gwenhywfar-config | |
2673ce26 | 399 | %attr(755,root,root) %{_libdir}/libgwenhywfar.so |
ce6dc1cb | 400 | %dir %{_includedir}/gwenhywfar4 |
ce6dc1cb | 401 | %{_includedir}/gwenhywfar4/gwenhywfar |
c9677431 JB |
402 | %{_aclocaldir}/gwenhywfar.m4 |
403 | %{_pkgconfigdir}/gwenhywfar.pc | |
4a25ca26 | 404 | %{_libdir}/cmake/gwenhywfar-%{ver_cmake} |
c9677431 | 405 | |
4a25ca26 | 406 | %if %{with static_libs} |
c9677431 JB |
407 | %files static |
408 | %defattr(644,root,root,755) | |
ce6dc1cb | 409 | %{_libdir}/libgwenhywfar.a |
4a25ca26 JB |
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 | |
ce6dc1cb | 428 | |
a57bd46d JB |
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 | ||
4a25ca26 | 441 | %if %{with static_libs} |
a57bd46d JB |
442 | %files fox-static |
443 | %defattr(644,root,root,755) | |
444 | %{_libdir}/libgwengui-fox16.a | |
445 | %endif | |
4a25ca26 | 446 | %endif |
a57bd46d | 447 | |
ce6dc1cb JB |
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 | ||
4a25ca26 | 459 | %if %{with static_libs} |
ce6dc1cb JB |
460 | %files gtk-static |
461 | %defattr(644,root,root,755) | |
8fc6b9b9 | 462 | %{_libdir}/libgwengui-gtk2.a |
4a25ca26 | 463 | %endif |
ce6dc1cb | 464 | |
4a25ca26 JB |
465 | %if %{with qt4} |
466 | %files gui-qt4 | |
ce6dc1cb JB |
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 | ||
4a25ca26 | 471 | %files gui-qt4-devel |
ce6dc1cb JB |
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 | |
4a25ca26 | 476 | %{_libdir}/cmake/gwengui-qt4-%{ver_cmake} |
ce6dc1cb | 477 | |
4a25ca26 JB |
478 | %if %{with static_libs} |
479 | %files gui-qt4-static | |
ce6dc1cb | 480 | %defattr(644,root,root,755) |
8fc6b9b9 | 481 | %{_libdir}/libgwengui-qt4.a |
4a25ca26 JB |
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 |