Группа :: Разработка/Java
Пакет: jakarta-commons-fileupload
Главная Изменения Спек Патчи Загрузить Bugs and FR
Name: jakarta-commons-fileupload
Version: 1.0
Release: alt0.M24.1
Summary: Jakarta Commons Fileupload Package
License: Apache Software License
Group: Development/Java
Packager: Mikhail Zabaluev <mhz at altlinux.ru>
Url: http://jakarta.apache.org/commons/fileupload/
Source0: http://www.apache.org/dist/jakarta/commons/fileupload/source/commons-fileupload-1.0-src.tar.gz
Patch1: %name-build.xml.patch
BuildPreReq: /proc
BuildPreReq: rpm-build-java
BuildPreReq: j2se1.4-sun-devel ant jakarta-servletapi5
BuildArch: noarch
Requires: java-common >= 1.2 j2se >= 1.4.2 jakarta-servletapi5
%description
The Commons FileUpload package makes it easy to add robust,
high-performance, file upload capability to your servlets and web
applications.
FileUpload parses HTTP requests which conform to RFC 1867 ,
"Form-based File Upload in HTML". That is, if an HTTP request is
submitted using the POST method, and with a content type of
"multipart/form-data", then FileUpload can parse that request, and
make the results available in a manner easily used by the caller.
%package javadoc
Summary: Javadoc for %name
Group: Development/Java
Requires: java-common >= 1.2
%description javadoc
Javadoc-generated API documentation for Jakarta Commons FileUpload.
%prep
%setup -qn commons-fileupload-%version
%patch1
%build
%__ant dist
%install
%__mkdir_p %buildroot%_javadir
%__mkdir_p %buildroot%_javadocdir
%__mkdir_p %buildroot%_docdir/%name-%version
%__install -m 644 dist/commons-fileupload.jar %buildroot%_javadir/%name.jar
%__cp dist/*.txt %buildroot%_docdir/%name-%version/
%__mv dist/docs/api %buildroot%_javadocdir/%name
%files
%_javadir/*.jar
%_docdir/%name-%version
%files javadoc
%_javadocdir/%name
%changelog
…
Полный changelog можно просмотреть здесь
Version: 1.0
Release: alt0.M24.1
Summary: Jakarta Commons Fileupload Package
License: Apache Software License
Group: Development/Java
Packager: Mikhail Zabaluev <mhz at altlinux.ru>
Url: http://jakarta.apache.org/commons/fileupload/
Source0: http://www.apache.org/dist/jakarta/commons/fileupload/source/commons-fileupload-1.0-src.tar.gz
Patch1: %name-build.xml.patch
BuildPreReq: /proc
BuildPreReq: rpm-build-java
BuildPreReq: j2se1.4-sun-devel ant jakarta-servletapi5
BuildArch: noarch
Requires: java-common >= 1.2 j2se >= 1.4.2 jakarta-servletapi5
%description
The Commons FileUpload package makes it easy to add robust,
high-performance, file upload capability to your servlets and web
applications.
FileUpload parses HTTP requests which conform to RFC 1867 ,
"Form-based File Upload in HTML". That is, if an HTTP request is
submitted using the POST method, and with a content type of
"multipart/form-data", then FileUpload can parse that request, and
make the results available in a manner easily used by the caller.
%package javadoc
Summary: Javadoc for %name
Group: Development/Java
Requires: java-common >= 1.2
%description javadoc
Javadoc-generated API documentation for Jakarta Commons FileUpload.
%prep
%setup -qn commons-fileupload-%version
%patch1
%build
%__ant dist
%install
%__mkdir_p %buildroot%_javadir
%__mkdir_p %buildroot%_javadocdir
%__mkdir_p %buildroot%_docdir/%name-%version
%__install -m 644 dist/commons-fileupload.jar %buildroot%_javadir/%name.jar
%__cp dist/*.txt %buildroot%_docdir/%name-%version/
%__mv dist/docs/api %buildroot%_javadocdir/%name
%files
%_javadir/*.jar
%_docdir/%name-%version
%files javadoc
%_javadocdir/%name
%changelog
…
Полный changelog можно просмотреть здесь