File gnu-inetlib.spec of Package gnu-inetlib

#
# spec file for package gnu-inetlib (Version 1.1)
#
# Copyright (c) 2007 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:           gnu-inetlib
BuildRequires:  ant antlr classpath java-1_4_2-gcj-compat-devel unzip
%define official_name inetlib
License:        GNU General Public License (GPL)
Group:          Development/Libraries/Java
Autoreqprov:    on
Version:        1.1
Release:        19
Summary:        Library of clients for common internet protocols
URL:            http://www.gnu.org/software/classpath/inetlib.html
Source:         %{official_name}-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArchitectures: noarch
Provides:       inetlib
#ExclusiveArch: %ix86

%description
GNU inetlib is a library of clients for common internet protocols. The
following protocols are currently supported: Hypertext Transfer
Protocol (HTTP) File Transfer Protocol (FTP) Simple Mail Transfer
Protocol (SMTP) Internet Message Access Protocol (IMAP) Post Office
Protocol (POP) Network News Transfer Protocol (NNTP) Lightweight
Directory Access Protocol (LDAP) (alpha) Gopher Finger The inetlib
library is similar in intent to the Python internet protocols library -
the API is as close as possible to the intent of the underlying
protocol design. This allows for very efficient coding of user agents.
Additionally, inetlib includes URLStreamHandler implementations for
some of the protocols. These can be used to add support for the
corresponding URL scheme to the java.net.URL class.



Authors:
--------
    Chris Burdess

%prep
%setup -n %{official_name}
#<< prep
#>> build

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

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

%clean
rm -rf $RPM_BUILD_ROOT
#>> files

%files
%defattr(-,root,root)   
%{_javadir}/*
#<< 
# vim: foldcolumn=4 foldmarker=>>,<< foldmethod=marker foldlevel=42

%changelog
* Wed May 02 2007 - dbornkessel@suse.de
- added unzip to BuildRequires
* Thu Jan 11 2007 - dbornkessel@suse.de
- first version (dependency for tomcat55)
openSUSE Build Service is sponsored by