fe4e8a
fe4e8a
%global base_name    net
fe4e8a
%global short_name   commons-%{base_name}
fe4e8a
fe4e8a
Name:           apache-%{short_name}
fe4e8a
Version:        3.6
fe4e8a
Release:        5%{?dist}
fe4e8a
Summary:        Internet protocol suite Java library
fe4e8a
License:        ASL 2.0
fe4e8a
URL:            http://commons.apache.org/%{base_name}/
fe4e8a
Source0:        http://archive.apache.org/dist/commons/%{base_name}/source/%{short_name}-%{version}-src.tar.gz
fe4e8a
BuildArch:      noarch
fe4e8a
fe4e8a
BuildRequires:  maven-local
fe4e8a
BuildRequires:  mvn(junit:junit)
fe4e8a
BuildRequires:  mvn(org.apache.commons:commons-parent:pom:)
fe4e8a
BuildRequires:  mvn(org.apache.maven.plugins:maven-antrun-plugin)
fe4e8a
BuildRequires:  mvn(org.codehaus.mojo:build-helper-maven-plugin)
fe4e8a
BuildRequires:  mvn(org.codehaus.mojo:exec-maven-plugin)
fe4e8a
fe4e8a
fe4e8a
%description
fe4e8a
This is an Internet protocol suite Java library originally developed by
fe4e8a
ORO, Inc.  This version supports Finger, Whois, TFTP, Telnet, POP3, FTP,
fe4e8a
NNTP, SMTP, and some miscellaneous protocols like Time and Echo as well
fe4e8a
as BSD R command support. The purpose of the library is to provide
fe4e8a
fundamental protocol access, not higher-level abstractions.
fe4e8a
fe4e8a
%package javadoc
fe4e8a
Summary:    API documentation for %{name}
fe4e8a
fe4e8a
%description javadoc
fe4e8a
%{summary}.
fe4e8a
fe4e8a
%prep
fe4e8a
%setup -q -n %{short_name}-%{version}-src
fe4e8a
fe4e8a
# This test fails with "Connection timed out"
fe4e8a
rm src/test/java/org/apache/commons/net/time/TimeTCPClientTest.java
fe4e8a
# Fails in Koji with "Address already in use"
fe4e8a
rm src/test/java/org/apache/commons/net/tftp/TFTPServerPathTest.java
fe4e8a
fe4e8a
%mvn_file  : %{short_name} %{name}
fe4e8a
%mvn_alias : org.apache.commons:%{short_name}
fe4e8a
fe4e8a
%build
fe4e8a
%mvn_build
fe4e8a
fe4e8a
%install
fe4e8a
%mvn_install
fe4e8a
fe4e8a
fe4e8a
%files -f .mfiles
fe4e8a
%doc README.md RELEASE-NOTES.txt
fe4e8a
%license LICENSE.txt NOTICE.txt
fe4e8a
fe4e8a
%files javadoc -f .mfiles-javadoc
fe4e8a
%license LICENSE.txt NOTICE.txt
fe4e8a
fe4e8a
%changelog
fe4e8a
* Tue Nov 05 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.6-5
fe4e8a
- Mass rebuild for javapackages-tools 201902
fe4e8a
fe4e8a
* Fri May 24 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.6-4
fe4e8a
- Mass rebuild for javapackages-tools 201901
fe4e8a
fe4e8a
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.6-3
fe4e8a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
fe4e8a
fe4e8a
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.6-2
fe4e8a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
fe4e8a
fe4e8a
* Tue Mar 28 2017 Michael Simacek <msimacek@redhat.com> - 3.6-1
fe4e8a
- Update to upstream version 3.6
fe4e8a
fe4e8a
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.5-2
fe4e8a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
fe4e8a
fe4e8a
* Thu May  5 2016 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.5-1
fe4e8a
- Update to upstream version 3.5
fe4e8a
fe4e8a
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.4-3
fe4e8a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
fe4e8a
fe4e8a
* Mon Jan  4 2016 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.4-2
fe4e8a
- Add workaround for suprious test failure (NET-586)
fe4e8a
fe4e8a
* Fri Nov 27 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.4-1
fe4e8a
- Update to upstream version 3.4
fe4e8a
fe4e8a
* Tue Aug 04 2015 Michael Simacek <msimacek@redhat.com> - 3.3-7
fe4e8a
- Disable failing test
fe4e8a
fe4e8a
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.3-6
fe4e8a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
fe4e8a
fe4e8a
* Tue Oct 14 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.3-5
fe4e8a
- Remove legacy Obsoletes/Provides for jakarta-commons
fe4e8a
fe4e8a
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.3-4
fe4e8a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
fe4e8a
fe4e8a
* Tue Mar 04 2014 Stanislav Ochotnicky <sochotnicky@redhat.com> - 3.3-3
fe4e8a
- Use Requires: java-headless rebuild (#1067528)
fe4e8a
fe4e8a
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.3-2
fe4e8a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
fe4e8a
fe4e8a
* Wed Jun 12 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.3-1
fe4e8a
- Update to upstream version 3.3
fe4e8a
fe4e8a
* Wed Jun 05 2013 Michal Srb <msrb@redhat.com> - 3.2-5
fe4e8a
- Enable tests
fe4e8a
- Install README, RELEASE-NOTES.txt files
fe4e8a
- Fix BR
fe4e8a
fe4e8a
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2-4
fe4e8a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
fe4e8a
fe4e8a
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 3.2-3
fe4e8a
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
fe4e8a
- Replace maven BuildRequires with maven-local
fe4e8a
fe4e8a
* Wed Jan 16 2013 Michal Srb <msrb@redhat.com> - 3.2-2
fe4e8a
- Build with xmvn
fe4e8a
fe4e8a
* Mon Dec  3 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.2-1
fe4e8a
- Update to upstream version 3.2
fe4e8a
fe4e8a
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1-2
fe4e8a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
fe4e8a
fe4e8a
* Tue Jun 19 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.1-1
fe4e8a
- Update to upstream 3.1
fe4e8a
- Remove RPM bug workaround
fe4e8a
- Remove BR on maven-changes-plugin
fe4e8a
fe4e8a
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2-4
fe4e8a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
fe4e8a
fe4e8a
* Thu Nov 24 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2.2-3
fe4e8a
- Use maven 3 to build
fe4e8a
- Packaging fixes according to latest guidelines
fe4e8a
fe4e8a
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2-2
fe4e8a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
fe4e8a
fe4e8a
* Fri Dec 10 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2.2-1
fe4e8a
- Replace maven plugins with apache-commons-parent for BR
fe4e8a
- Versionless jars and javadocs
fe4e8a
- Rebase to latest upstream version
fe4e8a
fe4e8a
* Thu Jul  8 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2.0-6
fe4e8a
- Add license to javadoc subpackage
fe4e8a
fe4e8a
* Thu May 20 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2.0-5
fe4e8a
- Fix maven depmap JPP name to short_name
fe4e8a
fe4e8a
* Wed May 19 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2.0-4
fe4e8a
- Ignore test failure
fe4e8a
fe4e8a
* Wed May 12 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2.0-3
fe4e8a
- Rename jakarta-commons-net to apache-commons-net and drop EPOCH
fe4e8a
- Build with maven
fe4e8a
- Clean up whole spec
fe4e8a
fe4e8a
* Thu Aug 13 2009 Alexander Kurtakov <akurtako@redhat.com> 0:2.0-2
fe4e8a
- Set maven.repo.local.
fe4e8a
fe4e8a
* Thu Aug 13 2009 Alexander Kurtakov <akurtako@redhat.com> 0:2.0-1
fe4e8a
- Update to upstream 2.0.
fe4e8a