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