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