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