]>
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 |
c58ce67f AG |
4 | Version: 2.8.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 |
c58ce67f | 9 | # Source0-md5: e3b2788b79bfc82acbe717e3c54d4e92 |
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 |
d711a6c0 JB |
14 | BuildRequires: gettext-devel >= 0.17 |
15 | BuildRequires: gtk-doc >= 1.1 | |
3c916209 | 16 | BuildRequires: guile-devel >= 5:1.8 |
62c2e78b | 17 | BuildRequires: libcfg+-devel |
54300055 | 18 | BuildRequires: libgcrypt-devel >= 1.2.4 |
71cef829 | 19 | BuildRequires: libstdc++-devel |
17285f2a | 20 | BuildRequires: libtasn1-devel >= 1.5 |
d5b1fd56 | 21 | BuildRequires: libtool >= 2:1.5 |
abf24673 | 22 | BuildRequires: lzo-devel |
17285f2a JB |
23 | # miniopencdk is included in sources and currently maintained |
24 | # as part of gnutls, not external package | |
25 | #BuildRequires: opencdk-devel >= 0.6.6 | |
e5ea410a | 26 | BuildRequires: readline-devel |
24cf4cad | 27 | BuildRequires: rpmbuild(macros) >= 1.383 |
a7221760 | 28 | BuildRequires: texinfo >= 4.8 |
5a115208 | 29 | BuildRequires: zlib-devel |
d2ee3461 | 30 | BuildConflicts: gnutls-devel |
10899c2c | 31 | Requires(post,postun): /sbin/ldconfig |
54300055 | 32 | Requires: libgcrypt >= 1.2.4 |
17285f2a JB |
33 | Requires: libtasn1 >= 1.5 |
34 | #Requires: opencdk >= 0.6.6 | |
6d7519d8 AM |
35 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
36 | ||
37 | %description | |
38 | GnuTLS is a project that aims to develop a library which provides a | |
39 | secure layer, over a reliable transport layer (ie. TCP/IP). Currently | |
40 | the gnuTLS library implements the proposed standards by the IETF's TLS | |
41 | working group. | |
42 | ||
fc7e37b3 JR |
43 | %description -l pl.UTF-8 |
44 | GnuTLS to projekt mający na celu stworzenie biblioteki udostępniającej | |
45 | powłokę bezpieczeństwa ponad powłoką transportową (np. TCP/IP). | |
6d7519d8 | 46 | Aktualnie biblioteka gnuTLS implementuje standardy proponowane przez |
fc7e37b3 | 47 | grupę roboczą IETF TLS. |
6d7519d8 AM |
48 | |
49 | %package devel | |
50 | Summary: Header files etc to develop gnutls applications | |
7b093bb5 | 51 | Summary(pl.UTF-8): Pliki nagłówkowe i inne do gnutls |
54300055 | 52 | License: LGPL v2.1+ (libgnutls), GPL v3+ (extra libs) |
6d7519d8 | 53 | Group: Development/Libraries |
72115ddc | 54 | Requires: %{name} = %{version}-%{release} |
54300055 | 55 | Requires: libgcrypt-devel >= 1.2.4 |
17285f2a JB |
56 | Requires: libtasn1-devel >= 1.5 |
57 | #Requires: opencdk-devel >= 0.6.6 | |
74be7fb4 | 58 | Requires: zlib-devel |
60ea5b82 | 59 | # libgnutls-extra R: lzo-devel |
6d7519d8 AM |
60 | |
61 | %description devel | |
62 | Header files etc to develop gnutls applications. | |
63 | ||
fc7e37b3 JR |
64 | %description devel -l pl.UTF-8 |
65 | Pliki nagłówkowe i inne do gnutls. | |
6d7519d8 AM |
66 | |
67 | %package static | |
68 | Summary: Static gnutls library | |
7b093bb5 | 69 | Summary(pl.UTF-8): Biblioteka statyczna gnutls |
54300055 | 70 | License: LGPL v2.1+ (libgnutls), GPL v3+ (extra libs) |
6d7519d8 | 71 | Group: Development/Libraries |
72115ddc | 72 | Requires: %{name}-devel = %{version}-%{release} |
6d7519d8 AM |
73 | |
74 | %description static | |
75 | Static gnutls library. | |
76 | ||
fc7e37b3 | 77 | %description static -l pl.UTF-8 |
6d7519d8 AM |
78 | Biblioteka statyczna gnutls. |
79 | ||
71cef829 JB |
80 | %package c++ |
81 | Summary: libgnutlsxx - C++ interface to gnutls library | |
7b093bb5 | 82 | Summary(pl.UTF-8): libgnutlsxx - interfejs C++ do biblioteki gnutls |
24cf4cad | 83 | License: LGPL v2.1+ |
71cef829 JB |
84 | Group: Libraries |
85 | Requires: %{name} = %{version}-%{release} | |
86 | ||
87 | %description c++ | |
88 | libgnutlsxx - C++ interface to gnutls library. | |
89 | ||
fc7e37b3 | 90 | %description c++ -l pl.UTF-8 |
71cef829 JB |
91 | libgnutlsxx - interfejs C++ do biblioteki gnutls. |
92 | ||
93 | %package c++-devel | |
94 | Summary: Header files for libgnutlsxx, a C++ interface to gnutls library | |
7b093bb5 | 95 | Summary(pl.UTF-8): Pliki nagłówkowe libgnutlsxx - interfejsu C++ do biblioteki gnutls |
24cf4cad | 96 | License: LGPL v2.1+ |
71cef829 JB |
97 | Group: Development/Libraries |
98 | Requires: %{name}-c++ = %{version}-%{release} | |
99 | Requires: %{name}-devel = %{version}-%{release} | |
100 | Requires: libstdc++-devel | |
101 | ||
102 | %description c++-devel | |
103 | Header files for libgnutlsxx, a C++ interface to gnutls library. | |
104 | ||
fc7e37b3 JR |
105 | %description c++-devel -l pl.UTF-8 |
106 | Pliki nagłówkowe libgnutlsxx - interfejsu C++ do biblioteki gnutls. | |
71cef829 JB |
107 | |
108 | %package c++-static | |
109 | Summary: Static version of libgnutlsxx, a C++ interface to gnutls library | |
7b093bb5 | 110 | Summary(pl.UTF-8): Statyczna wersja libgnutlsxx - interfejsu C++ do biblioteki gnutls |
24cf4cad | 111 | License: LGPL v2.1+ |
71cef829 JB |
112 | Group: Development/Libraries |
113 | Requires: %{name}-c++-devel = %{version}-%{release} | |
114 | ||
115 | %description c++-static | |
116 | Static version of libgnutlsxx, a C++ interface to gnutls library. | |
117 | ||
fc7e37b3 | 118 | %description c++-static -l pl.UTF-8 |
71cef829 JB |
119 | Statyczna wersja libgnutlsxx - interfejsu C++ do biblioteki gnutls. |
120 | ||
3c916209 JB |
121 | %package -n guile-gnutls |
122 | Summary: Guile bindings for GnuTLS | |
123 | Summary(pl.UTF-8): Wiązania Guile do GnuTLS | |
54300055 | 124 | License: LGPL v2.1+ (gnutls binding), GPL v3+ (gnutls-extra binding) |
3c916209 JB |
125 | Group: Development/Languages |
126 | Requires: %{name} = %{version}-%{release} | |
127 | Requires: guile >= 5:1.8 | |
128 | ||
129 | %description -n guile-gnutls | |
130 | Guile bindings for GnuTLS. | |
131 | ||
132 | %description -n guile-gnutls -l pl.UTF-8 | |
133 | Wiązania Guile do GnuTLS. | |
134 | ||
6d7519d8 AM |
135 | %prep |
136 | %setup -q | |
67b46ca6 | 137 | %patch0 -p1 |
6d7519d8 AM |
138 | |
139 | %build | |
5a115208 | 140 | %{__libtoolize} |
56647289 | 141 | %{__aclocal} -I m4 -I gl/m4 -I lib/gl/m4 -I libextra/gl/m4 -I lib/m4 -I libextra/m4 |
5a115208 | 142 | %{__autoconf} |
d191db7f | 143 | %{__autoheader} |
5a115208 | 144 | %{__automake} |
6d7519d8 | 145 | %configure \ |
60ea5b82 | 146 | --with-lzo |
5a115208 | 147 | |
6d7519d8 AM |
148 | %{__make} |
149 | ||
150 | %install | |
151 | rm -rf $RPM_BUILD_ROOT | |
152 | ||
153 | %{__make} install \ | |
d711a6c0 | 154 | DESTDIR=$RPM_BUILD_ROOT |
6d7519d8 | 155 | |
d711a6c0 JB |
156 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/libguile-gnutls-*.{la,a} |
157 | rm -f $RPM_BUILD_ROOT%{_infodir}/dir | |
3c916209 | 158 | |
d711a6c0 | 159 | %find_lang libgnutls |
b5ab22ee | 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 | ||
d711a6c0 | 178 | %files -f libgnutls.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) %{_libdir}/libgnutls.so |
201 | %attr(755,root,root) %{_libdir}/libgnutls-extra.so | |
202 | %attr(755,root,root) %{_libdir}/libgnutls-openssl.so | |
203 | %{_libdir}/libgnutls.la | |
204 | %{_libdir}/libgnutls-extra.la | |
205 | %{_libdir}/libgnutls-openssl.la | |
07a67478 | 206 | %{_includedir}/gnutls |
71cef829 | 207 | %exclude %{_includedir}/gnutls/gnutlsxx.h |
71cef829 JB |
208 | %{_pkgconfigdir}/gnutls.pc |
209 | %{_pkgconfigdir}/gnutls-extra.pc | |
10899c2c | 210 | %{_mandir}/man3/*gnutls*.3* |
6d7519d8 AM |
211 | |
212 | %files static | |
213 | %defattr(644,root,root,755) | |
71cef829 JB |
214 | %{_libdir}/libgnutls.a |
215 | %{_libdir}/libgnutls-extra.a | |
216 | %{_libdir}/libgnutls-openssl.a | |
217 | ||
218 | %files c++ | |
219 | %defattr(644,root,root,755) | |
220 | %attr(755,root,root) %{_libdir}/libgnutlsxx.so.*.*.* | |
54300055 | 221 | %attr(755,root,root) %ghost %{_libdir}/libgnutlsxx.so.26 |
71cef829 JB |
222 | |
223 | %files c++-devel | |
224 | %defattr(644,root,root,755) | |
225 | %attr(755,root,root) %{_libdir}/libgnutlsxx.so | |
226 | %{_libdir}/libgnutlsxx.la | |
227 | %{_includedir}/gnutls/gnutlsxx.h | |
228 | ||
229 | %files c++-static | |
230 | %defattr(644,root,root,755) | |
231 | %{_libdir}/libgnutlsxx.a | |
3c916209 JB |
232 | |
233 | %files -n guile-gnutls | |
234 | %defattr(644,root,root,755) | |
54300055 JB |
235 | %attr(755,root,root) %{_libdir}/libguile-gnutls-v-1.so.*.*.* |
236 | %attr(755,root,root) %ghost %{_libdir}/libguile-gnutls-v-1.so.0 | |
237 | %attr(755,root,root) %{_libdir}/libguile-gnutls-v-1.so | |
238 | %attr(755,root,root) %{_libdir}/libguile-gnutls-extra-v-1.so.*.*.* | |
239 | %attr(755,root,root) %ghost %{_libdir}/libguile-gnutls-extra-v-1.so.0 | |
240 | %attr(755,root,root) %{_libdir}/libguile-gnutls-extra-v-1.so | |
3c916209 JB |
241 | %{_datadir}/guile/site/gnutls.scm |
242 | %dir %{_datadir}/guile/site/gnutls | |
243 | %{_datadir}/guile/site/gnutls/extra.scm |