Группа :: Разработка/Java
Пакет: javamail
Главная Изменения Спек Патчи Загрузить Bugs and FR
Name: javamail
Version: 1.3.1
Release: alt2.M24.1
Summary: The JavaMail(TM) API
License: Sun Binary Code License
Group: Development/Java
Packager: Mikhail Zabaluev <mhz at altlinux.ru>
Url: http://java.sun.com/products/javamail/
Source: javamail-1_3_1.zip
BuildArch: noarch
BuildPreReq: rpm-build-java unzip
Requires: java-common >= 1.2 j2se >= 1.4.2 jaf >= 1.0.2
%description
The JavaMail(TM) 1.3 API provides a set of abstract classes that model a
mail system. The API provides a platform independent and protocol
independent framework to build Java technology-based mail and messaging
applications. The JavaMail(TM) API is implemented as a Java platform
optional package and is also available as part of the Java 2 platform,
Enterprise Edition. Sun provides a royalty-free reference
implementation, in binary form, that developers will be able to use and
ship.
%package manual
Summary: Manual for %name
Group: Development/Java
Requires: %name = %version-%release
%description manual
Documentation 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
%package monolithic
Summary: All %name in one monolithic jar
Group: Development/Java
Requires: java-common >= 1.2
%description monolithic
This package features all Javamail functionality
gathered in one monolithic jar.
%prep
%setup -q
%build
%install
%__mkdir_p %buildroot%_javadir/%name
%__mkdir_p %buildroot%_javadocdir
%__mkdir_p %buildroot%_docdir/%name-%version
%__mkdir_p %buildroot%_datadir/%name
%__install -m644 mail.jar %buildroot%_javadir
%__install -m644 lib/*.jar %buildroot%_javadir/%name
%__mv docs/javadocs %buildroot%_javadocdir/%name
%__mv *.txt %buildroot%_docdir/%name-%version
%__mv docs %buildroot%_docdir/%name-%version
%__mv demo %buildroot%_datadir/%name
%files
%_javadir/%name
%dir %_docdir/%name-%version
%_docdir/%name-%version/*.txt
%files manual
%_docdir/%name-%version/docs
%files javadoc
%_javadocdir/%name
%files samples
%_datadir/%name
%files monolithic
%_javadir/mail.jar
%changelog
…
Полный changelog можно просмотреть здесь
Version: 1.3.1
Release: alt2.M24.1
Summary: The JavaMail(TM) API
License: Sun Binary Code License
Group: Development/Java
Packager: Mikhail Zabaluev <mhz at altlinux.ru>
Url: http://java.sun.com/products/javamail/
Source: javamail-1_3_1.zip
BuildArch: noarch
BuildPreReq: rpm-build-java unzip
Requires: java-common >= 1.2 j2se >= 1.4.2 jaf >= 1.0.2
%description
The JavaMail(TM) 1.3 API provides a set of abstract classes that model a
mail system. The API provides a platform independent and protocol
independent framework to build Java technology-based mail and messaging
applications. The JavaMail(TM) API is implemented as a Java platform
optional package and is also available as part of the Java 2 platform,
Enterprise Edition. Sun provides a royalty-free reference
implementation, in binary form, that developers will be able to use and
ship.
%package manual
Summary: Manual for %name
Group: Development/Java
Requires: %name = %version-%release
%description manual
Documentation 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
%package monolithic
Summary: All %name in one monolithic jar
Group: Development/Java
Requires: java-common >= 1.2
%description monolithic
This package features all Javamail functionality
gathered in one monolithic jar.
%prep
%setup -q
%build
%install
%__mkdir_p %buildroot%_javadir/%name
%__mkdir_p %buildroot%_javadocdir
%__mkdir_p %buildroot%_docdir/%name-%version
%__mkdir_p %buildroot%_datadir/%name
%__install -m644 mail.jar %buildroot%_javadir
%__install -m644 lib/*.jar %buildroot%_javadir/%name
%__mv docs/javadocs %buildroot%_javadocdir/%name
%__mv *.txt %buildroot%_docdir/%name-%version
%__mv docs %buildroot%_docdir/%name-%version
%__mv demo %buildroot%_datadir/%name
%files
%_javadir/%name
%dir %_docdir/%name-%version
%_docdir/%name-%version/*.txt
%files manual
%_docdir/%name-%version/docs
%files javadoc
%_javadocdir/%name
%files samples
%_datadir/%name
%files monolithic
%_javadir/mail.jar
%changelog
…
Полный changelog можно просмотреть здесь