Группа :: Разработка/Java
Пакет: jakarta-regexp
Главная Изменения Спек Патчи Загрузить Bugs and FR
Name: jakarta-regexp
Version: 1.3
Release: alt0.M24.1
Summary: Simple regular expressions API
License: Apache Software License
Group: Development/Java
Packager: Vladimir Lettiev <crux at altlinux.ru>
Url: http://jakarta.apache.org/regexp
Source0: http://www.apache.org/dist/jakarta/regexp/source/%name-%version.tar.gz
Source1: jakarta-regexp-build.properties
BuildPreReq: /proc
BuildPreReq: j2se1.4-sun-devel ant rpm-build-java
BuildArch: noarch
Requires: java-common >= 1.2 j2se >= 1.4.2
%description
Regexp is a 100% Pure Java Regular Expression package that was
graciously donated to the Apache Software Foundation by Jonathan Locke.
He originally wrote this software back in 1996 and it has stood up quite
well to the test of time.
It includes complete Javadoc documentation as well as a simple Applet
for visual debugging and testing suite for compatibility.
%package javadoc
Summary: Javadoc for %name
Group: Development/Java
Requires: java-common >= 1.2
%description javadoc
Javadoc for %name
%prep
%setup -q
%__cp %SOURCE1 build.properties
%__mkdir lib
%build
%__ant jar javadocs test
%install
%__mkdir_p %buildroot%_javadir
%__mkdir_p %buildroot%_javadocdir
%__mkdir_p %buildroot%_docdir/%name-%version
%__install -m644 build/%name-%version.jar %buildroot%_javadir/%name.jar
%__mv docs/api %buildroot%_javadocdir/%name
%__mv LICENSE.txt %buildroot%_docdir/%name-%version
%__mv docs %buildroot%_docdir/%name-%version
%files
%_javadir/*.jar
%_docdir/%name-%version
%files javadoc
%_javadocdir/%name
%changelog
…
Полный changelog можно просмотреть здесь
Version: 1.3
Release: alt0.M24.1
Summary: Simple regular expressions API
License: Apache Software License
Group: Development/Java
Packager: Vladimir Lettiev <crux at altlinux.ru>
Url: http://jakarta.apache.org/regexp
Source0: http://www.apache.org/dist/jakarta/regexp/source/%name-%version.tar.gz
Source1: jakarta-regexp-build.properties
BuildPreReq: /proc
BuildPreReq: j2se1.4-sun-devel ant rpm-build-java
BuildArch: noarch
Requires: java-common >= 1.2 j2se >= 1.4.2
%description
Regexp is a 100% Pure Java Regular Expression package that was
graciously donated to the Apache Software Foundation by Jonathan Locke.
He originally wrote this software back in 1996 and it has stood up quite
well to the test of time.
It includes complete Javadoc documentation as well as a simple Applet
for visual debugging and testing suite for compatibility.
%package javadoc
Summary: Javadoc for %name
Group: Development/Java
Requires: java-common >= 1.2
%description javadoc
Javadoc for %name
%prep
%setup -q
%__cp %SOURCE1 build.properties
%__mkdir lib
%build
%__ant jar javadocs test
%install
%__mkdir_p %buildroot%_javadir
%__mkdir_p %buildroot%_javadocdir
%__mkdir_p %buildroot%_docdir/%name-%version
%__install -m644 build/%name-%version.jar %buildroot%_javadir/%name.jar
%__mv docs/api %buildroot%_javadocdir/%name
%__mv LICENSE.txt %buildroot%_docdir/%name-%version
%__mv docs %buildroot%_docdir/%name-%version
%files
%_javadir/*.jar
%_docdir/%name-%version
%files javadoc
%_javadocdir/%name
%changelog
…
Полный changelog можно просмотреть здесь