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