]>
Commit | Line | Data |
---|---|---|
6d7519d8 | 1 | Summary: The GNU Transport Layer Security Library |
7b093bb5 | 2 | Summary(pl.UTF-8): Biblioteka GNU TLS (Transport Layer Security) |
6d7519d8 | 3 | Name: gnutls |
bc4a614f AM |
4 | Version: 2.6.5 |
5 | Release: 1 | |
54300055 | 6 | License: LGPL v2.1+ (libgnutls), GPL v3+ (extra libs and tools) |
6d7519d8 | 7 | Group: Libraries |
784e28c1 | 8 | Source0: ftp://ftp.gnutls.org/pub/gnutls/%{name}-%{version}.tar.bz2 |
bc4a614f | 9 | # Source0-md5: 92b92c36b616aa8bd69a9a0fb2b8eb24 |
bf6baa77 | 10 | Patch0: %{name}-info.patch |
6d7519d8 | 11 | URL: http://www.gnu.org/software/gnutls/ |
f726b7c0 PG |
12 | # fix: http://article.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3515 |
13 | BuildRequires: security(CVE-2009-1415) | |
14 | # fix: http://article.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3516 | |
15 | BuildRequires: security(CVE-2009-1416) | |
16 | # fix: http://article.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3517 | |
17 | BuildRequires: security(CVE-2009-1417) | |
24cf4cad | 18 | BuildRequires: autoconf >= 2.61 |
ffb593f5 | 19 | BuildRequires: automake >= 1:1.10.2-2 |
17285f2a | 20 | BuildRequires: gettext-devel >= 0.17 |
3c916209 | 21 | BuildRequires: guile-devel >= 5:1.8 |
62c2e78b | 22 | BuildRequires: libcfg+-devel |
54300055 | 23 | BuildRequires: libgcrypt-devel >= 1.2.4 |
71cef829 | 24 | BuildRequires: libstdc++-devel |
17285f2a | 25 | BuildRequires: libtasn1-devel >= 1.5 |
d5b1fd56 | 26 | BuildRequires: libtool >= 2:1.5 |
abf24673 | 27 | BuildRequires: lzo-devel |
17285f2a JB |
28 | # miniopencdk is included in sources and currently maintained |
29 | # as part of gnutls, not external package | |
30 | #BuildRequires: opencdk-devel >= 0.6.6 | |
e5ea410a | 31 | BuildRequires: readline-devel |
24cf4cad | 32 | BuildRequires: rpmbuild(macros) >= 1.383 |
a7221760 | 33 | BuildRequires: texinfo >= 4.8 |
5a115208 | 34 | BuildRequires: zlib-devel |
10899c2c | 35 | Requires(post,postun): /sbin/ldconfig |
54300055 | 36 | Requires: libgcrypt >= 1.2.4 |
17285f2a JB |
37 | Requires: libtasn1 >= 1.5 |
38 | #Requires: opencdk >= 0.6.6 | |
6d7519d8 AM |
39 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
40 | ||
41 | %description | |
42 | GnuTLS is a project that aims to develop a library which provides a | |
43 | secure layer, over a reliable transport layer (ie. TCP/IP). Currently | |
44 | the gnuTLS library implements the proposed standards by the IETF's TLS | |
45 | working group. | |
46 | ||
fc7e37b3 JR |
47 | %description -l pl.UTF-8 |
48 | GnuTLS to projekt mający na celu stworzenie biblioteki udostępniającej | |
49 | powłokę bezpieczeństwa ponad powłoką transportową (np. TCP/IP). | |
6d7519d8 | 50 | Aktualnie biblioteka gnuTLS implementuje standardy proponowane przez |
fc7e37b3 | 51 | grupę roboczą IETF TLS. |
6d7519d8 AM |
52 | |
53 | %package devel | |
54 | Summary: Header files etc to develop gnutls applications | |
7b093bb5 | 55 | Summary(pl.UTF-8): Pliki nagłówkowe i inne do gnutls |
54300055 | 56 | License: LGPL v2.1+ (libgnutls), GPL v3+ (extra libs) |
6d7519d8 | 57 | Group: Development/Libraries |
72115ddc | 58 | Requires: %{name} = %{version}-%{release} |
54300055 | 59 | Requires: libgcrypt-devel >= 1.2.4 |
17285f2a JB |
60 | Requires: libtasn1-devel >= 1.5 |
61 | #Requires: opencdk-devel >= 0.6.6 | |
74be7fb4 | 62 | Requires: zlib-devel |
60ea5b82 | 63 | # libgnutls-extra R: lzo-devel |
6d7519d8 AM |
64 | |
65 | %description devel | |
66 | Header files etc to develop gnutls applications. | |
67 | ||
fc7e37b3 JR |
68 | %description devel -l pl.UTF-8 |
69 | Pliki nagłówkowe i inne do gnutls. | |
6d7519d8 AM |
70 | |
71 | %package static | |
72 | Summary: Static gnutls library | |
7b093bb5 | 73 | Summary(pl.UTF-8): Biblioteka statyczna gnutls |
54300055 | 74 | License: LGPL v2.1+ (libgnutls), GPL v3+ (extra libs) |
6d7519d8 | 75 | Group: Development/Libraries |
72115ddc | 76 | Requires: %{name}-devel = %{version}-%{release} |
6d7519d8 AM |
77 | |
78 | %description static | |
79 | Static gnutls library. | |
80 | ||
fc7e37b3 | 81 | %description static -l pl.UTF-8 |
6d7519d8 AM |
82 | Biblioteka statyczna gnutls. |
83 | ||
71cef829 JB |
84 | %package c++ |
85 | Summary: libgnutlsxx - C++ interface to gnutls library | |
7b093bb5 | 86 | Summary(pl.UTF-8): libgnutlsxx - interfejs C++ do biblioteki gnutls |
24cf4cad | 87 | License: LGPL v2.1+ |
71cef829 JB |
88 | Group: Libraries |
89 | Requires: %{name} = %{version}-%{release} | |
90 | ||
91 | %description c++ | |
92 | libgnutlsxx - C++ interface to gnutls library. | |
93 | ||
fc7e37b3 | 94 | %description c++ -l pl.UTF-8 |
71cef829 JB |
95 | libgnutlsxx - interfejs C++ do biblioteki gnutls. |
96 | ||
97 | %package c++-devel | |
98 | Summary: Header files for libgnutlsxx, a C++ interface to gnutls library | |
7b093bb5 | 99 | Summary(pl.UTF-8): Pliki nagłówkowe libgnutlsxx - interfejsu C++ do biblioteki gnutls |
24cf4cad | 100 | License: LGPL v2.1+ |
71cef829 JB |
101 | Group: Development/Libraries |
102 | Requires: %{name}-c++ = %{version}-%{release} | |
103 | Requires: %{name}-devel = %{version}-%{release} | |
104 | Requires: libstdc++-devel | |
105 | ||
106 | %description c++-devel | |
107 | Header files for libgnutlsxx, a C++ interface to gnutls library. | |
108 | ||
fc7e37b3 JR |
109 | %description c++-devel -l pl.UTF-8 |
110 | Pliki nagłówkowe libgnutlsxx - interfejsu C++ do biblioteki gnutls. | |
71cef829 JB |
111 | |
112 | %package c++-static | |
113 | Summary: Static version of libgnutlsxx, a C++ interface to gnutls library | |
7b093bb5 | 114 | Summary(pl.UTF-8): Statyczna wersja libgnutlsxx - interfejsu C++ do biblioteki gnutls |
24cf4cad | 115 | License: LGPL v2.1+ |
71cef829 JB |
116 | Group: Development/Libraries |
117 | Requires: %{name}-c++-devel = %{version}-%{release} | |
118 | ||
119 | %description c++-static | |
120 | Static version of libgnutlsxx, a C++ interface to gnutls library. | |
121 | ||
fc7e37b3 | 122 | %description c++-static -l pl.UTF-8 |
71cef829 JB |
123 | Statyczna wersja libgnutlsxx - interfejsu C++ do biblioteki gnutls. |
124 | ||
3c916209 JB |
125 | %package -n guile-gnutls |
126 | Summary: Guile bindings for GnuTLS | |
127 | Summary(pl.UTF-8): Wiązania Guile do GnuTLS | |
54300055 | 128 | License: LGPL v2.1+ (gnutls binding), GPL v3+ (gnutls-extra binding) |
3c916209 JB |
129 | Group: Development/Languages |
130 | Requires: %{name} = %{version}-%{release} | |
131 | Requires: guile >= 5:1.8 | |
132 | ||
133 | %description -n guile-gnutls | |
134 | Guile bindings for GnuTLS. | |
135 | ||
136 | %description -n guile-gnutls -l pl.UTF-8 | |
137 | Wiązania Guile do GnuTLS. | |
138 | ||
6d7519d8 AM |
139 | %prep |
140 | %setup -q | |
67b46ca6 | 141 | %patch0 -p1 |
6d7519d8 AM |
142 | |
143 | %build | |
b5ab22ee | 144 | %{__gettextize} |
5a115208 | 145 | %{__libtoolize} |
e2fc9a09 | 146 | %{__aclocal} -I m4 -I gl/m4 -I lgl/m4 -I libextra/gl/m4 |
5a115208 | 147 | %{__autoconf} |
d191db7f | 148 | %{__autoheader} |
5a115208 | 149 | %{__automake} |
6d7519d8 | 150 | %configure \ |
60ea5b82 JB |
151 | --disable-dependency-tracking \ |
152 | --with-lzo | |
5a115208 | 153 | |
6d7519d8 AM |
154 | %{__make} |
155 | ||
156 | %install | |
157 | rm -rf $RPM_BUILD_ROOT | |
158 | ||
159 | %{__make} install \ | |
160 | DESTDIR=$RPM_BUILD_ROOT \ | |
161 | m4datadir=%{_aclocaldir} | |
162 | ||
3c916209 JB |
163 | rm -f $RPM_BUILD_ROOT%{_libdir}/libguile-gnutls-*.{la,a} |
164 | ||
b5ab22ee JB |
165 | %find_lang %{name} |
166 | ||
6d7519d8 AM |
167 | %clean |
168 | rm -rf $RPM_BUILD_ROOT | |
169 | ||
10899c2c JB |
170 | %post |
171 | /sbin/ldconfig | |
172 | [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1 | |
173 | ||
174 | %postun | |
175 | /sbin/ldconfig | |
176 | [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1 | |
0522b080 | 177 | |
71cef829 JB |
178 | %post c++ -p /sbin/ldconfig |
179 | %postun c++ -p /sbin/ldconfig | |
180 | ||
3c916209 JB |
181 | %post -n guile-gnutls -p /sbin/ldconfig |
182 | %postun -n guile-gnutls -p /sbin/ldconfig | |
183 | ||
b5ab22ee | 184 | %files -f %{name}.lang |
6d7519d8 | 185 | %defattr(644,root,root,755) |
07a67478 | 186 | %doc AUTHORS ChangeLog NEWS README THANKS |
d191db7f | 187 | %attr(755,root,root) %{_bindir}/certtool |
71cef829 | 188 | %attr(755,root,root) %{_bindir}/gnutls-* |
2637a2e1 | 189 | %attr(755,root,root) %{_bindir}/psktool |
62c2e78b | 190 | %attr(755,root,root) %{_bindir}/srptool |
71cef829 | 191 | %attr(755,root,root) %{_libdir}/libgnutls.so.*.*.* |
54300055 | 192 | %attr(755,root,root) %ghost %{_libdir}/libgnutls.so.26 |
71cef829 | 193 | %attr(755,root,root) %{_libdir}/libgnutls-extra.so.*.*.* |
54300055 | 194 | %attr(755,root,root) %ghost %{_libdir}/libgnutls-extra.so.26 |
71cef829 | 195 | %attr(755,root,root) %{_libdir}/libgnutls-openssl.so.*.*.* |
54300055 | 196 | %attr(755,root,root) %ghost %{_libdir}/libgnutls-openssl.so.26 |
584b5346 | 197 | %{_mandir}/man1/certtool.1* |
71cef829 | 198 | %{_mandir}/man1/gnutls-*.1* |
2637a2e1 | 199 | %{_mandir}/man1/psktool.1* |
62c2e78b | 200 | %{_mandir}/man1/srptool.1* |
71cef829 | 201 | %{_infodir}/gnutls.info* |
24cf4cad | 202 | %{_infodir}/gnutls-*.png |
6d7519d8 AM |
203 | |
204 | %files devel | |
205 | %defattr(644,root,root,755) | |
71cef829 JB |
206 | %attr(755,root,root) %{_bindir}/libgnutls-config |
207 | %attr(755,root,root) %{_bindir}/libgnutls-extra-config | |
208 | %attr(755,root,root) %{_libdir}/libgnutls.so | |
209 | %attr(755,root,root) %{_libdir}/libgnutls-extra.so | |
210 | %attr(755,root,root) %{_libdir}/libgnutls-openssl.so | |
211 | %{_libdir}/libgnutls.la | |
212 | %{_libdir}/libgnutls-extra.la | |
213 | %{_libdir}/libgnutls-openssl.la | |
07a67478 | 214 | %{_includedir}/gnutls |
71cef829 JB |
215 | %exclude %{_includedir}/gnutls/gnutlsxx.h |
216 | %{_aclocaldir}/libgnutls.m4 | |
217 | %{_aclocaldir}/libgnutls-extra.m4 | |
218 | %{_pkgconfigdir}/gnutls.pc | |
219 | %{_pkgconfigdir}/gnutls-extra.pc | |
10899c2c | 220 | %{_mandir}/man3/*gnutls*.3* |
6d7519d8 AM |
221 | |
222 | %files static | |
223 | %defattr(644,root,root,755) | |
71cef829 JB |
224 | %{_libdir}/libgnutls.a |
225 | %{_libdir}/libgnutls-extra.a | |
226 | %{_libdir}/libgnutls-openssl.a | |
227 | ||
228 | %files c++ | |
229 | %defattr(644,root,root,755) | |
230 | %attr(755,root,root) %{_libdir}/libgnutlsxx.so.*.*.* | |
54300055 | 231 | %attr(755,root,root) %ghost %{_libdir}/libgnutlsxx.so.26 |
71cef829 JB |
232 | |
233 | %files c++-devel | |
234 | %defattr(644,root,root,755) | |
235 | %attr(755,root,root) %{_libdir}/libgnutlsxx.so | |
236 | %{_libdir}/libgnutlsxx.la | |
237 | %{_includedir}/gnutls/gnutlsxx.h | |
238 | ||
239 | %files c++-static | |
240 | %defattr(644,root,root,755) | |
241 | %{_libdir}/libgnutlsxx.a | |
3c916209 JB |
242 | |
243 | %files -n guile-gnutls | |
244 | %defattr(644,root,root,755) | |
54300055 JB |
245 | %attr(755,root,root) %{_libdir}/libguile-gnutls-v-1.so.*.*.* |
246 | %attr(755,root,root) %ghost %{_libdir}/libguile-gnutls-v-1.so.0 | |
247 | %attr(755,root,root) %{_libdir}/libguile-gnutls-v-1.so | |
248 | %attr(755,root,root) %{_libdir}/libguile-gnutls-extra-v-1.so.*.*.* | |
249 | %attr(755,root,root) %ghost %{_libdir}/libguile-gnutls-extra-v-1.so.0 | |
250 | %attr(755,root,root) %{_libdir}/libguile-gnutls-extra-v-1.so | |
3c916209 JB |
251 | %{_datadir}/guile/site/gnutls.scm |
252 | %dir %{_datadir}/guile/site/gnutls | |
253 | %{_datadir}/guile/site/gnutls/extra.scm |