File jessie.spec of Package jessie

#
# spec file for package jessie (Version 1.0.1)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# 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:        231
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
License:        GPL v2 or later
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)
openSUSE Build Service is sponsored by