File jessie.spec of Package jessie
#
# spec file for package jessie (Version 1.0.1)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: jessie
BuildRequires: ant antlr classpath cryptix java-1_5_0-gcj-compat-devel unzip
BuildRequires: gnu-crypto
License: GPL v2 or later
Group: Development/Libraries/Java
AutoReqProv: on
Version: 1.0.1
Release: 122
Summary: A cleanroom implementation of the Java Secure Sockets Extension
Url: http://www.nongnu.org/jessie/
#Source: http://syzygy.metastatic.org/jessie/%{name}-%{version}.tar.gz
Source: %{name}-%{version}.tar.bz2
Patch0: %{name}-%{version}-defaulthandler-location.patch
Patch1: %{name}-%{version}-no-clone-exception.patch
Patch2: %{name}-%{version}-build.xml.patch
Patch3: %{name}-%{version}-jdk5-build.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Provides: jsse
BuildArch: noarch
%description
The clean-room JSSE API is quite complete, absent some better
documentation comments. The provider contains most of the necessary
code for the core of the SSL and TLS protocols, and development is
currently focused on stability and the standard extensions to the TLS
protocol.
Authors:
--------
Casey Marshall
Chris Burdess
%package javadoc
Summary: Api documentation for jessie
Group: Documentation/Other
%description javadoc
Api documentation for jessie
Authors:
--------
Casey Marshall
Chris Burdess
%prep
%setup
%patch0 -p1
%patch1 -p1
%patch2 -p1
%patch3 -b .sav
%build
export ANT_OPTS="-Xmx128M"
CLASSPATH=$(build-classpath cryptix) ant all doc
%install
mkdir -p $RPM_BUILD_ROOT/%{_javadir}
cp *.jar $RPM_BUILD_ROOT/%{_javadir}
mkdir -p $RPM_BUILD_ROOT/%{_javadocdir}
cp -a docs/apidocs/* $RPM_BUILD_ROOT/%{_javadocdir}
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%{_javadir}/*
%files javadoc
%defattr(-,root,root)
%{_javadocdir}/*
%changelog
* Mon Jan 21 2008 mvyskocil@suse.cz
- fix the build with java-1_5_0-gcj
* Wed May 02 2007 dbornkessel@suse.de
- added unzip to BuildRequires
* Thu Jan 11 2007 dbornkessel@suse.de
- first version (tomcat55 dependency)