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