]> git.pld-linux.org Git - packages/gnutls.git/blob - gnutls.spec
- updated to 2.4.1 (includes security fix, GNUTLS-SA-2008-2)
[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.4.1
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:  573db36cb3f8472b0293cfa1f52c607a
10 Patch0:         %{name}-info.patch
11 URL:            http://www.gnu.org/software/gnutls/
12 BuildRequires:  autoconf >= 2.61
13 BuildRequires:  automake >= 1:1.10
14 BuildRequires:  gettext-devel >= 0.16
15 BuildRequires:  guile-devel >= 5:1.8
16 BuildRequires:  libcfg+-devel
17 BuildRequires:  libgcrypt-devel >= 1.2.4
18 BuildRequires:  libstdc++-devel
19 BuildRequires:  libtasn1-devel >= 1.2
20 BuildRequires:  libtool >= 2:1.5
21 BuildRequires:  lzo-devel
22 BuildRequires:  opencdk-devel >= 0.6.6
23 BuildRequires:  readline-devel
24 BuildRequires:  rpmbuild(macros) >= 1.383
25 BuildRequires:  texinfo >= 4.8
26 BuildRequires:  zlib-devel
27 Requires(post,postun):  /sbin/ldconfig
28 Requires:       libgcrypt >= 1.2.4
29 Requires:       libtasn1 >= 1.2
30 Requires:       opencdk >= 0.6.6
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
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).
42 Aktualnie biblioteka gnuTLS implementuje standardy proponowane przez
43 grupę roboczą IETF TLS.
44
45 %package devel
46 Summary:        Header files etc to develop gnutls applications
47 Summary(pl.UTF-8):      Pliki nagłówkowe i inne do gnutls
48 License:        LGPL v2.1+ (libgnutls), GPL v3+ (extra libs)
49 Group:          Development/Libraries
50 Requires:       %{name} = %{version}-%{release}
51 Requires:       libgcrypt-devel >= 1.2.4
52 Requires:       libtasn1-devel >= 1.2
53 Requires:       opencdk-devel >= 0.6.6
54 Requires:       zlib-devel
55 # libgnutls-extra R: lzo-devel
56
57 %description devel
58 Header files etc to develop gnutls applications.
59
60 %description devel -l pl.UTF-8
61 Pliki nagłówkowe i inne do gnutls.
62
63 %package static
64 Summary:        Static gnutls library
65 Summary(pl.UTF-8):      Biblioteka statyczna gnutls
66 License:        LGPL v2.1+ (libgnutls), GPL v3+ (extra libs)
67 Group:          Development/Libraries
68 Requires:       %{name}-devel = %{version}-%{release}
69
70 %description static
71 Static gnutls library.
72
73 %description static -l pl.UTF-8
74 Biblioteka statyczna gnutls.
75
76 %package c++
77 Summary:        libgnutlsxx - C++ interface to gnutls library
78 Summary(pl.UTF-8):      libgnutlsxx - interfejs C++ do biblioteki gnutls
79 License:        LGPL v2.1+
80 Group:          Libraries
81 Requires:       %{name} = %{version}-%{release}
82
83 %description c++
84 libgnutlsxx - C++ interface to gnutls library.
85
86 %description c++ -l pl.UTF-8
87 libgnutlsxx - interfejs C++ do biblioteki gnutls.
88
89 %package c++-devel
90 Summary:        Header files for libgnutlsxx, a C++ interface to gnutls library
91 Summary(pl.UTF-8):      Pliki nagłówkowe libgnutlsxx - interfejsu C++ do biblioteki gnutls
92 License:        LGPL v2.1+
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
101 %description c++-devel -l pl.UTF-8
102 Pliki nagłówkowe libgnutlsxx - interfejsu C++ do biblioteki gnutls.
103
104 %package c++-static
105 Summary:        Static version of libgnutlsxx, a C++ interface to gnutls library
106 Summary(pl.UTF-8):      Statyczna wersja libgnutlsxx - interfejsu C++ do biblioteki gnutls
107 License:        LGPL v2.1+
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
114 %description c++-static -l pl.UTF-8
115 Statyczna wersja libgnutlsxx - interfejsu C++ do biblioteki gnutls.
116
117 %package -n guile-gnutls
118 Summary:        Guile bindings for GnuTLS
119 Summary(pl.UTF-8):      Wiązania Guile do GnuTLS
120 License:        LGPL v2.1+ (gnutls binding), GPL v3+ (gnutls-extra binding)
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
131 %prep
132 %setup -q
133 %patch0 -p1
134
135 %build
136 %{__gettextize}
137 %{__libtoolize}
138 %{__aclocal} -I m4 -I gl/m4 -I lgl/m4
139 %{__autoconf}
140 %{__autoheader}
141 %{__automake}
142 %configure \
143         --disable-dependency-tracking \
144         --with-lzo
145
146 %{__make}
147
148 %install
149 rm -rf $RPM_BUILD_ROOT
150
151 %{__make} install \
152         DESTDIR=$RPM_BUILD_ROOT \
153         m4datadir=%{_aclocaldir}
154
155 rm -f $RPM_BUILD_ROOT%{_libdir}/libguile-gnutls-*.{la,a}
156
157 %find_lang %{name}
158
159 %clean
160 rm -rf $RPM_BUILD_ROOT
161
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
169
170 %post   c++ -p /sbin/ldconfig
171 %postun c++ -p /sbin/ldconfig
172
173 %post   -n guile-gnutls -p /sbin/ldconfig
174 %postun -n guile-gnutls -p /sbin/ldconfig
175
176 %files -f %{name}.lang
177 %defattr(644,root,root,755)
178 %doc AUTHORS ChangeLog NEWS README THANKS
179 %attr(755,root,root) %{_bindir}/certtool
180 %attr(755,root,root) %{_bindir}/gnutls-*
181 %attr(755,root,root) %{_bindir}/psktool
182 %attr(755,root,root) %{_bindir}/srptool
183 %attr(755,root,root) %{_libdir}/libgnutls.so.*.*.*
184 %attr(755,root,root) %ghost %{_libdir}/libgnutls.so.26
185 %attr(755,root,root) %{_libdir}/libgnutls-extra.so.*.*.*
186 %attr(755,root,root) %ghost %{_libdir}/libgnutls-extra.so.26
187 %attr(755,root,root) %{_libdir}/libgnutls-openssl.so.*.*.*
188 %attr(755,root,root) %ghost %{_libdir}/libgnutls-openssl.so.26
189 %{_mandir}/man1/certtool.1*
190 %{_mandir}/man1/gnutls-*.1*
191 %{_mandir}/man1/psktool.1*
192 %{_mandir}/man1/srptool.1*
193 %{_infodir}/gnutls.info*
194 %{_infodir}/gnutls-*.png
195
196 %files devel
197 %defattr(644,root,root,755)
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
206 %{_includedir}/gnutls
207 %exclude %{_includedir}/gnutls/gnutlsxx.h
208 %{_aclocaldir}/libgnutls.m4
209 %{_aclocaldir}/libgnutls-extra.m4
210 %{_pkgconfigdir}/gnutls.pc
211 %{_pkgconfigdir}/gnutls-extra.pc
212 %{_mandir}/man3/*gnutls*.3*
213
214 %files static
215 %defattr(644,root,root,755)
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.*.*.*
223 %attr(755,root,root) %ghost %{_libdir}/libgnutlsxx.so.26
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
234
235 %files -n guile-gnutls
236 %defattr(644,root,root,755)
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
243 %{_datadir}/guile/site/gnutls.scm
244 %dir %{_datadir}/guile/site/gnutls
245 %{_datadir}/guile/site/gnutls/extra.scm
This page took 0.046594 seconds and 4 git commands to generate.