]> git.pld-linux.org Git - packages/gnutls.git/blob - gnutls.spec
- updated to 2.8.4
[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.8.4
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:  aafba37c0993595ba2ab98587b57a3de
10 Patch0:         %{name}-info.patch
11 URL:            http://www.gnu.org/software/gnutls/
12 BuildRequires:  autoconf >= 2.61
13 BuildRequires:  automake >= 1:1.10.2-2
14 BuildRequires:  guile-devel >= 5:1.8
15 BuildRequires:  libcfg+-devel
16 BuildRequires:  libgcrypt-devel >= 1.2.4
17 BuildRequires:  libstdc++-devel
18 BuildRequires:  libtasn1-devel >= 1.5
19 BuildRequires:  libtool >= 2:1.5
20 BuildRequires:  lzo-devel
21 # miniopencdk is included in sources and currently maintained
22 # as part of gnutls, not external package
23 #BuildRequires: opencdk-devel >= 0.6.6
24 BuildRequires:  readline-devel
25 BuildRequires:  rpmbuild(macros) >= 1.383
26 BuildRequires:  texinfo >= 4.8
27 BuildRequires:  zlib-devel
28 Requires(post,postun):  /sbin/ldconfig
29 Requires:       libgcrypt >= 1.2.4
30 Requires:       libtasn1 >= 1.5
31 #Requires:      opencdk >= 0.6.6
32 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33
34 %description
35 GnuTLS is a project that aims to develop a library which provides a
36 secure layer, over a reliable transport layer (ie. TCP/IP). Currently
37 the gnuTLS library implements the proposed standards by the IETF's TLS
38 working group.
39
40 %description -l pl.UTF-8
41 GnuTLS to projekt mający na celu stworzenie biblioteki udostępniającej
42 powłokę bezpieczeństwa ponad powłoką transportową (np. TCP/IP).
43 Aktualnie biblioteka gnuTLS implementuje standardy proponowane przez
44 grupę roboczą IETF TLS.
45
46 %package devel
47 Summary:        Header files etc to develop gnutls applications
48 Summary(pl.UTF-8):      Pliki nagłówkowe i inne do gnutls
49 License:        LGPL v2.1+ (libgnutls), GPL v3+ (extra libs)
50 Group:          Development/Libraries
51 Requires:       %{name} = %{version}-%{release}
52 Requires:       libgcrypt-devel >= 1.2.4
53 Requires:       libtasn1-devel >= 1.5
54 #Requires:      opencdk-devel >= 0.6.6
55 Requires:       zlib-devel
56 # libgnutls-extra R: lzo-devel
57
58 %description devel
59 Header files etc to develop gnutls applications.
60
61 %description devel -l pl.UTF-8
62 Pliki nagłówkowe i inne do gnutls.
63
64 %package static
65 Summary:        Static gnutls library
66 Summary(pl.UTF-8):      Biblioteka statyczna gnutls
67 License:        LGPL v2.1+ (libgnutls), GPL v3+ (extra libs)
68 Group:          Development/Libraries
69 Requires:       %{name}-devel = %{version}-%{release}
70
71 %description static
72 Static gnutls library.
73
74 %description static -l pl.UTF-8
75 Biblioteka statyczna gnutls.
76
77 %package c++
78 Summary:        libgnutlsxx - C++ interface to gnutls library
79 Summary(pl.UTF-8):      libgnutlsxx - interfejs C++ do biblioteki gnutls
80 License:        LGPL v2.1+
81 Group:          Libraries
82 Requires:       %{name} = %{version}-%{release}
83
84 %description c++
85 libgnutlsxx - C++ interface to gnutls library.
86
87 %description c++ -l pl.UTF-8
88 libgnutlsxx - interfejs C++ do biblioteki gnutls.
89
90 %package c++-devel
91 Summary:        Header files for libgnutlsxx, a C++ interface to gnutls library
92 Summary(pl.UTF-8):      Pliki nagłówkowe libgnutlsxx - interfejsu C++ do biblioteki gnutls
93 License:        LGPL v2.1+
94 Group:          Development/Libraries
95 Requires:       %{name}-c++ = %{version}-%{release}
96 Requires:       %{name}-devel = %{version}-%{release}
97 Requires:       libstdc++-devel
98
99 %description c++-devel
100 Header files for libgnutlsxx, a C++ interface to gnutls library.
101
102 %description c++-devel -l pl.UTF-8
103 Pliki nagłówkowe libgnutlsxx - interfejsu C++ do biblioteki gnutls.
104
105 %package c++-static
106 Summary:        Static version of libgnutlsxx, a C++ interface to gnutls library
107 Summary(pl.UTF-8):      Statyczna wersja libgnutlsxx - interfejsu C++ do biblioteki gnutls
108 License:        LGPL v2.1+
109 Group:          Development/Libraries
110 Requires:       %{name}-c++-devel = %{version}-%{release}
111
112 %description c++-static
113 Static version of libgnutlsxx, a C++ interface to gnutls library.
114
115 %description c++-static -l pl.UTF-8
116 Statyczna wersja libgnutlsxx - interfejsu C++ do biblioteki gnutls.
117
118 %package -n guile-gnutls
119 Summary:        Guile bindings for GnuTLS
120 Summary(pl.UTF-8):      Wiązania Guile do GnuTLS
121 License:        LGPL v2.1+ (gnutls binding), GPL v3+ (gnutls-extra binding)
122 Group:          Development/Languages
123 Requires:       %{name} = %{version}-%{release}
124 Requires:       guile >= 5:1.8
125
126 %description -n guile-gnutls
127 Guile bindings for GnuTLS.
128
129 %description -n guile-gnutls -l pl.UTF-8
130 Wiązania Guile do GnuTLS.
131
132 %prep
133 %setup -q
134 %patch0 -p1
135
136 %build
137 %{__libtoolize}
138 %{__aclocal} -I m4 -I gl/m4 -I lib/gl/m4 -I libextra/gl/m4 -I lib/m4 -I libextra/m4
139 %{__autoconf}
140 %{__autoheader}
141 %{__automake}
142 %configure \
143         --with-lzo
144 #       --disable-dependency-tracking \
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
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) %{_libdir}/libgnutls.so
199 %attr(755,root,root) %{_libdir}/libgnutls-extra.so
200 %attr(755,root,root) %{_libdir}/libgnutls-openssl.so
201 %{_libdir}/libgnutls.la
202 %{_libdir}/libgnutls-extra.la
203 %{_libdir}/libgnutls-openssl.la
204 %{_includedir}/gnutls
205 %exclude %{_includedir}/gnutls/gnutlsxx.h
206 # These are not installed
207 #%{_aclocaldir}/libgnutls.m4
208 #%{_aclocaldir}/libgnutls-extra.m4
209 %{_pkgconfigdir}/gnutls.pc
210 %{_pkgconfigdir}/gnutls-extra.pc
211 %{_mandir}/man3/*gnutls*.3*
212
213 %files static
214 %defattr(644,root,root,755)
215 %{_libdir}/libgnutls.a
216 %{_libdir}/libgnutls-extra.a
217 %{_libdir}/libgnutls-openssl.a
218
219 %files c++
220 %defattr(644,root,root,755)
221 %attr(755,root,root) %{_libdir}/libgnutlsxx.so.*.*.*
222 %attr(755,root,root) %ghost %{_libdir}/libgnutlsxx.so.26
223
224 %files c++-devel
225 %defattr(644,root,root,755)
226 %attr(755,root,root) %{_libdir}/libgnutlsxx.so
227 %{_libdir}/libgnutlsxx.la
228 %{_includedir}/gnutls/gnutlsxx.h
229
230 %files c++-static
231 %defattr(644,root,root,755)
232 %{_libdir}/libgnutlsxx.a
233
234 %files -n guile-gnutls
235 %defattr(644,root,root,755)
236 %attr(755,root,root) %{_libdir}/libguile-gnutls-v-1.so.*.*.*
237 %attr(755,root,root) %ghost %{_libdir}/libguile-gnutls-v-1.so.0
238 %attr(755,root,root) %{_libdir}/libguile-gnutls-v-1.so
239 %attr(755,root,root) %{_libdir}/libguile-gnutls-extra-v-1.so.*.*.*
240 %attr(755,root,root) %ghost %{_libdir}/libguile-gnutls-extra-v-1.so.0
241 %attr(755,root,root) %{_libdir}/libguile-gnutls-extra-v-1.so
242 %{_datadir}/guile/site/gnutls.scm
243 %dir %{_datadir}/guile/site/gnutls
244 %{_datadir}/guile/site/gnutls/extra.scm
This page took 0.063476 seconds and 4 git commands to generate.