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: 81bed0c3a2b4c6ae20237a3f3c441001
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: libcfg+-devel
16 BuildRequires: libgcrypt-devel >= 1.2.2
17 #BuildRequires: libtasn1-devel >= 0.2.18
18 BuildRequires: libtool >= 2:1.5
19 BuildRequires: lzo-devel
20 BuildRequires: opencdk-devel >= 0.5.5
21 BuildRequires: readline-devel
22 BuildRequires: texinfo >= 4.8
23 BuildRequires: zlib-devel
24 Requires(post,postun): /sbin/ldconfig
25 Requires: libgcrypt >= 1.2.2
26 #Requires: libtasn1 >= 0.2.18
27 Requires: opencdk >= 0.5.5
28 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31 GnuTLS is a project that aims to develop a library which provides a
32 secure layer, over a reliable transport layer (ie. TCP/IP). Currently
33 the gnuTLS library implements the proposed standards by the IETF's TLS
37 GnuTLS to projekt maj±cy na celu stworzenie biblioteki udostêpniaj±cej
38 pow³okê bezpieczeñstwa ponad pow³ok± transportow± (np. TCP/IP).
39 Aktualnie biblioteka gnuTLS implementuje standardy proponowane przez
40 grupê robocz± IETF TLS.
43 Summary: Header files etc to develop gnutls applications
44 Summary(pl): Pliki nag³ówkowe i inne do gnutls
45 Group: Development/Libraries
46 Requires: %{name} = %{version}-%{release}
47 Requires: libgcrypt-devel >= 1.2.2
48 #Requires: libtasn1-devel >= 0.2.18
49 Requires: opencdk-devel
53 Header files etc to develop gnutls applications.
55 %description devel -l pl
56 Pliki nag³ówkowe i inne do gnutls.
59 Summary: Static gnutls library
60 Summary(pl): Biblioteka statyczna gnutls
61 Group: Development/Libraries
62 Requires: %{name}-devel = %{version}-%{release}
65 Static gnutls library.
67 %description static -l pl
68 Biblioteka statyczna gnutls.
75 # supplied libtool is broken (relink)
77 %{__aclocal} -I m4 -I gl/m4
82 --disable-dependency-tracking \
83 --with-included-libtasn1
88 rm -rf $RPM_BUILD_ROOT
91 DESTDIR=$RPM_BUILD_ROOT \
92 m4datadir=%{_aclocaldir}
95 rm -rf $RPM_BUILD_ROOT
99 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
103 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
106 %defattr(644,root,root,755)
107 %doc AUTHORS ChangeLog NEWS README THANKS
108 %attr(755,root,root) %{_bindir}/certtool
109 %attr(755,root,root) %{_bindir}/gnutls*
110 %attr(755,root,root) %{_bindir}/psktool
111 %attr(755,root,root) %{_bindir}/srptool
112 %attr(755,root,root) %{_libdir}/lib*.so.*.*
113 %{_mandir}/man1/certtool.1*
114 %{_mandir}/man1/gnutls-*
115 %{_mandir}/man1/psktool.1*
116 %{_mandir}/man1/srptool.1*
120 %defattr(644,root,root,755)
121 %attr(755,root,root) %{_bindir}/libgnutls*-config
122 %attr(755,root,root) %{_libdir}/lib*.so
124 %{_includedir}/gnutls
126 %{_pkgconfigdir}/*.pc
127 %{_mandir}/man3/*gnutls*.3*
130 %defattr(644,root,root,755)