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