gnutls.spec revision 15573
10139N/A#
10139N/A# License (c) 2003 Sun Microsystems Inc.
10139N/A# This file and all modifications and additions to the pristine
10139N/A# package are under the same license as the package itself.
10139N/A#
10139N/A# Owner: jefftsai
10139N/A# bugdb: savannah.gnu.org
10139N/A#
10139N/AName: gnutls
10139N/ALicense: LGPL v2.1
10139N/A# NOTE: DO NOT BUMP. The security team will take over ownership of GnuTLS.
12132N/A# Therefore stop upgrading.
12132N/AVersion: 2.6.2
14427N/ARelease: 1
10139N/AVendor: Sun Microsystems, Inc.
10139N/ADistribution: Java Desktop System
10139N/ACopyright: LGPL/GPL
10139N/ABuildRoot: %{_tmppath}/%{name}-%{version}-root
10139N/ADocdir: %{_datadir}/doc
10139N/AAutoreqprov: on
14445N/AURL: http://www.gnutls.org
10139N/ASource: ftp://ftp.gnutls.org/pub/gnutls/%{name}-%{version}.tar.bz2
10139N/A%if %build_l10n
10139N/ASource1: l10n-configure.sh
10139N/A%endif
10139N/A
10139N/A# date:2008-11-13 bugzilla:106549 owner:jefftsai type:bug
10139N/APatch1: gnutls-01-return-void.diff
10139N/A
10139N/A%define glib2_version 2.0
10139N/A%define libgcrypt_version 1.1.12
10139N/ABuildRequires: glibc-devel
10139N/ABuildRequires: libtool
10139N/ABuildRequires: glib2-devel >= %{glib2_version}
10139N/ABuildRequires: libgcrypt >= %{libgcrypt_version}
10139N/ASummary: The GnuTLS implements the proposed standards by the IETF's TLS working group (RFC2246, TLS 1.0).
10139N/AGroup: System Environment/Libraries
10139N/ARequires: libgcrypt >= %{libgcrypt_version}
10139N/ARequires: glib2 >= %{glib2_version}
10139N/A
10139N/A%description
10139N/A GnuTLS is a project that aims to develop a library which provides a
10139N/A secure layer, over a reliable transport layer. Currently the GnuTLS
10139N/A library implements the proposed standards by the IETF's TLS working
10139N/A group (RFC2246, TLS 1.0).
10139N/A
10139N/A%package -n gnutls-devel
10139N/ASummary: The GnuTLS implements the proposed standards by the IETF's TLS working group (RFC2246, TLS 1.0).
10139N/AGroup: Development/Libraries
10139N/ARequires: %{name} = %{version}-%{release}
10139N/ARequires: glib2-devel >= %{glib2_version}
10139N/ARequires: libgcrypt >= %{libgcrypt_version}
10139N/A
10139N/A%description -n gnutls-devel
10668N/A GnuTLS is a project that aims to develop a library which provides a
10668N/A secure layer, over a reliable transport layer. Currently the GnuTLS
10139N/A library implements the proposed standards by the IETF's TLS working
10668N/A group (RFC2246, TLS 1.0).
10139N/A
10139N/A%prep
10139N/A%setup -q -n %{name}-%{version}
10139N/A%patch1 -p1
10139N/A
10139N/A%build
10139N/A%ifos linux
10139N/Aif [ -x /usr/bin/getconf ]; then
10139N/A CPUS=`getconf _NPROCESSORS_ONLN`
10139N/Afi
10139N/A%else
10139N/A CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
10139N/A%endif
10139N/Aif test "x$CPUS" = "x" -o $CPUS = 0; then
10139N/A CPUS=1
10139N/Afi
10139N/A
10139N/Aexport CFLAGS="%optflags"
10139N/Aexport CXXFLAGS="%cxx_optflags"
10139N/Aexport LDFLAGS="%_ldflags"
10139N/A
13864N/A%if %build_l10n
13864N/Ash %SOURCE1 --enable-copyright
10668N/A%endif
10668N/A./configure \
10668N/A --prefix=%{_prefix} \
10139N/A --libdir=%{_libdir} \
10139N/A --bindir=%{_bindir} \
10139N/A --sysconfdir=%{_sysconfdir} \
10139N/A --mandir=%{_mandir} \
--infodir=%{_datadir}/info \
--localstatedir=%{_localstatedir} \
--enable-guile=no
make -j $CPUS
%install
make install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
find $RPM_BUILD_ROOT -type f -name "*.a" -exec rm -f {} ';'
%clean
rm -rf $RPM_BUILD_ROOT
%post
ldconfig
%files
%defattr(-, root, root)
%doc COPYING ChangeLog AUTHORS INSTALL NEWS README
%{_libdir}/lib*.so.*
%files -n gnutls-devel
%defattr(-, root, root)
%{_libdir}/lib*.so
%{_includedir}/*
%changelog
* Fri Dec 26 2008 - jeff.cai@sun.com
- Change the bug db.
* Thu Nov 13 2008 - jeff.cai@sun.com
- Bump to 2.6.2
- Add patch -01-return-void to fix
#106549
* Fri Oct 31 2008 - jeff.cai@sun.com
- Change the license tag.
* Mon Jul 31 2008 - jeff.cai@sun.com
- Use the libtasn1 in the system
* Mon Jun 16 2008 - jeff.cai@sun.com
- Bump to 2.2.5.
* Thu Jun 12 2008 - jeff.cai@sun.com
- Add an option to disable guile
* Thu Jun 06 2008 - jeff.cai@sun.com
- Bump to 2.2.4.
* Thu Jan 31 2008 - jeff.cai@sun.com
- Remove patches for 2.2
* Wed Jan 30 2008 - jeff.cai@sun.com
- Currently the security team will take over ownership of GnuTLS. Therefore
rollback to 1.6.3 and stop upgrading.
* Wed Nov 28 2007 - jeff.cai@sun.com
- Bump to 2.0.4
- Add patch -02-ext-authz.diff. Fix build error #106103
* Tue Nov 06 2007 - jeff.cai@sun.com
- Back to 1.6.3
* Mon Nov 05 2007 - jeff.cai@sun.com
- Rename patch file name.
* Mon Nov 05 2007 - jeff.cai@sun.com
- Bump to 2.0.1
- Add patch -02-inline.
* Tue Jul 03 2007 - jeff.cai@sun.com
- Bump to 1.6.3
* Tue Mar 27 2007 - laca@sun.com
- clean up
* Tue Jan 16 2007 - jedy.wang@sun.com
- Bump to 1.6.1.
* Thu Apr 20 2006 - halton.huo@sun.com
- Bump to 1.2.10.
* Tue Apr 04 2006 - halton.huo@sun.com
- Remove .a/.la files part in linux spec.
* Thu Mar 30 2006 - halton.huo@sun.com
- Alter "remove *.a/*.la files part" to SUNWgnutls.spec
* Thu Dec 22 2005 - damien.carbery@sun.com
- Bump to 1.2.9.
* Wed Oct 26 2005 - halton.huo@sun.com
- undelete files under /usr/bin to enable SSL in libsoup.
* Mon Oct 10 2005 - halton.huo@sun.com
- Bump to 1.2.8.
* Tue Sep 6 2005 - halton.huo@sun.com
- Bump to 1.2.6.
- Fix Source error.
* Wed Aug 31 2005 - halton.huo@sun.com
- Correct URL and Source
- Change Version to 1.1.23 (<1.0.0), or evolution2.x SSL will be disabled.
- Change Distribution to Java Desktop System
- Remove obsoleted patch gnutls-01-forte-build.diff
* Tue Sep 21 2004 - ghee.teo@sun.com
- moved spec file from spec-files to spec-files/Solaris/extra-specs.
The patch also moved from spec-files/patches to spec-files/Solaris/patches
Now Solaris and Linux uses different version of gnutls.
* Sun Aug 29 2004 - laca@sun.com
- remove unpackaged files
* Wed Jul 07 2004 - dermot.mccluskey@sun.com
- added "-j $CPUS" to make to speed up builds