]>
Commit | Line | Data |
---|---|---|
547ca217 JB |
1 | # |
2 | # Conditional build: | |
63178e7f | 3 | %bcond_without dane # libdane (DANE with DNSSEC certificate verification) |
49d0f281 | 4 | %bcond_without openssl # libgnutls-openssl compatibility library |
63178e7f JB |
5 | %bcond_without tpm # TPM support in gnutls |
6 | %bcond_without static_libs # static libraries | |
12f86e92 | 7 | %bcond_without doc # do not generate documentation |
0255a2d6 | 8 | %bcond_without guile # Guile binding |
547ca217 | 9 | # |
6d7519d8 | 10 | Summary: The GNU Transport Layer Security Library |
7b093bb5 | 11 | Summary(pl.UTF-8): Biblioteka GNU TLS (Transport Layer Security) |
6d7519d8 | 12 | Name: gnutls |
f3c5ee44 | 13 | Version: 3.6.13 |
1ebbe7be | 14 | Release: 2 |
4df2ddc1 | 15 | License: LGPL v2.1+ (libgnutls), LGPL v3+ (libdane), GPL v3+ (openssl library and tools) |
6d7519d8 | 16 | Group: Libraries |
9c907b17 | 17 | Source0: ftp://ftp.gnutls.org/gcrypt/gnutls/v3.6/%{name}-%{version}.tar.xz |
f3c5ee44 | 18 | # Source0-md5: bb1fe696a11543433785b4fc70ca225f |
bf6baa77 | 19 | Patch0: %{name}-info.patch |
4d87caea | 20 | Patch1: %{name}-link.patch |
d477527f | 21 | Patch2: %{name}-pl.po-update.patch |
4adb064a | 22 | URL: http://www.gnutls.org/ |
d477527f | 23 | BuildRequires: autoconf >= 2.63 |
b78bd8bf JB |
24 | BuildRequires: autogen >= 5.16 |
25 | BuildRequires: autogen-devel >= 5.16 | |
59d25b4c | 26 | BuildRequires: automake >= 1:1.12.2 |
d477527f | 27 | BuildRequires: gcc >= 5:3.2 |
b0199314 | 28 | BuildRequires: gettext-tools >= 0.19 |
63178e7f | 29 | BuildRequires: gmp-devel |
800f463c | 30 | %{?with_doc:BuildRequires: gtk-doc >= 1.14} |
a0012bde | 31 | %{?with_guile:BuildRequires: guile-devel >= 5:2.2.0} |
3504caa7 | 32 | BuildRequires: libidn2-devel |
71cef829 | 33 | BuildRequires: libstdc++-devel |
a6d06b1c | 34 | BuildRequires: libtasn1-devel >= 4.11 |
0381cb26 | 35 | BuildRequires: libunistring-devel |
0d6c279f | 36 | BuildRequires: libtool >= 2:2 |
0381cb26 | 37 | BuildRequires: nettle-devel >= 3.3 |
17285f2a JB |
38 | # miniopencdk is included in sources and currently maintained |
39 | # as part of gnutls, not external package | |
40 | #BuildRequires: opencdk-devel >= 0.6.6 | |
f72ee18c | 41 | BuildRequires: p11-kit-devel >= 0.23.1 |
6c4df057 | 42 | BuildRequires: pkgconfig |
e5ea410a | 43 | BuildRequires: readline-devel |
24cf4cad | 44 | BuildRequires: rpmbuild(macros) >= 1.383 |
cf0a9984 | 45 | BuildRequires: sed >= 4.0 |
547ca217 | 46 | BuildRequires: tar >= 1:1.22 |
12f86e92 | 47 | %{?with_doc:BuildRequires: texinfo >= 4.8} |
06e5a035 | 48 | %{?with_tpm:BuildRequires: trousers-devel >= 0.3.11} |
83ed044d | 49 | %{?with_dane:BuildRequires: unbound-devel} |
e44a8860 | 50 | BuildRequires: xz |
5a115208 | 51 | BuildRequires: zlib-devel |
dd155803 JB |
52 | Requires: %{name}-libs = %{version}-%{release} |
53 | %{?with_dane:Requires: %{name}-dane = %{version}-%{release}} | |
6d7519d8 AM |
54 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
55 | ||
df3400fb AM |
56 | %define _noautostrip .*\.go |
57 | ||
6d7519d8 AM |
58 | %description |
59 | GnuTLS is a project that aims to develop a library which provides a | |
60 | secure layer, over a reliable transport layer (ie. TCP/IP). Currently | |
61 | the gnuTLS library implements the proposed standards by the IETF's TLS | |
62 | working group. | |
63 | ||
fc7e37b3 JR |
64 | %description -l pl.UTF-8 |
65 | GnuTLS to projekt mający na celu stworzenie biblioteki udostępniającej | |
66 | powłokę bezpieczeństwa ponad powłoką transportową (np. TCP/IP). | |
6d7519d8 | 67 | Aktualnie biblioteka gnuTLS implementuje standardy proponowane przez |
fc7e37b3 | 68 | grupę roboczą IETF TLS. |
6d7519d8 | 69 | |
dd155803 JB |
70 | %package libs |
71 | Summary: GnuTLS shared libraries | |
72 | Summary(pl.UTF-8): Biblioteki współdzielone GnuTLS | |
73 | Group: Libraries | |
a6d06b1c | 74 | Requires: libtasn1 >= 4.11 |
0381cb26 | 75 | Requires: nettle >= 3.3 |
dd155803 | 76 | #Requires: opencdk >= 0.6.6 |
f72ee18c | 77 | Requires: p11-kit >= 0.23.1 |
8644fcf2 | 78 | %{?with_tpm:Requires: trousers-libs >= 0.3.11} |
dd155803 JB |
79 | Conflicts: gnutls < 3.2.0 |
80 | ||
81 | %description libs | |
82 | GnuTLS shared libraries. | |
83 | ||
84 | %description libs -l pl.UTF-8 | |
85 | Biblioteki współdzielone GnuTLS. | |
86 | ||
6d7519d8 AM |
87 | %package devel |
88 | Summary: Header files etc to develop gnutls applications | |
7b093bb5 | 89 | Summary(pl.UTF-8): Pliki nagłówkowe i inne do gnutls |
fdd1e702 | 90 | License: LGPL v2.1+ (libgnutls), GPL v3+ (openssl library) |
6d7519d8 | 91 | Group: Development/Libraries |
dd155803 | 92 | Requires: %{name}-libs = %{version}-%{release} |
3504caa7 | 93 | Requires: libidn2-devel |
a6d06b1c | 94 | Requires: libtasn1-devel >= 4.11 |
0381cb26 JB |
95 | Requires: libunistring-devel |
96 | Requires: nettle-devel >= 3.3 | |
17285f2a | 97 | #Requires: opencdk-devel >= 0.6.6 |
f72ee18c | 98 | Requires: p11-kit-devel >= 0.23.1 |
06e5a035 | 99 | %{?with_tpm:Requires: trousers-devel >= 0.3.11} |
74be7fb4 | 100 | Requires: zlib-devel |
6d7519d8 AM |
101 | |
102 | %description devel | |
103 | Header files etc to develop gnutls applications. | |
104 | ||
fc7e37b3 JR |
105 | %description devel -l pl.UTF-8 |
106 | Pliki nagłówkowe i inne do gnutls. | |
6d7519d8 AM |
107 | |
108 | %package static | |
109 | Summary: Static gnutls library | |
7b093bb5 | 110 | Summary(pl.UTF-8): Biblioteka statyczna gnutls |
fdd1e702 | 111 | License: LGPL v2.1+ (libgnutls), GPL v3+ (openssl library) |
6d7519d8 | 112 | Group: Development/Libraries |
72115ddc | 113 | Requires: %{name}-devel = %{version}-%{release} |
6d7519d8 AM |
114 | |
115 | %description static | |
116 | Static gnutls library. | |
117 | ||
fc7e37b3 | 118 | %description static -l pl.UTF-8 |
6d7519d8 AM |
119 | Biblioteka statyczna gnutls. |
120 | ||
71cef829 JB |
121 | %package c++ |
122 | Summary: libgnutlsxx - C++ interface to gnutls library | |
7b093bb5 | 123 | Summary(pl.UTF-8): libgnutlsxx - interfejs C++ do biblioteki gnutls |
24cf4cad | 124 | License: LGPL v2.1+ |
71cef829 | 125 | Group: Libraries |
dd155803 | 126 | Requires: %{name}-libs = %{version}-%{release} |
71cef829 JB |
127 | |
128 | %description c++ | |
129 | libgnutlsxx - C++ interface to gnutls library. | |
130 | ||
fc7e37b3 | 131 | %description c++ -l pl.UTF-8 |
71cef829 JB |
132 | libgnutlsxx - interfejs C++ do biblioteki gnutls. |
133 | ||
134 | %package c++-devel | |
135 | Summary: Header files for libgnutlsxx, a C++ interface to gnutls library | |
7b093bb5 | 136 | Summary(pl.UTF-8): Pliki nagłówkowe libgnutlsxx - interfejsu C++ do biblioteki gnutls |
24cf4cad | 137 | License: LGPL v2.1+ |
71cef829 JB |
138 | Group: Development/Libraries |
139 | Requires: %{name}-c++ = %{version}-%{release} | |
140 | Requires: %{name}-devel = %{version}-%{release} | |
141 | Requires: libstdc++-devel | |
142 | ||
143 | %description c++-devel | |
144 | Header files for libgnutlsxx, a C++ interface to gnutls library. | |
145 | ||
fc7e37b3 JR |
146 | %description c++-devel -l pl.UTF-8 |
147 | Pliki nagłówkowe libgnutlsxx - interfejsu C++ do biblioteki gnutls. | |
71cef829 JB |
148 | |
149 | %package c++-static | |
150 | Summary: Static version of libgnutlsxx, a C++ interface to gnutls library | |
7b093bb5 | 151 | Summary(pl.UTF-8): Statyczna wersja libgnutlsxx - interfejsu C++ do biblioteki gnutls |
24cf4cad | 152 | License: LGPL v2.1+ |
71cef829 JB |
153 | Group: Development/Libraries |
154 | Requires: %{name}-c++-devel = %{version}-%{release} | |
155 | ||
156 | %description c++-static | |
157 | Static version of libgnutlsxx, a C++ interface to gnutls library. | |
158 | ||
fc7e37b3 | 159 | %description c++-static -l pl.UTF-8 |
71cef829 JB |
160 | Statyczna wersja libgnutlsxx - interfejsu C++ do biblioteki gnutls. |
161 | ||
aeb71b0b JB |
162 | %package dane |
163 | Summary: DANE security library | |
164 | Summary(pl.UTF-8): Biblioteka bezpieczeństwa DANE | |
165 | Group: Libraries | |
dd155803 | 166 | Requires: %{name}-libs = %{version}-%{release} |
aeb71b0b JB |
167 | |
168 | %description dane | |
169 | DANE security library. | |
170 | ||
171 | %description dane -l pl.UTF-8 | |
172 | Biblioteka bezpieczeństwa DANE. | |
173 | ||
174 | %package dane-devel | |
175 | Summary: Header file for DANE security library | |
176 | Summary(pl.UTF-8): Plik nagłówkowy biblioteki bezpieczeństwa DANE | |
177 | Group: Development/Libraries | |
178 | Requires: %{name}-dane = %{version}-%{release} | |
179 | Requires: %{name}-devel = %{version}-%{release} | |
180 | Requires: unbound-devel | |
181 | ||
182 | %description dane-devel | |
183 | Header file for DANE security library. | |
184 | ||
185 | %description dane-devel -l pl.UTF-8 | |
186 | Plik nagłówkowy biblioteki bezpieczeństwa DANE. | |
187 | ||
188 | %package dane-static | |
189 | Summary: Static DANE security library | |
190 | Summary(pl.UTF-8): Statyczna biblioteka bezpieczeństwa DANE | |
191 | Group: Development/Libraries | |
192 | Requires: %{name}-dane-devel = %{version}-%{release} | |
193 | ||
194 | %description dane-static | |
195 | Static DANE security library. | |
196 | ||
197 | %description dane-static -l pl.UTF-8 | |
198 | Statyczna biblioteka bezpieczeństwa DANE. | |
199 | ||
49d0f281 JB |
200 | %package openssl |
201 | Summary: OpenSSL compatibility library for GnuTLS | |
202 | Summary(pl.UTF-8): Biblioteka zgodności z OpenSSL dla GnuTLS | |
203 | Group: Libraries | |
204 | Requires: %{name}-libs = %{version}-%{release} | |
205 | ||
206 | %description openssl | |
207 | OpenSSL compatibility library for GnuTLS. | |
208 | ||
209 | %description openssl -l pl.UTF-8 | |
210 | Biblioteka zgodności z OpenSSL dla GnuTLS. | |
211 | ||
212 | %package openssl-devel | |
213 | Summary: Header file for gnutls-openssl library | |
214 | Summary(pl.UTF-8): Plik nagłówkowy biblioteki gnutls-openssl | |
215 | Group: Development/Libraries | |
216 | Requires: %{name}-devel = %{version}-%{release} | |
217 | Requires: %{name}-openssl = %{version}-%{release} | |
218 | ||
219 | %description openssl-devel | |
220 | Header file for gnutls-openssl library. | |
221 | ||
222 | %description openssl-devel -l pl.UTF-8 | |
223 | Plik nagłówkowy biblioteki gnutls-openssl. | |
224 | ||
225 | %package openssl-static | |
226 | Summary: Static gnutls-openssl library | |
227 | Summary(pl.UTF-8): Statyczna biblioteka gnutls-openssl | |
228 | Group: Development/Libraries | |
229 | Requires: %{name}-openssl-devel = %{version}-%{release} | |
230 | ||
231 | %description openssl-static | |
232 | Static gnutls-openssl library. | |
233 | ||
234 | %description openssl-static -l pl.UTF-8 | |
235 | Statyczna biblioteka gnutls-openssl. | |
236 | ||
3c916209 JB |
237 | %package -n guile-gnutls |
238 | Summary: Guile bindings for GnuTLS | |
239 | Summary(pl.UTF-8): Wiązania Guile do GnuTLS | |
fdd1e702 | 240 | License: LGPL v2.1+ |
3c916209 | 241 | Group: Development/Languages |
dd155803 | 242 | Requires: %{name}-libs = %{version}-%{release} |
a0012bde | 243 | Requires: guile >= 5:2.2.0 |
3c916209 JB |
244 | |
245 | %description -n guile-gnutls | |
246 | Guile bindings for GnuTLS. | |
247 | ||
248 | %description -n guile-gnutls -l pl.UTF-8 | |
249 | Wiązania Guile do GnuTLS. | |
250 | ||
6d7519d8 | 251 | %prep |
0e82351f | 252 | %setup -q |
67b46ca6 | 253 | %patch0 -p1 |
4d87caea | 254 | %patch1 -p1 |
d477527f | 255 | %patch2 -p1 |
547ca217 JB |
256 | |
257 | %{__rm} po/stamp-po | |
6d7519d8 AM |
258 | |
259 | %build | |
5a115208 | 260 | %{__libtoolize} |
800f463c | 261 | %{__aclocal} -I m4 -I src/libopts/m4 -I src/gl/m4 -I lib/unistring/m4 |
d6e4f2bd JB |
262 | %{__autoconf} |
263 | %{__autoheader} | |
264 | %{__automake} | |
6d7519d8 | 265 | %configure \ |
0255a2d6 JB |
266 | %{!?with_doc:--disable-doc} \ |
267 | %{!?with_guile:--disable-guile} \ | |
9f330a0f | 268 | %{?with_openssl:--enable-openssl-compatibility} \ |
41fffb0a | 269 | --disable-silent-rules \ |
63178e7f | 270 | %{?with_static_libs:--enable-static} \ |
0089fafa | 271 | --with-default-trust-store-file=/etc/certs/ca-certificates.crt \ |
12f86e92 | 272 | %{!?with_tpm:--without-tpm} \ |
0255a2d6 | 273 | --with-trousers-lib=%{_libdir}/libtspi.so.1 |
5a115208 | 274 | |
9dc804da JB |
275 | # docs build is broken with -jN |
276 | %{__make} -j1 | |
6d7519d8 AM |
277 | |
278 | %install | |
279 | rm -rf $RPM_BUILD_ROOT | |
280 | ||
281 | %{__make} install \ | |
d711a6c0 | 282 | DESTDIR=$RPM_BUILD_ROOT |
6d7519d8 | 283 | |
fdd1e702 JB |
284 | # although libgnutls.la is obsoleted by pkg-config, there is |
285 | # .pc file missing for libgnutls-openssl, and it needs libgnutls.la | |
8e4a1eaa | 286 | |
a0012bde | 287 | %if %{with guile} |
8e4a1eaa | 288 | # guile module - dynamic only |
e746bebc | 289 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/guile/2.*/extensions/guile-gnutls-*.la |
63178e7f | 290 | %if %{with static_libs} |
e746bebc | 291 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/guile/2.*/extensions/guile-gnutls-*.a |
63178e7f | 292 | %endif |
a0012bde | 293 | %endif |
8e4a1eaa | 294 | |
3504caa7 | 295 | # images for (not installed) htmlized infos - already packaged with infos |
5f4f75f8 | 296 | %if %{with doc} |
3504caa7 | 297 | %{__rm} $RPM_BUILD_ROOT%{_docdir}/gnutls/*.png |
5f4f75f8 | 298 | %endif |
3504caa7 | 299 | |
63178e7f | 300 | %{__rm} -f $RPM_BUILD_ROOT%{_infodir}/dir |
3c916209 | 301 | |
547ca217 | 302 | %find_lang %{name} |
b5ab22ee | 303 | |
6d7519d8 AM |
304 | %clean |
305 | rm -rf $RPM_BUILD_ROOT | |
306 | ||
10899c2c | 307 | %post |
10899c2c JB |
308 | [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1 |
309 | ||
310 | %postun | |
10899c2c | 311 | [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1 |
0522b080 | 312 | |
dd155803 JB |
313 | %post libs -p /sbin/ldconfig |
314 | %postun libs -p /sbin/ldconfig | |
315 | ||
71cef829 JB |
316 | %post c++ -p /sbin/ldconfig |
317 | %postun c++ -p /sbin/ldconfig | |
318 | ||
49d0f281 JB |
319 | %post dane -p /sbin/ldconfig |
320 | %postun dane -p /sbin/ldconfig | |
321 | ||
322 | %post openssl -p /sbin/ldconfig | |
323 | %postun openssl -p /sbin/ldconfig | |
324 | ||
3c916209 JB |
325 | %post -n guile-gnutls -p /sbin/ldconfig |
326 | %postun -n guile-gnutls -p /sbin/ldconfig | |
327 | ||
547ca217 | 328 | %files -f %{name}.lang |
6d7519d8 | 329 | %defattr(644,root,root,755) |
b0199314 | 330 | %doc AUTHORS ChangeLog NEWS README.md THANKS |
d191db7f | 331 | %attr(755,root,root) %{_bindir}/certtool |
71cef829 | 332 | %attr(755,root,root) %{_bindir}/gnutls-* |
9dc804da | 333 | %attr(755,root,root) %{_bindir}/ocsptool |
41fffb0a | 334 | %attr(755,root,root) %{_bindir}/p11tool |
2637a2e1 | 335 | %attr(755,root,root) %{_bindir}/psktool |
62c2e78b | 336 | %attr(755,root,root) %{_bindir}/srptool |
cc933e6a | 337 | %{?with_tpm:%attr(755,root,root) %{_bindir}/tpmtool} |
12f86e92 | 338 | %if %{with doc} |
584b5346 | 339 | %{_mandir}/man1/certtool.1* |
71cef829 | 340 | %{_mandir}/man1/gnutls-*.1* |
f2e1d83e | 341 | %{_mandir}/man1/ocsptool.1* |
41fffb0a | 342 | %{_mandir}/man1/p11tool.1* |
2637a2e1 | 343 | %{_mandir}/man1/psktool.1* |
62c2e78b | 344 | %{_mandir}/man1/srptool.1* |
0089fafa | 345 | %{_mandir}/man1/tpmtool.1* |
71cef829 | 346 | %{_infodir}/gnutls.info* |
24cf4cad | 347 | %{_infodir}/gnutls-*.png |
41fffb0a | 348 | %{_infodir}/pkcs11-vision.png |
12f86e92 | 349 | %endif |
6d7519d8 | 350 | |
dd155803 JB |
351 | %files libs |
352 | %defattr(644,root,root,755) | |
353 | %attr(755,root,root) %{_libdir}/libgnutls.so.*.*.* | |
f72ee18c | 354 | %attr(755,root,root) %ghost %{_libdir}/libgnutls.so.30 |
dd155803 | 355 | |
6d7519d8 AM |
356 | %files devel |
357 | %defattr(644,root,root,755) | |
71cef829 | 358 | %attr(755,root,root) %{_libdir}/libgnutls.so |
71cef829 | 359 | %{_libdir}/libgnutls.la |
07a67478 | 360 | %{_includedir}/gnutls |
aeb71b0b | 361 | %{?with_dane:%exclude %{_includedir}/gnutls/dane.h} |
71cef829 | 362 | %exclude %{_includedir}/gnutls/gnutlsxx.h |
49d0f281 | 363 | %{?with_openssl:%exclude %{_includedir}/gnutls/openssl.h} |
71cef829 | 364 | %{_pkgconfigdir}/gnutls.pc |
12f86e92 | 365 | %{?with_doc:%{_mandir}/man3/gnutls_*.3*} |
6d7519d8 | 366 | |
63178e7f | 367 | %if %{with static_libs} |
6d7519d8 AM |
368 | %files static |
369 | %defattr(644,root,root,755) | |
71cef829 | 370 | %{_libdir}/libgnutls.a |
63178e7f | 371 | %endif |
71cef829 JB |
372 | |
373 | %files c++ | |
374 | %defattr(644,root,root,755) | |
375 | %attr(755,root,root) %{_libdir}/libgnutlsxx.so.*.*.* | |
547ca217 | 376 | %attr(755,root,root) %ghost %{_libdir}/libgnutlsxx.so.28 |
71cef829 JB |
377 | |
378 | %files c++-devel | |
379 | %defattr(644,root,root,755) | |
380 | %attr(755,root,root) %{_libdir}/libgnutlsxx.so | |
381 | %{_libdir}/libgnutlsxx.la | |
382 | %{_includedir}/gnutls/gnutlsxx.h | |
383 | ||
63178e7f | 384 | %if %{with static_libs} |
71cef829 JB |
385 | %files c++-static |
386 | %defattr(644,root,root,755) | |
387 | %{_libdir}/libgnutlsxx.a | |
63178e7f | 388 | %endif |
3c916209 | 389 | |
aeb71b0b JB |
390 | %if %{with dane} |
391 | %files dane | |
392 | %defattr(644,root,root,755) | |
393 | %attr(755,root,root) %{_bindir}/danetool | |
394 | %attr(755,root,root) %{_libdir}/libgnutls-dane.so.*.*.* | |
395 | %attr(755,root,root) %ghost %{_libdir}/libgnutls-dane.so.0 | |
12f86e92 | 396 | %{?with_doc:%{_mandir}/man1/danetool.1*} |
aeb71b0b JB |
397 | |
398 | %files dane-devel | |
399 | %defattr(644,root,root,755) | |
400 | %attr(755,root,root) %{_libdir}/libgnutls-dane.so | |
401 | %{_libdir}/libgnutls-dane.la | |
402 | %{_includedir}/gnutls/dane.h | |
403 | %{_pkgconfigdir}/gnutls-dane.pc | |
5f4f75f8 | 404 | %if %{with doc} |
fb8445d7 | 405 | %{_mandir}/man3/dane_*.3* |
5f4f75f8 | 406 | %endif |
aeb71b0b | 407 | |
63178e7f | 408 | %if %{with static_libs} |
aeb71b0b JB |
409 | %files dane-static |
410 | %defattr(644,root,root,755) | |
411 | %{_libdir}/libgnutls-dane.a | |
412 | %endif | |
63178e7f | 413 | %endif |
aeb71b0b | 414 | |
49d0f281 JB |
415 | %if %{with openssl} |
416 | %files openssl | |
417 | %defattr(644,root,root,755) | |
418 | %attr(755,root,root) %{_libdir}/libgnutls-openssl.so.*.*.* | |
419 | %attr(755,root,root) %ghost %{_libdir}/libgnutls-openssl.so.27 | |
420 | ||
421 | %files openssl-devel | |
422 | %defattr(644,root,root,755) | |
423 | %attr(755,root,root) %{_libdir}/libgnutls-openssl.so | |
424 | %{_libdir}/libgnutls-openssl.la | |
425 | %{_includedir}/gnutls/openssl.h | |
426 | ||
5f4f75f8 | 427 | %if %{with static_libs} |
49d0f281 JB |
428 | %files openssl-static |
429 | %defattr(644,root,root,755) | |
430 | %{_libdir}/libgnutls-openssl.a | |
431 | %endif | |
5f4f75f8 | 432 | %endif |
49d0f281 | 433 | |
a0012bde | 434 | %if %{with guile} |
3c916209 JB |
435 | %files -n guile-gnutls |
436 | %defattr(644,root,root,755) | |
e746bebc | 437 | %attr(755,root,root) %{_libdir}/guile/2.*/extensions/guile-gnutls-v-2.so* |
df3400fb AM |
438 | %{_libdir}/guile/2.*/site-ccache/gnutls.go |
439 | %{_libdir}/guile/2.*/site-ccache/gnutls | |
440 | %{_datadir}/guile/site/2.*/gnutls.scm | |
441 | %{_datadir}/guile/site/2.*/gnutls | |
5f4f75f8 | 442 | %if %{with doc} |
b0199314 | 443 | %{_infodir}/gnutls-guile.info* |
a0012bde | 444 | %endif |
5f4f75f8 | 445 | %endif |