1 # TODO: switch back to system libtasn1 when possible
2 Summary: The GNU Transport Layer Security Library
3 Summary(pl): Biblioteka GNU TLS (Transport Layer Security)
9 Source0: ftp://ftp.gnutls.org/pub/gnutls/devel/%{name}-%{version}.tar.bz2
10 # Source0-md5: 585139a0da1385a5a0d97a610de850fe
11 Patch0: %{name}-info.patch
12 URL: http://www.gnu.org/software/gnutls/
13 BuildRequires: autoconf >= 2.59
14 BuildRequires: automake >= 1:1.9
15 BuildRequires: gettext-devel
16 BuildRequires: libcfg+-devel
17 BuildRequires: libgcrypt-devel >= 1.2.2
18 BuildRequires: libtasn1-devel >= 0.3.1
19 BuildRequires: libtool >= 2:1.5
20 BuildRequires: lzo-devel
21 BuildRequires: opencdk-devel >= 0.5.5
22 BuildRequires: readline-devel
23 BuildRequires: texinfo >= 4.8
24 BuildRequires: zlib-devel
25 Requires(post,postun): /sbin/ldconfig
26 Requires: libgcrypt >= 1.2.2
27 Requires: libtasn1 >= 0.3.1
28 Requires: opencdk >= 0.5.5
29 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32 GnuTLS is a project that aims to develop a library which provides a
33 secure layer, over a reliable transport layer (ie. TCP/IP). Currently
34 the gnuTLS library implements the proposed standards by the IETF's TLS
38 GnuTLS to projekt maj±cy na celu stworzenie biblioteki udostêpniaj±cej
39 pow³okê bezpieczeñstwa ponad pow³ok± transportow± (np. TCP/IP).
40 Aktualnie biblioteka gnuTLS implementuje standardy proponowane przez
41 grupê robocz± IETF TLS.
44 Summary: Header files etc to develop gnutls applications
45 Summary(pl): Pliki nag³ówkowe i inne do gnutls
46 Group: Development/Libraries
47 Requires: %{name} = %{version}-%{release}
48 Requires: libgcrypt-devel >= 1.2.2
49 Requires: libtasn1-devel >= 0.3.1
50 Requires: opencdk-devel
54 Header files etc to develop gnutls applications.
56 %description devel -l pl
57 Pliki nag³ówkowe i inne do gnutls.
60 Summary: Static gnutls library
61 Summary(pl): Biblioteka statyczna gnutls
62 Group: Development/Libraries
63 Requires: %{name}-devel = %{version}-%{release}
66 Static gnutls library.
68 %description static -l pl
69 Biblioteka statyczna gnutls.
78 %{__aclocal} -I m4 -I gl/m4
83 --disable-dependency-tracking
88 rm -rf $RPM_BUILD_ROOT
91 DESTDIR=$RPM_BUILD_ROOT \
92 m4datadir=%{_aclocaldir}
97 rm -rf $RPM_BUILD_ROOT
101 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
105 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
107 %files -f %{name}.lang
108 %defattr(644,root,root,755)
109 %doc AUTHORS ChangeLog NEWS README THANKS
110 %attr(755,root,root) %{_bindir}/certtool
111 %attr(755,root,root) %{_bindir}/gnutls*
112 %attr(755,root,root) %{_bindir}/psktool
113 %attr(755,root,root) %{_bindir}/srptool
114 %attr(755,root,root) %{_libdir}/lib*.so.*.*
115 %{_mandir}/man1/certtool.1*
116 %{_mandir}/man1/gnutls-*
117 %{_mandir}/man1/psktool.1*
118 %{_mandir}/man1/srptool.1*
122 %defattr(644,root,root,755)
123 %attr(755,root,root) %{_bindir}/libgnutls*-config
124 %attr(755,root,root) %{_libdir}/lib*.so
126 %{_includedir}/gnutls
128 %{_pkgconfigdir}/*.pc
129 %{_mandir}/man3/*gnutls*.3*
132 %defattr(644,root,root,755)