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

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

Name: jakarta-commons-discovery
Version: 0.2
Release: alt0.M24.1

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

URL: http://akarta.apache.org/commons/discovery
Source0: commons-discovery-%{version}-src.tar.gz
Source1: jakarta-commons-discovery-build.properties

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

BuildPreReq: /proc
BuildPreReq: j2se1.4-sun-devel ant jakarta-commons-logging
BuildPreReq: junit rpm-build-java

BuildArch: noarch

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

%description
The Discovery component is about discovering, or finding, implementations for
pluggable interfaces.  Pluggable interfaces are specified with the intent that
multiple implementations are, or will be, available to provide the service
described by the interface.  Discovery provides facilities for finding and
instantiating classes, and for lifecycle management of singleton (factory)
classes.

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

%description javadoc
Javadoc for %name

%prep
%setup -qn commons-discovery-%{version}-src/discovery
%patch1
%__cp %SOURCE1 build.properties

%build
%__ant dist test.discovery

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

%__mv dist/commons-discovery.jar %buildroot%_javadir/%name.jar
%__mv dist/docs/api %buildroot%_javadocdir/%name
%__mv dist/*.txt %buildroot%_docdir/%name-%version/
%__mv *.html %buildroot%_docdir/%name-%version/

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

%files javadoc
%_javadocdir/%name

%changelog

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

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