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

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

Name: jakarta-bcel
Version: 5.1
Release: alt3.M24.1

Summary: Byte Code Engineering Library
License: Apache Software License
Group: Development/Java
Packager: Alexey Borovskoy <alb at altlinux.ru>

Url: http://jakarta.apache.org/bcel/
Source: http://jakarta.apache.org/builds/jakarta-bcel/release/v5.1/bcel-%{version}-src.tar.gz
Source1: MANIFEST.MF
Patch1: jakarta-bcel-build.xml.patch

BuildPreReq: j2se1.4-sun-devel ant jakarta-regexp rpm-build-java
BuildRequires: /proc

BuildArch: noarch

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

%description
The Byte Code Engineering Library (formerly known as JavaClass) is
intended to give users a convenient possibility to analyze, create, and
manipulate (binary) Java class files (those ending with .class). Classes
are represented by objects which contain all the symbolic information of
the given class: methods, fields and byte code instructions, in
particular.  Such objects can be read from an existing file, be
transformed by a program (e.g. a class loader at run-time) and dumped to
a file again. An even more interesting application is the creation of
classes from scratch at run-time. The Byte Code Engineering Library
(BCEL) may be also useful if you want to learn about the Java Virtual
Machine (JVM) and the format of Java .class files.  BCEL is already
being used successfully in several projects such as compilers,
optimizers, obsfuscators and analysis tools, the most popular probably
being the Xalan XSLT processor at Apache.

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

%description javadoc
Javadoc for %name

%prep
%setup -qn bcel-%version
%__cp %{SOURCE1} .
%patch1

%build
%__ant apidocs jar

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

%__install -m644 dest/bcel.jar %buildroot%_javadir/%name.jar
%__mv docs/api %buildroot%_javadocdir/%name
%__cp 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