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