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