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