File iText.spec of Package iText

Name:           iText 
Version:        5.1.2 
Release:        1
License:        Mozilla Public License
Url:            http://www.lowagie.com/iText/
Requires:       java >= 1.6.0
BuildRequires:  unzip
BuildRequires:  update-alternatives 
BuildRequires:  java-devel
BuildRequires:  ant 
BuildRequires:  ant-nodeps 
Group:          Development/Libraries/Java 
Summary:        iText is a Java library to generate PDF files 
Source0:        http://sourceforge.net/settings/mirror_choices?projectname=itext&filename=%{name}/%{name}%{version}/itext-%{version}.zip
#Source0:       %{name}-src-%{version}.tar.gz
Source1:	docs.tar.gz
BuildArch:      noarch 
BuildRoot:      %{_tmppath}/%{name}-%{version}-build


%description
iText is an ideal library for developers looking to enhance web- and other applications with dynamic PDF document generation and/or manipulation. iText is not an end-user tool. Typically you won't use it on your Desktop as you would use Acrobat or any other PDF application. Rather, you'll build iText into your own applications so that you can automate the PDF creation and manipulation process. For instance in one or more of the following situations:

    * Due to time or size, the PDF documents can't be produced manually.
    * The content of the document must be calculated or based on user input.
    * The content needs to be customized or personalized.
    * The PDF content needs to be served in a web environment.
    * Documents are to be created in "batch process" mode.

Author(s):
------------
     Bruno Lowagie <itext-questions@lists.sourceforge.net>

%package javadoc
Summary:      Javadoc for %{name}
Group:        Development/Documentation

%description javadoc
%{summary}.

%prep
# rm -rf  

#%setup -q -n %{name}-%{version}
%setup -c %{name}-%{version}

%build
%ant -f src/build.xml jar

%install

%post

%clean
%__rm -rf "%{buildroot}"

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

%doc

%files javadoc

%changelog
openSUSE Build Service is sponsored by