commit e1a0d711d97ce8d792cd32cf33c655a057bbede17aeb06eb10a849c50e6fe5e6 Author: Fridrich Strba Date: Fri Mar 1 14:56:32 2019 +0000 OBS-URL: https://build.opensuse.org/package/show/Java:packages/apache-commons-net?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/apache-commons-net-build.xml b/apache-commons-net-build.xml new file mode 100644 index 0000000..b6ac1fd --- /dev/null +++ b/apache-commons-net-build.xml @@ -0,0 +1,265 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + =================================== WARNING =================================== + JUnit is not present in the test classpath or your $ANT_HOME/lib directory. Tests not executed. + =============================================================================== + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/apache-commons-net.changes b/apache-commons-net.changes new file mode 100644 index 0000000..56a42b3 --- /dev/null +++ b/apache-commons-net.changes @@ -0,0 +1,70 @@ +------------------------------------------------------------------- +Fri Sep 8 11:16:44 UTC 2017 - fstrba@suse.com + +- Specify java source and target 1.6 in order to allow building + with jdk9 + +------------------------------------------------------------------- +Fri Jun 9 10:35:43 UTC 2017 - tchvatal@suse.com + +- Require java 1.6 or newer to build + +------------------------------------------------------------------- +Fri May 19 13:56:33 UTC 2017 - tchvatal@suse.com + +- Fix build with new javapackages-tools + +------------------------------------------------------------------- +Wed Mar 18 09:46:10 UTC 2015 - tchvatal@suse.com + +- Fix build with new javapackages-tools + +------------------------------------------------------------------- +Tue Jul 8 09:19:38 UTC 2014 - tchvatal@suse.com + +- Fix sle build properly. + +------------------------------------------------------------------- +Wed Apr 30 16:53:41 UTC 2014 - darin@darins.net + +- Update project_xml patch for strict fuzz +- Suppress bytecode check on SLES +- remove java-javadoc build requirement + +------------------------------------------------------------------- +Mon Sep 9 11:05:48 UTC 2013 - tchvatal@suse.com + +- Move from jpackage-utils to javapackage-tools + +------------------------------------------------------------------- +Fri Sep 6 09:09:00 UTC 2013 - mvyskocil@suse.com + +- use add_maven_depmap + +------------------------------------------------------------------- +Thu Nov 29 13:21:56 UTC 2012 - mvyskocil@suse.com + +- buildrequire saxon8 (bnc#780666) +- remove self-obsolete commons-net + +------------------------------------------------------------------- +Wed Nov 28 14:52:01 UTC 2012 - mvyskocil@suse.com + +- require saxon9 for build +- don't build with java5 target + +------------------------------------------------------------------- +Tue Jun 26 13:40:59 UTC 2012 - mvyskocil@suse.cz + +- remove openjdk6 dependency + +------------------------------------------------------------------- +Mon Mar 12 13:58:33 UTC 2012 - mvyskocil@suse.cz + +- fix bnc#749895 - ant FTP action fails on the date with leap year + +------------------------------------------------------------------- +Tue Apr 28 11:00:24 CEST 2009 - mvyskocil@suse.cz + +- Initial SUSE packaging (version 1.4.1 from jpp5) + diff --git a/apache-commons-net.spec b/apache-commons-net.spec new file mode 100644 index 0000000..e4f9c35 --- /dev/null +++ b/apache-commons-net.spec @@ -0,0 +1,91 @@ +# +# spec file for package apache +# +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%global base_name net +%global short_name commons-%{base_name} +%bcond_with tests +Name: apache-%{short_name} +Version: 3.6 +Release: 0 +Summary: Internet protocol suite Java library +License: Apache-2.0 +Group: Development/Libraries/Java +URL: http://commons.apache.org/%{base_name}/ +Source0: http://archive.apache.org/dist/commons/%{base_name}/source/%{short_name}-%{version}-src.tar.gz +Source1: %{name}-build.xml +BuildRequires: ant +BuildRequires: fdupes +BuildRequires: javapackages-local +Provides: %{short_name} = %{version}-%{release} +Obsoletes: %{short_name} < %{version}-%{release} +Provides: jakarta-%{short_name} = %{version}-%{release} +Obsoletes: jakarta-%{short_name} < %{version}-%{release} +BuildArch: noarch +%if %{with tests} +BuildRequires: ant-junit +%endif + +%description +This is an Internet protocol suite Java library originally developed by +ORO, Inc. This version supports Finger, Whois, TFTP, Telnet, POP3, FTP, +NNTP, SMTP, and some miscellaneous protocols like Time and Echo as well +as BSD R command support. The purpose of the library is to provide +fundamental protocol access, not higher-level abstractions. + +%package javadoc +Summary: API documentation for %{name} +Group: Documentation/HTML + +%description javadoc +%{summary}. + +%prep +%setup -q -n %{short_name}-%{version}-src +cp %{SOURCE1} build.xml + +%build +%{ant} \ +%if %{without tests} + -Dtest.skip=true \ +%endif + jar javadoc + +%install +# pom +install -dm 0755 %{buildroot}%{_javadir} +install -pm 0644 target/%{short_name}-%{version}.jar %{buildroot}%{_javadir}/%{short_name}.jar +ln -sf %{short_name}.jar %{buildroot}%{_javadir}/%{name}.jar +# pom +install -dm 0755 %{buildroot}%{_mavenpomdir} +install -pm 0644 pom.xml %{buildroot}%{_mavenpomdir}/%{short_name}.pom +%add_maven_depmap %{short_name}.pom %{short_name}.jar +# javadoc +install -dm 0755 %{buildroot}%{_javadocdir}/%{name} +cp -pr target/site/apidocs/* %{buildroot}%{_javadocdir}/%{name}/ +%fdupes -s %{buildroot}%{_javadocdir} + +%files -f .mfiles +%doc README.md RELEASE-NOTES.txt +%license LICENSE.txt NOTICE.txt +%{_javadir}/%{name}.jar + +%files javadoc +%license LICENSE.txt NOTICE.txt +%{_javadocdir}/%{name} + +%changelog diff --git a/commons-net-3.6-src.tar.gz b/commons-net-3.6-src.tar.gz new file mode 100644 index 0000000..a75d846 --- /dev/null +++ b/commons-net-3.6-src.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b93715bccb078a31bbd1c1191346c4c2d6d4a06117a9b925c40da7d99aad0c58 +size 430879