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