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