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