]> git.pld-linux.org Git - packages/gnutls.git/blob - gnutls.spec
51fcb9645c169bbf6200f0c7aa2a3bb178c6de60
[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.0.4
5 Release:        1
6 License:        LGPL v2.1+ (libgnutls), GPL v2+ (extra libs and tools)
7 Group:          Libraries
8 Source0:        ftp://ftp.gnutls.org/pub/gnutls/%{name}-%{version}.tar.bz2
9 # Source0-md5:  0d3c959ff2b3b71f840038c3441ba1f9
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.2
18 BuildRequires:  libstdc++-devel
19 BuildRequires:  libtasn1-devel >= 1.1
20 BuildRequires:  libtool >= 2:1.5
21 BuildRequires:  lzo-devel
22 BuildRequires:  opencdk-devel >= 0.6.4
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.2
29 Requires:       libtasn1 >= 1.1
30 Requires:       opencdk >= 0.6.4
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 v2+ (extra libs)
49 Group:          Development/Libraries
50 Requires:       %{name} = %{version}-%{release}
51 Requires:       libgcrypt-devel >= 1.2.2
52 Requires:       libtasn1-devel >= 1.1
53 Requires:       opencdk-devel >= 0.6.4
54 Requires:       zlib-devel
55
56 %description devel
57 Header files etc to develop gnutls applications.
58
59 %description devel -l pl.UTF-8
60 Pliki nagłówkowe i inne do gnutls.
61
62 %package static
63 Summary:        Static gnutls library
64 Summary(pl.UTF-8):      Biblioteka statyczna gnutls
65 License:        LGPL v2.1+ (libgnutls), GPL v2+ (extra libs)
66 Group:          Development/Libraries
67 Requires:       %{name}-devel = %{version}-%{release}
68
69 %description static
70 Static gnutls library.
71
72 %description static -l pl.UTF-8
73 Biblioteka statyczna gnutls.
74
75 %package c++
76 Summary:        libgnutlsxx - C++ interface to gnutls library
77 Summary(pl.UTF-8):      libgnutlsxx - interfejs C++ do biblioteki gnutls
78 License:        LGPL v2.1+
79 Group:          Libraries
80 Requires:       %{name} = %{version}-%{release}
81
82 %description c++
83 libgnutlsxx - C++ interface to gnutls library.
84
85 %description c++ -l pl.UTF-8
86 libgnutlsxx - interfejs C++ do biblioteki gnutls.
87
88 %package c++-devel
89 Summary:        Header files for libgnutlsxx, a C++ interface to gnutls library
90 Summary(pl.UTF-8):      Pliki nagłówkowe libgnutlsxx - interfejsu C++ do biblioteki gnutls
91 License:        LGPL v2.1+
92 Group:          Development/Libraries
93 Requires:       %{name}-c++ = %{version}-%{release}
94 Requires:       %{name}-devel = %{version}-%{release}
95 Requires:       libstdc++-devel
96
97 %description c++-devel
98 Header files for libgnutlsxx, a C++ interface to gnutls library.
99
100 %description c++-devel -l pl.UTF-8
101 Pliki nagłówkowe libgnutlsxx - interfejsu C++ do biblioteki gnutls.
102
103 %package c++-static
104 Summary:        Static version of libgnutlsxx, a C++ interface to gnutls library
105 Summary(pl.UTF-8):      Statyczna wersja libgnutlsxx - interfejsu C++ do biblioteki gnutls
106 License:        LGPL v2.1+
107 Group:          Development/Libraries
108 Requires:       %{name}-c++-devel = %{version}-%{release}
109
110 %description c++-static
111 Static version of libgnutlsxx, a C++ interface to gnutls library.
112
113 %description c++-static -l pl.UTF-8
114 Statyczna wersja libgnutlsxx - interfejsu C++ do biblioteki gnutls.
115
116 %package -n guile-gnutls
117 Summary:        Guile bindings for GnuTLS
118 Summary(pl.UTF-8):      Wiązania Guile do GnuTLS
119 Group:          Development/Languages
120 Requires:       %{name} = %{version}-%{release}
121 Requires:       guile >= 5:1.8
122
123 %description -n guile-gnutls
124 Guile bindings for GnuTLS.
125
126 %description -n guile-gnutls -l pl.UTF-8
127 Wiązania Guile do GnuTLS.
128
129 %prep
130 %setup -q
131 %patch0 -p1
132
133 %build
134 %{__gettextize}
135 %{__libtoolize}
136 %{__aclocal} -I m4 -I gl/m4 -I lgl/m4
137 %{__autoconf}
138 %{__autoheader}
139 %{__automake}
140 %configure \
141         --disable-dependency-tracking
142
143 %{__make}
144
145 %install
146 rm -rf $RPM_BUILD_ROOT
147
148 %{__make} install \
149         DESTDIR=$RPM_BUILD_ROOT \
150         m4datadir=%{_aclocaldir}
151
152 rm -f $RPM_BUILD_ROOT%{_libdir}/libguile-gnutls-*.{la,a}
153
154 %find_lang %{name}
155
156 %clean
157 rm -rf $RPM_BUILD_ROOT
158
159 %post
160 /sbin/ldconfig
161 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
162
163 %postun
164 /sbin/ldconfig
165 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
166
167 %post   c++ -p /sbin/ldconfig
168 %postun c++ -p /sbin/ldconfig
169
170 %post   -n guile-gnutls -p /sbin/ldconfig
171 %postun -n guile-gnutls -p /sbin/ldconfig
172
173 %files -f %{name}.lang
174 %defattr(644,root,root,755)
175 %doc AUTHORS ChangeLog NEWS README THANKS
176 %attr(755,root,root) %{_bindir}/certtool
177 %attr(755,root,root) %{_bindir}/gnutls-*
178 %attr(755,root,root) %{_bindir}/psktool
179 %attr(755,root,root) %{_bindir}/srptool
180 %attr(755,root,root) %{_libdir}/libgnutls.so.*.*.*
181 %attr(755,root,root) %{_libdir}/libgnutls-extra.so.*.*.*
182 %attr(755,root,root) %{_libdir}/libgnutls-openssl.so.*.*.*
183 %{_mandir}/man1/certtool.1*
184 %{_mandir}/man1/gnutls-*.1*
185 %{_mandir}/man1/psktool.1*
186 %{_mandir}/man1/srptool.1*
187 %{_infodir}/gnutls.info*
188 %{_infodir}/gnutls-*.png
189
190 %files devel
191 %defattr(644,root,root,755)
192 %attr(755,root,root) %{_bindir}/libgnutls-config
193 %attr(755,root,root) %{_bindir}/libgnutls-extra-config
194 %attr(755,root,root) %{_libdir}/libgnutls.so
195 %attr(755,root,root) %{_libdir}/libgnutls-extra.so
196 %attr(755,root,root) %{_libdir}/libgnutls-openssl.so
197 %{_libdir}/libgnutls.la
198 %{_libdir}/libgnutls-extra.la
199 %{_libdir}/libgnutls-openssl.la
200 %{_includedir}/gnutls
201 %exclude %{_includedir}/gnutls/gnutlsxx.h
202 %{_aclocaldir}/libgnutls.m4
203 %{_aclocaldir}/libgnutls-extra.m4
204 %{_pkgconfigdir}/gnutls.pc
205 %{_pkgconfigdir}/gnutls-extra.pc
206 %{_mandir}/man3/*gnutls*.3*
207
208 %files static
209 %defattr(644,root,root,755)
210 %{_libdir}/libgnutls.a
211 %{_libdir}/libgnutls-extra.a
212 %{_libdir}/libgnutls-openssl.a
213
214 %files c++
215 %defattr(644,root,root,755)
216 %attr(755,root,root) %{_libdir}/libgnutlsxx.so.*.*.*
217
218 %files c++-devel
219 %defattr(644,root,root,755)
220 %attr(755,root,root) %{_libdir}/libgnutlsxx.so
221 %{_libdir}/libgnutlsxx.la
222 %{_includedir}/gnutls/gnutlsxx.h
223
224 %files c++-static
225 %defattr(644,root,root,755)
226 %{_libdir}/libgnutlsxx.a
227
228 %files -n guile-gnutls
229 %defattr(644,root,root,755)
230 %attr(755,root,root) %{_libdir}/libguile-gnutls-v-0.so.*.*.*
231 %attr(755,root,root) %ghost %{_libdir}/libguile-gnutls-v-0.so.0
232 %attr(755,root,root) %{_libdir}/libguile-gnutls-v-0.so
233 %attr(755,root,root) %{_libdir}/libguile-gnutls-extra-v-0.so.*.*.*
234 %attr(755,root,root) %ghost %{_libdir}/libguile-gnutls-extra-v-0.so.0
235 %attr(755,root,root) %{_libdir}/libguile-gnutls-extra-v-0.so
236 %{_datadir}/guile/site/gnutls.scm
237 %dir %{_datadir}/guile/site/gnutls
238 %{_datadir}/guile/site/gnutls/extra.scm
This page took 0.225387 seconds and 2 git commands to generate.