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