Репозиторий ALT Linux backports/2.4
Последнее обновление: 9 июля 2008 | Пакетов: 497 | Посещений: 1576811
 поиск   регистрация   авторизация 
 
Группа :: Разработка/Java
Пакет: jakarta-commons-pool

 Главная   Изменения   Спек   Патчи   Загрузить   Bugs and FR 

Name: jakarta-commons-pool
Version: 1.2
Release: alt0.M24.1

Summary: Jakarta Commons Pool Package
License: Apache Software License
Group: Development/Java
Packager: Vladimir Lettiev <crux at altlinux.ru>

Url: http://jakarta.apache.org/commons/pool
Source: http://www.apache.org/dist/jakarta/commons/pool/source/commons-pool-%version-src.tar.gz
Source1: jakarta-commons-pool-build.properties

Patch1: jakarta-commons-pool-build.xml.patch

BuildPreReq: /proc
BuildPreReq: rpm-build-java
BuildPreReq: j2se1.4-sun-devel ant junit jakarta-commons-collections >= 3.1

BuildArch: noarch

Requires: java-common >= 1.2 j2se >= 1.4.2 jakarta-commons-collections >= 3.1

%description
The goal of Pool package it to create and maintain an object
(instance) pooling package to be distributed under the ASF license.
The package should support a variety of pool implementations, but
encourage support of an interface that makes these implementations
interchangeable.

%package javadoc
Summary: Javadoc for %name
Group: Development/Java
Requires: java-common >= 1.2

%description javadoc
Javadoc for %name

%prep
%setup -qn commons-pool-%version
%patch1
%__cp %{SOURCE1} build.properties

%build
%__ant -Djava.io.tmpdir=. dist test

%install
%__mkdir_p %buildroot%_javadir
%__mkdir_p %buildroot%_javadocdir
%__mkdir_p %buildroot%_docdir/%name-%version

%__install -m644 dist/commons-pool.jar %buildroot%_javadir/%name.jar

%__mv dist/docs/api %buildroot%_javadocdir/%name
%__cp  dist/LICENSE.txt %buildroot%_docdir/%name-%version/

%files
%_javadir/*.jar
%_docdir/%name-%version

%files javadoc
%_javadocdir/%name

%changelog

Полный changelog можно просмотреть здесь

 
design & coding: Vladimir Lettiev aka crux © 2004-2005