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