]>
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 |
cbbe0485 | 4 | Version: 2.4.1 |
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 |
cbbe0485 | 9 | # Source0-md5: 573db36cb3f8472b0293cfa1f52c607a |
bf6baa77 | 10 | Patch0: %{name}-info.patch |
6d7519d8 | 11 | URL: http://www.gnu.org/software/gnutls/ |
24cf4cad JB |
12 | BuildRequires: autoconf >= 2.61 |
13 | BuildRequires: automake >= 1:1.10 | |
e022e9cd | 14 | BuildRequires: gettext-devel >= 0.16 |
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 |
54300055 | 19 | BuildRequires: libtasn1-devel >= 1.2 |
d5b1fd56 | 20 | BuildRequires: libtool >= 2:1.5 |
abf24673 | 21 | BuildRequires: lzo-devel |
54300055 | 22 | BuildRequires: opencdk-devel >= 0.6.6 |
e5ea410a | 23 | BuildRequires: readline-devel |
24cf4cad | 24 | BuildRequires: rpmbuild(macros) >= 1.383 |
a7221760 | 25 | BuildRequires: texinfo >= 4.8 |
5a115208 | 26 | BuildRequires: zlib-devel |
10899c2c | 27 | Requires(post,postun): /sbin/ldconfig |
54300055 JB |
28 | Requires: libgcrypt >= 1.2.4 |
29 | Requires: libtasn1 >= 1.2 | |
30 | Requires: opencdk >= 0.6.6 | |
6d7519d8 AM |
31 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
32 | ||
33 | %description | |
34 | GnuTLS is a project that aims to develop a library which provides a | |
35 | secure layer, over a reliable transport layer (ie. TCP/IP). Currently | |
36 | the gnuTLS library implements the proposed standards by the IETF's TLS | |
37 | working group. | |
38 | ||
fc7e37b3 JR |
39 | %description -l pl.UTF-8 |
40 | GnuTLS to projekt mający na celu stworzenie biblioteki udostępniającej | |
41 | powłokę bezpieczeństwa ponad powłoką transportową (np. TCP/IP). | |
6d7519d8 | 42 | Aktualnie biblioteka gnuTLS implementuje standardy proponowane przez |
fc7e37b3 | 43 | grupę roboczą IETF TLS. |
6d7519d8 AM |
44 | |
45 | %package devel | |
46 | Summary: Header files etc to develop gnutls applications | |
7b093bb5 | 47 | Summary(pl.UTF-8): Pliki nagłówkowe i inne do gnutls |
54300055 | 48 | License: LGPL v2.1+ (libgnutls), GPL v3+ (extra libs) |
6d7519d8 | 49 | Group: Development/Libraries |
72115ddc | 50 | Requires: %{name} = %{version}-%{release} |
54300055 JB |
51 | Requires: libgcrypt-devel >= 1.2.4 |
52 | Requires: libtasn1-devel >= 1.2 | |
53 | Requires: opencdk-devel >= 0.6.6 | |
74be7fb4 | 54 | Requires: zlib-devel |
60ea5b82 | 55 | # libgnutls-extra R: lzo-devel |
6d7519d8 AM |
56 | |
57 | %description devel | |
58 | Header files etc to develop gnutls applications. | |
59 | ||
fc7e37b3 JR |
60 | %description devel -l pl.UTF-8 |
61 | Pliki nagłówkowe i inne do gnutls. | |
6d7519d8 AM |
62 | |
63 | %package static | |
64 | Summary: Static gnutls library | |
7b093bb5 | 65 | Summary(pl.UTF-8): Biblioteka statyczna gnutls |
54300055 | 66 | License: LGPL v2.1+ (libgnutls), GPL v3+ (extra libs) |
6d7519d8 | 67 | Group: Development/Libraries |
72115ddc | 68 | Requires: %{name}-devel = %{version}-%{release} |
6d7519d8 AM |
69 | |
70 | %description static | |
71 | Static gnutls library. | |
72 | ||
fc7e37b3 | 73 | %description static -l pl.UTF-8 |
6d7519d8 AM |
74 | Biblioteka statyczna gnutls. |
75 | ||
71cef829 JB |
76 | %package c++ |
77 | Summary: libgnutlsxx - C++ interface to gnutls library | |
7b093bb5 | 78 | Summary(pl.UTF-8): libgnutlsxx - interfejs C++ do biblioteki gnutls |
24cf4cad | 79 | License: LGPL v2.1+ |
71cef829 JB |
80 | Group: Libraries |
81 | Requires: %{name} = %{version}-%{release} | |
82 | ||
83 | %description c++ | |
84 | libgnutlsxx - C++ interface to gnutls library. | |
85 | ||
fc7e37b3 | 86 | %description c++ -l pl.UTF-8 |
71cef829 JB |
87 | libgnutlsxx - interfejs C++ do biblioteki gnutls. |
88 | ||
89 | %package c++-devel | |
90 | Summary: Header files for libgnutlsxx, a C++ interface to gnutls library | |
7b093bb5 | 91 | Summary(pl.UTF-8): Pliki nagłówkowe libgnutlsxx - interfejsu C++ do biblioteki gnutls |
24cf4cad | 92 | License: LGPL v2.1+ |
71cef829 JB |
93 | Group: Development/Libraries |
94 | Requires: %{name}-c++ = %{version}-%{release} | |
95 | Requires: %{name}-devel = %{version}-%{release} | |
96 | Requires: libstdc++-devel | |
97 | ||
98 | %description c++-devel | |
99 | Header files for libgnutlsxx, a C++ interface to gnutls library. | |
100 | ||
fc7e37b3 JR |
101 | %description c++-devel -l pl.UTF-8 |
102 | Pliki nagłówkowe libgnutlsxx - interfejsu C++ do biblioteki gnutls. | |
71cef829 JB |
103 | |
104 | %package c++-static | |
105 | Summary: Static version of libgnutlsxx, a C++ interface to gnutls library | |
7b093bb5 | 106 | Summary(pl.UTF-8): Statyczna wersja libgnutlsxx - interfejsu C++ do biblioteki gnutls |
24cf4cad | 107 | License: LGPL v2.1+ |
71cef829 JB |
108 | Group: Development/Libraries |
109 | Requires: %{name}-c++-devel = %{version}-%{release} | |
110 | ||
111 | %description c++-static | |
112 | Static version of libgnutlsxx, a C++ interface to gnutls library. | |
113 | ||
fc7e37b3 | 114 | %description c++-static -l pl.UTF-8 |
71cef829 JB |
115 | Statyczna wersja libgnutlsxx - interfejsu C++ do biblioteki gnutls. |
116 | ||
3c916209 JB |
117 | %package -n guile-gnutls |
118 | Summary: Guile bindings for GnuTLS | |
119 | Summary(pl.UTF-8): Wiązania Guile do GnuTLS | |
54300055 | 120 | License: LGPL v2.1+ (gnutls binding), GPL v3+ (gnutls-extra binding) |
3c916209 JB |
121 | Group: Development/Languages |
122 | Requires: %{name} = %{version}-%{release} | |
123 | Requires: guile >= 5:1.8 | |
124 | ||
125 | %description -n guile-gnutls | |
126 | Guile bindings for GnuTLS. | |
127 | ||
128 | %description -n guile-gnutls -l pl.UTF-8 | |
129 | Wiązania Guile do GnuTLS. | |
130 | ||
6d7519d8 AM |
131 | %prep |
132 | %setup -q | |
67b46ca6 | 133 | %patch0 -p1 |
6d7519d8 AM |
134 | |
135 | %build | |
b5ab22ee | 136 | %{__gettextize} |
5a115208 | 137 | %{__libtoolize} |
71cef829 | 138 | %{__aclocal} -I m4 -I gl/m4 -I lgl/m4 |
5a115208 | 139 | %{__autoconf} |
d191db7f | 140 | %{__autoheader} |
5a115208 | 141 | %{__automake} |
6d7519d8 | 142 | %configure \ |
60ea5b82 JB |
143 | --disable-dependency-tracking \ |
144 | --with-lzo | |
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 | ||
b5ab22ee JB |
157 | %find_lang %{name} |
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 | ||
b5ab22ee | 176 | %files -f %{name}.lang |
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) %{_bindir}/libgnutls-config |
199 | %attr(755,root,root) %{_bindir}/libgnutls-extra-config | |
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 JB |
207 | %exclude %{_includedir}/gnutls/gnutlsxx.h |
208 | %{_aclocaldir}/libgnutls.m4 | |
209 | %{_aclocaldir}/libgnutls-extra.m4 | |
210 | %{_pkgconfigdir}/gnutls.pc | |
211 | %{_pkgconfigdir}/gnutls-extra.pc | |
10899c2c | 212 | %{_mandir}/man3/*gnutls*.3* |
6d7519d8 AM |
213 | |
214 | %files static | |
215 | %defattr(644,root,root,755) | |
71cef829 JB |
216 | %{_libdir}/libgnutls.a |
217 | %{_libdir}/libgnutls-extra.a | |
218 | %{_libdir}/libgnutls-openssl.a | |
219 | ||
220 | %files c++ | |
221 | %defattr(644,root,root,755) | |
222 | %attr(755,root,root) %{_libdir}/libgnutlsxx.so.*.*.* | |
54300055 | 223 | %attr(755,root,root) %ghost %{_libdir}/libgnutlsxx.so.26 |
71cef829 JB |
224 | |
225 | %files c++-devel | |
226 | %defattr(644,root,root,755) | |
227 | %attr(755,root,root) %{_libdir}/libgnutlsxx.so | |
228 | %{_libdir}/libgnutlsxx.la | |
229 | %{_includedir}/gnutls/gnutlsxx.h | |
230 | ||
231 | %files c++-static | |
232 | %defattr(644,root,root,755) | |
233 | %{_libdir}/libgnutlsxx.a | |
3c916209 JB |
234 | |
235 | %files -n guile-gnutls | |
236 | %defattr(644,root,root,755) | |
54300055 JB |
237 | %attr(755,root,root) %{_libdir}/libguile-gnutls-v-1.so.*.*.* |
238 | %attr(755,root,root) %ghost %{_libdir}/libguile-gnutls-v-1.so.0 | |
239 | %attr(755,root,root) %{_libdir}/libguile-gnutls-v-1.so | |
240 | %attr(755,root,root) %{_libdir}/libguile-gnutls-extra-v-1.so.*.*.* | |
241 | %attr(755,root,root) %ghost %{_libdir}/libguile-gnutls-extra-v-1.so.0 | |
242 | %attr(755,root,root) %{_libdir}/libguile-gnutls-extra-v-1.so | |
3c916209 JB |
243 | %{_datadir}/guile/site/gnutls.scm |
244 | %dir %{_datadir}/guile/site/gnutls | |
245 | %{_datadir}/guile/site/gnutls/extra.scm |