270 lines
9.3 KiB
RPMSpec
270 lines
9.3 KiB
RPMSpec
Name: libgnutls2
|
|
Version: 2.12.19
|
|
Release: 3mamba
|
|
Summary: A library which provides a secure layer, over a reliable transport layer
|
|
Group: System/Libraries
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: http://www.gnu.org/software/gnutls/
|
|
Source0: ftp://gnutls.hellug.gr/pub/gnutls/gnutls-%{version}.tar.bz2
|
|
Source1: libgnutls-config
|
|
License: LGPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: libcfg+-devel
|
|
BuildRequires: libgcc
|
|
BuildRequires: libgcrypt-devel
|
|
BuildRequires: libgmp-devel
|
|
BuildRequires: libgpg-error-devel
|
|
BuildRequires: libguile-devel
|
|
BuildRequires: libltdl-devel
|
|
BuildRequires: libncurses-devel
|
|
BuildRequires: libnettle-devel
|
|
BuildRequires: libreadline-devel
|
|
BuildRequires: libstdc++6-devel
|
|
BuildRequires: libtasn1-devel
|
|
BuildRequires: libz-devel
|
|
BuildRequires: p11-kit-devel
|
|
BuildRequires: pkg-config
|
|
## AUTOBUILDREQ-END
|
|
BuildRequires: liblzo-devel
|
|
BuildRequires: libcfg+-devel >= 0.6.2-6mamba
|
|
Requires(post):%{__install_info}
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
%description
|
|
GnuTLS is a project that aims to develop a library which provides a secure layer, over a reliable transport layer.
|
|
Currently the GnuTLS library implements the proposed standards by the IETF's TLS working group.
|
|
Quoting from RFC2246 - the TLS 1.0 protocol specification:
|
|
The TLS protocol provides communications privacy over the Internet.
|
|
The protocol allows client/server applications to communicate in a way that is designed to prevent eavesdropping, tampering, or message forgery.
|
|
|
|
%package devel
|
|
Group: Development/Libraries
|
|
Summary: Static libraries and headers for %{name}
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
Requires: %{name}-guile = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
%description devel
|
|
GnuTLS is a project that aims to develop a library which provides a secure layer, over a reliable transport layer.
|
|
Currently the GnuTLS library implements the proposed standards by the IETF's TLS working group.
|
|
Quoting from RFC2246 - the TLS 1.0 protocol specification:
|
|
The TLS protocol provides communications privacy over the Internet.
|
|
The protocol allows client/server applications to communicate in a way that is designed to prevent eavesdropping, tampering, or message forgery.
|
|
|
|
This package contains static libraries and header files need for development.
|
|
|
|
%package guile
|
|
Group: System/Libraries
|
|
Summary: Guile components of %{name}
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
%description guile
|
|
GnuTLS is a project that aims to develop a library which provides a secure layer, over a reliable transport layer.
|
|
Currently the GnuTLS library implements the proposed standards by the IETF's TLS working group.
|
|
Quoting from RFC2246 - the TLS 1.0 protocol specification:
|
|
The TLS protocol provides communications privacy over the Internet.
|
|
The protocol allows client/server applications to communicate in a way that is designed to prevent eavesdropping, tampering, or message forgery.
|
|
|
|
This package contains the guile components.
|
|
|
|
%package tools
|
|
Group: System/Tools
|
|
Summary: Tools provided with %{name}
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
%description tools
|
|
GnuTLS is a project that aims to develop a library which provides a secure layer, over a reliable transport layer.
|
|
Currently the GnuTLS library implements the proposed standards by the IETF's TLS working group.
|
|
Quoting from RFC2246 - the TLS 1.0 protocol specification:
|
|
The TLS protocol provides communications privacy over the Internet.
|
|
The protocol allows client/server applications to communicate in a way that is designed to prevent eavesdropping, tampering, or message forgery.
|
|
|
|
This package contains static libraries and header files need for development.
|
|
|
|
%prep
|
|
%setup -q -n gnutls-%{version}
|
|
|
|
%build
|
|
%configure \
|
|
LDFLAGS="-ldl -ltasn1 -lgpg-error -lcrypt -lgcrypt" \
|
|
%if "%{_host}" != "%{_build}"
|
|
--with-libgcrypt-prefix=%{_prefix}/%{_host}/%{_lib} \
|
|
--with-libtasn1-prefix=%{_prefix}/%{_host}/%{_lib} \
|
|
%endif
|
|
|
|
%make
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall
|
|
|
|
install -pm 755 %{SOURCE1} %{buildroot}%{_bindir}/libgnutls-config
|
|
install -pm 755 %{SOURCE1} %{buildroot}%{_bindir}/libgnutls-extra-config
|
|
|
|
rm -f %{buildroot}%{_libdir}/libgnutls-openssl.*
|
|
|
|
%find_lang libgnutls
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%post -p /sbin/ldconfig
|
|
%postun -p /sbin/ldconfig
|
|
|
|
%post devel
|
|
%install_info gnutls.info
|
|
|
|
%preun devel
|
|
%uninstall_info gnutls.info
|
|
exit 0
|
|
|
|
%files tools
|
|
%defattr(-,root,root)
|
|
%{_bindir}/certtool
|
|
%{_bindir}/gnutls-cli*
|
|
%{_bindir}/gnutls-serv*
|
|
#%{_bindir}/gnutls-srpcrypt
|
|
%{_bindir}/p11tool
|
|
%{_bindir}/psktool
|
|
%{_bindir}/srptool
|
|
%{_infodir}/pkcs11-vision.png.gz
|
|
%{_mandir}/man1/certtool.*
|
|
%{_mandir}/man1/gnutls-cli.*
|
|
%{_mandir}/man1/gnutls-cli-debug.*
|
|
%{_mandir}/man1/gnutls-serv.*
|
|
%{_mandir}/man1/p11tool.*
|
|
%{_mandir}/man1/psktool.*
|
|
%{_mandir}/man1/srptool.*
|
|
%{_infodir}/gnutls-*.gz
|
|
|
|
%files -f libgnutls.lang
|
|
%defattr(-,root,root)
|
|
%{_libdir}/libgnutls.so.*
|
|
%{_libdir}/libgnutls-extra.so.*
|
|
%{_libdir}/libgnutlsxx.so.*
|
|
%doc AUTHORS COPYING
|
|
|
|
%if "%{_host}" == "%{_build}"
|
|
%files guile
|
|
%defattr(-,root,root)
|
|
%{_libdir}/libguile-gnutls-extra-v-1.so.*
|
|
%{_libdir}/libguile-gnutls-v-1.so.*
|
|
%{_datadir}/guile/site/gnutls.scm
|
|
%{_datadir}/guile/site/gnutls/extra.scm
|
|
%endif
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%{_bindir}/libgnutls-config
|
|
%{_bindir}/libgnutls-extra-config
|
|
#%{_datadir}/aclocal/*
|
|
%{_includedir}/gnutls/*.h
|
|
%{_libdir}/*.a
|
|
%{_libdir}/*.la
|
|
%{_libdir}/*.so
|
|
%{_libdir}/pkgconfig/*.pc
|
|
%{_infodir}/gnutls.*
|
|
%{_mandir}/man3/*
|
|
%doc ChangeLog NEWS README THANKS
|
|
|
|
%changelog
|
|
* Fri Jul 27 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 2.12.19-3mamba
|
|
- libgnutls2-guile: require libgnutls2, not libgnutls
|
|
|
|
* Thu Jul 26 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 2.12.19-2mamba
|
|
- repackaged to avoid conflicts with gnutls 3
|
|
|
|
* Thu Jul 19 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 2.12.19-1mamba
|
|
- update to 2.12.19
|
|
- renamed fro libgnutls to libgnutls2
|
|
|
|
* Mon Apr 16 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 2.12.18-2mamba
|
|
- rebuilt with libcfg+-0.6.2-5mamba (soname fix)
|
|
|
|
* Tue Apr 03 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 2.12.18-1mamba
|
|
- update to 2.12.18
|
|
|
|
* Fri Dec 17 2010 gil <puntogil@libero.it> 2.10.2-2mamba
|
|
- add libgnutls{,-extra}-config scripts
|
|
|
|
* Thu Nov 11 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 2.10.2-1mamba
|
|
- update to 2.10.2
|
|
- don't build and obsolete libgnutls13
|
|
|
|
* Mon Aug 16 2010 Automatic Build System <autodist@mambasoft.it> 2.10.1-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Mon Jul 12 2010 Automatic Build System <autodist@mambasoft.it> 2.10.0-2mamba
|
|
- automatic rebuild by autodist
|
|
|
|
* Tue Jun 29 2010 Automatic Build System <autodist@mambasoft.it> 2.10.0-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Tue Jun 22 2010 Automatic Build System <autodist@mambasoft.it> 2.8.6-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Wed Jan 20 2010 Automatic Build System <autodist@mambasoft.it> 2.8.5-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Fri Oct 02 2009 Automatic Build System <autodist@mambasoft.it> 2.8.4-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Sat Aug 15 2009 Automatic Build System <autodist@mambasoft.it> 2.8.3-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Wed Jul 01 2009 Automatic Build System <autodist@mambasoft.it> 2.8.1-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Fri May 01 2009 Automatic Build System <autodist@mambasoft.it> 2.6.6-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Fri Apr 17 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 2.6.5-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Tue Mar 24 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 2.6.4-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Wed Jan 07 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 2.6.3-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Mon Oct 20 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 2.4.2-2mamba
|
|
- created libgnutls13 compatibility package
|
|
- disabled libgnutls12 compatibility package
|
|
|
|
* Fri Oct 10 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 2.4.2-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Tue Jul 03 2007 Aleph0 <aleph0@openmamba.org> 1.6.3-1mamba
|
|
- update to 1.6.3
|
|
- conditionally build the compatibility package libgnutls12
|
|
- do not build the libgnutls11 compatibility package
|
|
|
|
* Tue Oct 17 2006 Davide Madrisan <davide.madrisan@qilinux.it> 1.2.10-3qilnx
|
|
- added missing build requirement
|
|
|
|
* Fri Oct 13 2006 Davide Madrisan <davide.madrisan@qilinux.it> 1.2.10-2qilnx
|
|
- security update agains CVE-2006-4790 (bugtraq#242)
|
|
|
|
* Fri Feb 10 2006 Davide Madrisan <davide.madrisan@qilinux.it> 1.2.10-1qilnx
|
|
- update to version 1.2.10 by autospec (this release fixes several serious
|
|
bugs that would make the DER decoder in libtasn1 crash on invalid input)
|
|
- build requires libtasn1-devel >= 0.2.18 for security
|
|
|
|
* Wed Nov 09 2005 Davide Madrisan <davide.madrisan@qilinux.it> 1.2.9-1qilnx
|
|
- update to version 1.2.9 by autospec
|
|
|
|
* Mon Oct 10 2005 Davide Madrisan <davide.madrisan@qilinux.it> 1.2.8-1qilnx
|
|
- update to version 1.2.8 by autospec
|
|
- conditionally build the compatibility package libgnutls11
|
|
|
|
* Fri Apr 29 2005 Davide Madrisan <davide.madrisan@qilinux.it> 1.0.25-1qilnx
|
|
- update to version 1.0.25 by autospec
|
|
- also fixes a Denial of Service problem
|
|
|
|
* Mon Sep 13 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.20-1qilnx
|
|
- package created by autospec
|
|
|