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