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