Sisyphus repository
Last update: 2018-07-20 19:05:41 +0400 | SRPMs: 18625 | Sign in or Sign up
en ru uk br
ALT Linux repositories
hide window
Sisyphus: 0:1.5-alt1_2jpp8
p8: 0:1.3.1-alt1_4jpp8
p7: 0:1.2-alt1_3jpp7
t7: 0:1.2-alt1_3jpp7
Platform6: 0:1.1-alt2_4jpp6
t6: 0:1.1-alt2_4jpp6

Group :: Development/Other
Source RPM: apache-commons-email

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR (0/0)   Repocop 

Raw spec file

Epoch: 0
Group: Development/Other
# BEGIN SourceDeps(oneline):

BuildRequires: rpm-build-java
# END SourceDeps(oneline)

BuildRequires: /proc
BuildRequires: jpackage-generic-compat
# see

%define _localstatedir %{_var}
%global short_name      commons-email

Name:             apache-%{short_name}
Version:          1.5
Release:          alt1_2jpp8
Summary:          Apache Commons Email Package
License:          ASL 2.0
URL:    {short_name}/
BuildArch:        noarch


# Disable tests that require Internet access

Patch0:           disable-internet-tests.patch

BuildRequires:  maven-local
BuildRequires:  mvn(commons-io:commons-io)
BuildRequires:  mvn(com.sun.mail:javax.mail)
BuildRequires:  mvn(junit:junit)
BuildRequires:  mvn(org.apache.commons:commons-parent:pom:)
BuildRequires:  mvn(org.easymock:easymock)
BuildRequires:  mvn(org.powermock:powermock-api-easymock)
BuildRequires:  mvn(org.powermock:powermock-module-junit4)
BuildRequires:  mvn(org.slf4j:slf4j-jdk14)
BuildRequires:  mvn(org.subethamail:subethasmtp)

Commons-Email aims to provide an API for sending email. It is built on top of 
the JavaMail API, which it aims to simplify.

%package javadoc
Group: Development/Java
Summary:          Javadoc for %{name}
BuildArch: noarch

%description javadoc
This package contains the API documentation for %{name}.

%setup -q -n %{short_name}-%{version}-src

# Compatibility links

%mvn_alias "org.apache.commons:commons-email" "commons-email:commons-email"
%mvn_file :commons-email %{short_name} %{name}

# Javascript in Javadoc mis-detection

sed -i -e &#39;/<script>/s/</&lt;/' src/main/java/org/apache/commons/mail/



%files -f .mfiles
%doc --no-dereference LICENSE.txt NOTICE.txt

%files javadoc -f .mfiles-javadoc
%doc --no-dereference LICENSE.txt NOTICE.txt

* Sun Apr 15 2018 Igor Vlasenko <viy at> 0:1.5-alt1_2jpp8
- java update

* Thu Nov 16 2017 Igor Vlasenko <viy at> 0:1.5-alt1_1jpp8
- new version

* Fri Dec 16 2016 Igor Vlasenko <viy at> 0:1.3.1-alt1_6jpp8
- new fc release

* Tue Nov 22 2016 Igor Vlasenko <viy at> 0:1.3.1-alt1_5jpp8
- new fc release

* Tue Feb 02 2016 Igor Vlasenko <viy at> 0:1.3.1-alt1_4jpp8
- new version

* Mon Sep 08 2014 Igor Vlasenko <viy at> 0:1.3.1-alt1_1jpp7
- new release

* Mon Jul 28 2014 Igor Vlasenko <viy at> 0:1.2-alt2_5jpp7
- new release

* Mon Jul 14 2014 Igor Vlasenko <viy at> 0:1.2-alt2_3jpp7
- NMU rebuild to move poms and fragments

* Fri Aug 24 2012 Igor Vlasenko <viy at> 0:1.2-alt1_3jpp7
- new version

* Sat Mar 24 2012 Igor Vlasenko <viy at> 0:1.1-alt3_4jpp6
- fixed build (added jansi BR:)

* Fri Dec 31 2010 Igor Vlasenko <viy at> 0:1.1-alt2_4jpp6
- fixed symlinks

* Thu Dec 30 2010 Igor Vlasenko <viy at> 0:1.1-alt1_4jpp6
- added osgi manifest

© 2009–2018 Igor Zubkov