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

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

Name: jaf
Version: 1.0.2
Release: alt2.M24.1

Summary: JavaBeans Activation Framework
License: Sun Binary Code License
Group: Development/Java
Packager: Mikhail Zabaluev <mhz at altlinux.ru>

Url: http://java.sun.com/products/javabeans/glasgow/jaf.html
Source: jaf-1_0_2.zip
BuildArch: noarch

BuildPreReq: rpm-build-java java-common >= 1.2
BuildPreReq: unzip

Requires: java-common >= 1.2 j2se >= 1.4.2

%description
With the JavaBeansTM Activation Framework standard extension,
developers who use JavaTM technology can take advantage of standard
services to determine the type of an arbitrary piece of data,
encapsulate access to it, discover the operations available on it, and
to instantiate the appropriate bean to perform said operation(s). For
example, if a browser obtained a JPEG image, this framework would enable
the browser to identify that stream of data as an JPEG image, and from
that type, the browser could locate and instantiate an object that could
manipulate, or view that image.
The JavaBeans Activation Framework is implemented as a standard
extension. Sun provides a royalty-free reference implementation of the
JAF software, in binary form, that developers can use to develop JAF
technology-enabled applications for any platform that supports the Java
Development Kit (JDKTM) 1.1 software or the JavaTM 2 Standard Edition.

%package manual
Summary: Manual for %name
Group: Development/Java
Requires: %name = %version-%release

%description manual
Javadoc for %name

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

%description javadoc
Javadoc for %name

%package samples
Summary: Samples for %name
Group: Development/Java
Requires: %name = %version-%release

%description samples
Samples for %name

%prep
%setup -q

%build

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

%__install -m644 activation.jar %buildroot%_javadir
%__mv docs/javadocs %buildroot%_javadocdir/%name
%__cp *.txt %buildroot%_docdir/%name-%version/
%__mv docs %buildroot%_docdir/%name-%version/
%__mv demo %buildroot%_datadir/%name

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

%files manual
%_docdir/%name-%version/docs

%files javadoc
%_javadocdir/%name

%files samples
%_datadir/%name

%changelog

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

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