author | qc161282 |
Fri, 18 Sep 2009 12:01:11 +0000 | |
changeset 16590 | acc87ff953f3 |
parent 16434 | f21f22550fe9 |
child 16731 | 540063050ed0 |
permissions | -rw-r--r-- |
9397 | 1 |
# |
15647 | 2 |
# License 2009 Sun Microsystems Inc. |
9397 | 3 |
# This file and all modifications and additions to the pristine |
4 |
# package are under the same license as the package itself. |
|
5 |
# |
|
16434 | 6 |
%define owner jefftsai |
14822 | 7 |
# bugdb: savannah.gnu.org |
9397 | 8 |
# |
16429 | 9 |
|
10 |
%define OSR 9490:2.4.x |
|
11 |
||
9397 | 12 |
Name: gnutls |
14540 | 13 |
License: LGPL v2.1 |
16590 | 14 |
Version: 2.8.4 |
9397 | 15 |
Release: 1 |
16 |
Vendor: Sun Microsystems, Inc. |
|
17 |
Distribution: Java Desktop System |
|
18 |
Copyright: LGPL/GPL |
|
19 |
BuildRoot: %{_tmppath}/%{name}-%{version}-root |
|
20 |
Docdir: %{_datadir}/doc |
|
21 |
Autoreqprov: on |
|
22 |
URL: http://www.gnutls.org |
|
23 |
Source: ftp://ftp.gnutls.org/pub/gnutls/%{name}-%{version}.tar.bz2 |
|
13613 | 24 |
%if %build_l10n |
9397 | 25 |
Source1: l10n-configure.sh |
13613 | 26 |
%endif |
9397 | 27 |
|
15818 | 28 |
# date:2009-05-31 owner:jefftsai type:branding |
29 |
Patch1: gnutls-01-not-build-example.diff |
|
30 |
||
9397 | 31 |
%define glib2_version 2.0 |
32 |
%define libgcrypt_version 1.1.12 |
|
33 |
BuildRequires: glibc-devel |
|
34 |
BuildRequires: libtool |
|
35 |
BuildRequires: glib2-devel >= %{glib2_version} |
|
36 |
BuildRequires: libgcrypt >= %{libgcrypt_version} |
|
37 |
Summary: The GnuTLS implements the proposed standards by the IETF's TLS working group (RFC2246, TLS 1.0). |
|
38 |
Group: System Environment/Libraries |
|
39 |
Requires: libgcrypt >= %{libgcrypt_version} |
|
40 |
Requires: glib2 >= %{glib2_version} |
|
41 |
||
42 |
%description |
|
43 |
GnuTLS is a project that aims to develop a library which provides a |
|
44 |
secure layer, over a reliable transport layer. Currently the GnuTLS |
|
45 |
library implements the proposed standards by the IETF's TLS working |
|
46 |
group (RFC2246, TLS 1.0). |
|
47 |
||
48 |
%package -n gnutls-devel |
|
49 |
Summary: The GnuTLS implements the proposed standards by the IETF's TLS working group (RFC2246, TLS 1.0). |
|
50 |
Group: Development/Libraries |
|
51 |
Requires: %{name} = %{version}-%{release} |
|
52 |
Requires: glib2-devel >= %{glib2_version} |
|
53 |
Requires: libgcrypt >= %{libgcrypt_version} |
|
54 |
||
55 |
%description -n gnutls-devel |
|
56 |
GnuTLS is a project that aims to develop a library which provides a |
|
57 |
secure layer, over a reliable transport layer. Currently the GnuTLS |
|
58 |
library implements the proposed standards by the IETF's TLS working |
|
59 |
group (RFC2246, TLS 1.0). |
|
60 |
||
61 |
%prep |
|
62 |
%setup -q -n %{name}-%{version} |
|
15818 | 63 |
%patch1 -p1 |
9397 | 64 |
|
65 |
%build |
|
66 |
%ifos linux |
|
67 |
if [ -x /usr/bin/getconf ]; then |
|
68 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
69 |
fi |
|
70 |
%else |
|
71 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
|
72 |
%endif |
|
73 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
74 |
CPUS=1 |
|
75 |
fi |
|
76 |
||
9632 | 77 |
export CFLAGS="%optflags" |
78 |
export CXXFLAGS="%cxx_optflags" |
|
79 |
export LDFLAGS="%_ldflags" |
|
11556
de1748c0681b
Currently the security team will take over ownership of GnuTLS.
qc161282
parents:
11417
diff
changeset
|
80 |
|
13613 | 81 |
%if %build_l10n |
82 |
sh %SOURCE1 --enable-copyright |
|
83 |
%endif |
|
15818 | 84 |
|
9632 | 85 |
./configure \ |
86 |
--prefix=%{_prefix} \ |
|
87 |
--libdir=%{_libdir} \ |
|
88 |
--bindir=%{_bindir} \ |
|
89 |
--sysconfdir=%{_sysconfdir} \ |
|
90 |
--mandir=%{_mandir} \ |
|
91 |
--infodir=%{_datadir}/info \ |
|
92 |
--localstatedir=%{_localstatedir} \ |
|
16590 | 93 |
--enable-guile=no \ |
94 |
--disable-camellia |
|
9632 | 95 |
|
96 |
make -j $CPUS |
|
9397 | 97 |
|
98 |
%install |
|
9632 | 99 |
make install DESTDIR=$RPM_BUILD_ROOT |
9397 | 100 |
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';' |
101 |
find $RPM_BUILD_ROOT -type f -name "*.a" -exec rm -f {} ';' |
|
102 |
||
103 |
%clean |
|
9632 | 104 |
rm -rf $RPM_BUILD_ROOT |
105 |
||
106 |
%post |
|
107 |
ldconfig |
|
9397 | 108 |
|
9632 | 109 |
%files |
110 |
%defattr(-, root, root) |
|
15827 | 111 |
%doc lib/COPYING ChangeLog AUTHORS INSTALL NEWS README |
9632 | 112 |
%{_libdir}/lib*.so.* |
113 |
||
114 |
%files -n gnutls-devel |
|
115 |
%defattr(-, root, root) |
|
116 |
%{_libdir}/lib*.so |
|
117 |
%{_includedir}/* |
|
9397 | 118 |
|
119 |
%changelog |
|
16590 | 120 |
* Fri Sep 18 2009 - [email protected] |
121 |
- Bump to 2.8.4 |
|
16278 | 122 |
* Web Aug 14 2009 - [email protected] |
123 |
- Bump to 2.8.3 |
|
16245 | 124 |
* Web Aug 11 2009 - [email protected] |
125 |
- Bump to 2.8.2 |
|
15890 | 126 |
* Fri Jun 12 2009 - [email protected] |
127 |
- Bump to 2.8.1 |
|
15827 | 128 |
* Mon Jun 01 2009 - [email protected] |
129 |
- Ship lib/COPYING |
|
15818 | 130 |
* Mon May 31 2009 - [email protected] |
131 |
- Bump to 2.8.0 |
|
132 |
- Add path -01-not-build-example to disable building of example |
|
15704 | 133 |
* Mon May 04 2009 - [email protected] |
134 |
- Bump to 2.6.6 |
|
15647 | 135 |
* Fri Apr 17 2009 - [email protected] |
136 |
- Bump to 2.6.5 |
|
15072 | 137 |
* Thu Feb 12 2008 - [email protected] |
138 |
- Bump to 2.6.4 |
|
139 |
- Remove patch -01-return-void, upstreamed |
|
14997 | 140 |
* Mon Feb 02 2008 - [email protected] |
141 |
- Bump to 2.6.3 |
|
14822 | 142 |
* Fri Dec 26 2008 - [email protected] |
143 |
- Change the bug db. |
|
14589 | 144 |
* Thu Nov 13 2008 - [email protected] |
145 |
- Bump to 2.6.2 |
|
146 |
- Add patch -01-return-void to fix |
|
147 |
#106549 |
|
14540 | 148 |
* Fri Oct 31 2008 - [email protected] |
149 |
- Change the license tag. |
|
12960 | 150 |
* Mon Jul 31 2008 - [email protected] |
151 |
- Use the libtasn1 in the system |
|
12663 | 152 |
* Mon Jun 16 2008 - [email protected] |
153 |
- Bump to 2.2.5. |
|
12647 | 154 |
* Thu Jun 12 2008 - [email protected] |
155 |
- Add an option to disable guile |
|
12609 | 156 |
* Thu Jun 06 2008 - [email protected] |
12647 | 157 |
- Bump to 2.2.4. |
11572 | 158 |
* Thu Jan 31 2008 - [email protected] |
12647 | 159 |
- Remove patches for 2.2 |
11556
de1748c0681b
Currently the security team will take over ownership of GnuTLS.
qc161282
parents:
11417
diff
changeset
|
160 |
* Wed Jan 30 2008 - [email protected] |
11557 | 161 |
- Currently the security team will take over ownership of GnuTLS. Therefore |
162 |
rollback to 1.6.3 and stop upgrading. |
|
11256 | 163 |
* Wed Nov 28 2007 - [email protected] |
164 |
- Bump to 2.0.4 |
|
165 |
- Add patch -02-ext-authz.diff. Fix build error #106103 |
|
11123 | 166 |
* Tue Nov 06 2007 - [email protected] |
167 |
- Back to 1.6.3 |
|
11118 | 168 |
* Mon Nov 05 2007 - [email protected] |
11119 | 169 |
- Rename patch file name. |
170 |
* Mon Nov 05 2007 - [email protected] |
|
11118 | 171 |
- Bump to 2.0.1 |
172 |
- Add patch -02-inline. |
|
10152 | 173 |
* Tue Jul 03 2007 - [email protected] |
174 |
- Bump to 1.6.3 |
|
9632 | 175 |
* Tue Mar 27 2007 - [email protected] |
176 |
- clean up |
|
9397 | 177 |
* Tue Jan 16 2007 - [email protected] |
178 |
- Bump to 1.6.1. |
|
179 |
* Thu Apr 20 2006 - [email protected] |
|
180 |
- Bump to 1.2.10. |
|
181 |
* Tue Apr 04 2006 - [email protected] |
|
182 |
- Remove .a/.la files part in linux spec. |
|
183 |
* Thu Mar 30 2006 - [email protected] |
|
184 |
- Alter "remove *.a/*.la files part" to SUNWgnutls.spec |
|
185 |
* Thu Dec 22 2005 - [email protected] |
|
186 |
- Bump to 1.2.9. |
|
187 |
* Wed Oct 26 2005 - [email protected] |
|
188 |
- undelete files under /usr/bin to enable SSL in libsoup. |
|
189 |
* Mon Oct 10 2005 - [email protected] |
|
190 |
- Bump to 1.2.8. |
|
191 |
* Tue Sep 6 2005 - [email protected] |
|
192 |
- Bump to 1.2.6. |
|
193 |
- Fix Source error. |
|
194 |
* Wed Aug 31 2005 - [email protected] |
|
195 |
- Correct URL and Source |
|
196 |
- Change Version to 1.1.23 (<1.0.0), or evolution2.x SSL will be disabled. |
|
197 |
- Change Distribution to Java Desktop System |
|
198 |
- Remove obsoleted patch gnutls-01-forte-build.diff |
|
199 |
* Tue Sep 21 2004 - [email protected] |
|
200 |
- moved spec file from spec-files to spec-files/Solaris/extra-specs. |
|
201 |
The patch also moved from spec-files/patches to spec-files/Solaris/patches |
|
202 |
Now Solaris and Linux uses different version of gnutls. |
|
203 |
* Sun Aug 29 2004 - [email protected] |
|
204 |
- remove unpackaged files |
|
205 |
* Wed Jul 07 2004 - [email protected] |
|
206 |
- added "-j $CPUS" to make to speed up builds |