File gnu-crypto.spec of Package gnu-crypto

# vim: foldcolumn=4 foldmarker=>>,<< foldmethod=marker foldlevel=42
#
# spec file for package gnu-crypto
#
# Copyright (c) 2013 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/
#


Name:           gnu-crypto
BuildRequires:  ant
BuildRequires:  classpath
BuildRequires:  groff
BuildRequires:  java-1_5_0-gcj-compat-devel
BuildRequires:  texinfo
BuildRequires:  texlive
BuildRequires:  unzip
#antlr
Version:        2.0.1
Release:        0
Summary:        GNU Crypto
License:        GPL-2.0+
Group:          Development/Languages/Java
Url:            http://www.gnu.org/software/gnu-crypto/
Source:         %{name}-%{version}.tar.bz2
Patch0:         sasl-functions.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch
Provides:       jce

%description
GNU Crypto, part of the GNU project, released under the aegis of GNU,
aims at providing free, versatile, high-quality, and provably correct
implementations of cryptographic primitives and tools in the Java
programming language for use by programmers and end-users.

%prep
%setup
%patch0 
#<< prep
#>> build

%build
CLASSPATH=$(build-classpath glibj) ant jar
#<< build
#>> install

%install
mkdir -p $RPM_BUILD_ROOT/%{_javadir}
cp lib/*.jar $RPM_BUILD_ROOT/%{_javadir}
#<< install

%files
%defattr(-,root,root)   
%{_javadir}/*

#<< 

%changelog
openSUSE Build Service is sponsored by