forked from pool/apache-commons-email
osc copypac from project:Java:base package:apache-commons-email revision:2
OBS-URL: https://build.opensuse.org/package/show/Java:packages/apache-commons-email?expand=0&rev=1
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
.osc
|
10
apache-commons-email.changes
Normal file
10
apache-commons-email.changes
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jan 6 19:38:44 UTC 2012 - dmacvicar@suse.de
|
||||||
|
|
||||||
|
- add BuildRoot so it builds on SLE
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Dec 20 14:55:29 UTC 2011 - dmacvicar@suse.de
|
||||||
|
|
||||||
|
- initial package based on Fedora. Removed maven stuff
|
||||||
|
|
67
apache-commons-email.spec
Normal file
67
apache-commons-email.spec
Normal file
@@ -0,0 +1,67 @@
|
|||||||
|
%global base_name email
|
||||||
|
%global short_name commons-%{base_name}
|
||||||
|
|
||||||
|
Name: apache-%{short_name}
|
||||||
|
Version: 1.2
|
||||||
|
Release: 0
|
||||||
|
Summary: Apache Commons Email Package
|
||||||
|
Group: Development/Libraries/Java
|
||||||
|
License: ASL 2.0
|
||||||
|
URL: http://commons.apache.org/%{base_name}/
|
||||||
|
Source0: http://www.apache.org/dist/commons/%{base_name}/source/%{short_name}-%{version}-src.tar.gz
|
||||||
|
Source1: build.xml.tar.bz2
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
BuildRequires: ant
|
||||||
|
BuildRequires: java-devel >= 1.6.0
|
||||||
|
BuildRequires: jpackage-utils
|
||||||
|
BuildRequires: javamail
|
||||||
|
Requires: javamail
|
||||||
|
Requires: java >= 1.6.0
|
||||||
|
Requires: jpackage-utils
|
||||||
|
Requires(post): jpackage-utils
|
||||||
|
Requires(postun): jpackage-utils
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
|
%description
|
||||||
|
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
|
||||||
|
Summary: Javadoc for %{name}
|
||||||
|
Group: Documentation
|
||||||
|
Requires: jpackage-utils
|
||||||
|
|
||||||
|
%description javadoc
|
||||||
|
This package contains the API documentation for %{name}.
|
||||||
|
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n %{short_name}-%{version}-src
|
||||||
|
tar xpvf %SOURCE1
|
||||||
|
|
||||||
|
%build
|
||||||
|
ant -Dmaven.mode.offline=true -Dmaven.test.skip=true \
|
||||||
|
-lib %{_javadir} javadoc package
|
||||||
|
|
||||||
|
%install
|
||||||
|
# jars
|
||||||
|
install -d -m 0755 %{buildroot}%{_javadir}
|
||||||
|
install -m 644 target/%{short_name}-%{version}.jar %{buildroot}%{_javadir}/%{name}.jar
|
||||||
|
ln -sf %{name}.jar %{buildroot}%{_javadir}/%{short_name}.jar
|
||||||
|
|
||||||
|
# javadoc
|
||||||
|
install -d -m 0755 %{buildroot}%{_javadocdir}/%{name}
|
||||||
|
cp -pr target/site/api*/* %{buildroot}%{_javadocdir}/%{name}
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%doc LICENSE.txt RELEASE-NOTES.txt NOTICE.txt
|
||||||
|
%{_javadir}/*
|
||||||
|
|
||||||
|
%files javadoc
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%doc LICENSE.txt NOTICE.txt
|
||||||
|
%doc %{_javadocdir}/%{name}
|
||||||
|
|
||||||
|
%changelog
|
3
build.xml.tar.bz2
Normal file
3
build.xml.tar.bz2
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:69732702816eaa430fb97254389424892e87c40ca61bfbf9133b0c71a1395190
|
||||||
|
size 3501
|
3
commons-email-1.2-src.tar.gz
Normal file
3
commons-email-1.2-src.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:80d95d47bc72265ab5c9b74e5fe9413b1f4b00fd79878d4d9c6e44e6ac68952b
|
||||||
|
size 152631
|
26
commons-email.depmap
Normal file
26
commons-email.depmap
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
<dependencies>
|
||||||
|
<dependency>
|
||||||
|
<maven>
|
||||||
|
<groupId>javax.activation</groupId>
|
||||||
|
<artifactId>activation</artifactId>
|
||||||
|
</maven>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<maven>
|
||||||
|
<groupId>net.sf.retrotranslator</groupId>
|
||||||
|
<artifactId>retrotranslator-runtime</artifactId>
|
||||||
|
</maven>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<maven>
|
||||||
|
<groupId>org.subethamail</groupId>
|
||||||
|
<artifactId>subethasmtp-smtp</artifactId>
|
||||||
|
</maven>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<maven>
|
||||||
|
<groupId>org.subethamail</groupId>
|
||||||
|
<artifactId>subethasmtp-wiser</artifactId>
|
||||||
|
</maven>
|
||||||
|
</dependency>
|
||||||
|
</dependencies>
|
Reference in New Issue
Block a user