|
|
8074f3 |
%global pkg_name apache-commons-net
|
|
|
8074f3 |
%{?scl:%scl_package %{pkg_name}}
|
|
|
8074f3 |
%{?java_common_find_provides_and_requires}
|
|
|
8074f3 |
|
|
|
8074f3 |
|
|
|
8074f3 |
%global base_name net
|
|
|
8074f3 |
%global short_name commons-%{base_name}
|
|
|
8074f3 |
|
|
|
8074f3 |
Name: %{?scl_prefix}%{pkg_name}
|
|
|
8074f3 |
Version: 3.2
|
|
|
8074f3 |
Release: 8.11%{?dist}
|
|
|
8074f3 |
Summary: Internet protocol suite Java library
|
|
|
8074f3 |
License: ASL 2.0
|
|
|
8074f3 |
URL: http://commons.apache.org/%{base_name}/
|
|
|
8074f3 |
Source0: http://www.apache.org/dist/commons/%{base_name}/source/%{short_name}-%{version}-src.tar.gz
|
|
|
8074f3 |
BuildArch: noarch
|
|
|
8074f3 |
|
|
|
8074f3 |
BuildRequires: %{?scl_prefix}maven-local
|
|
|
8074f3 |
BuildRequires: %{?scl_prefix_maven}maven-plugin-build-helper
|
|
|
8074f3 |
BuildRequires: %{?scl_prefix_maven}apache-commons-parent >= 26-7
|
|
|
8074f3 |
# Test dependency
|
|
|
8074f3 |
BuildRequires: %{?scl_prefix}junit
|
|
|
8074f3 |
|
|
|
8074f3 |
|
|
|
8074f3 |
|
|
|
8074f3 |
%description
|
|
|
8074f3 |
This is an Internet protocol suite Java library originally developed by
|
|
|
8074f3 |
ORO, Inc. This version supports Finger, Whois, TFTP, Telnet, POP3, FTP,
|
|
|
8074f3 |
NNTP, SMTP, and some miscellaneous protocols like Time and Echo as well
|
|
|
8074f3 |
as BSD R command support. The purpose of the library is to provide
|
|
|
8074f3 |
fundamental protocol access, not higher-level abstractions.
|
|
|
8074f3 |
|
|
|
8074f3 |
%package javadoc
|
|
|
8074f3 |
Summary: API documentation for %{pkg_name}
|
|
|
8074f3 |
|
|
|
8074f3 |
|
|
|
8074f3 |
%description javadoc
|
|
|
8074f3 |
%{summary}.
|
|
|
8074f3 |
|
|
|
8074f3 |
%prep
|
|
|
8074f3 |
%setup -q -n %{short_name}-%{version}-src
|
|
|
8074f3 |
%{?scl:scl enable %{scl_maven} %{scl} - <<"EOF"}
|
|
|
8074f3 |
set -e -x
|
|
|
8074f3 |
sed -i 's/\r//' NOTICE.txt LICENSE.txt README RELEASE-NOTES.txt
|
|
|
8074f3 |
|
|
|
8074f3 |
# This test fails with "Connection timed out"
|
|
|
8074f3 |
rm src/test/java/org/apache/commons/net/time/TimeTCPClientTest.java
|
|
|
8074f3 |
|
|
|
8074f3 |
%mvn_file : %{short_name} %{pkg_name}
|
|
|
8074f3 |
%mvn_alias : org.apache.commons:%{short_name}
|
|
|
8074f3 |
%{?scl:EOF}
|
|
|
8074f3 |
|
|
|
8074f3 |
%build
|
|
|
8074f3 |
%{?scl:scl enable %{scl_maven} %{scl} - <<"EOF"}
|
|
|
8074f3 |
set -e -x
|
|
|
8074f3 |
%mvn_build
|
|
|
8074f3 |
%{?scl:EOF}
|
|
|
8074f3 |
|
|
|
8074f3 |
%install
|
|
|
8074f3 |
%{?scl:scl enable %{scl_maven} %{scl} - <<"EOF"}
|
|
|
8074f3 |
set -e -x
|
|
|
8074f3 |
%mvn_install
|
|
|
8074f3 |
%{?scl:EOF}
|
|
|
8074f3 |
|
|
|
8074f3 |
|
|
|
8074f3 |
%files -f .mfiles
|
|
|
8074f3 |
%doc LICENSE.txt NOTICE.txt README RELEASE-NOTES.txt
|
|
|
8074f3 |
|
|
|
8074f3 |
%files javadoc -f .mfiles-javadoc
|
|
|
8074f3 |
%doc LICENSE.txt NOTICE.txt
|
|
|
8074f3 |
|
|
|
8074f3 |
%changelog
|
|
|
8074f3 |
* Tue Jan 13 2015 Michael Simacek <msimacek@redhat.com> - 3.2-8.11
|
|
|
8074f3 |
- Mass rebuild 2015-01-13
|
|
|
8074f3 |
|
|
|
8074f3 |
* Fri Jan 09 2015 Michal Srb <msrb@redhat.com> - 3.2-8.10
|
|
|
8074f3 |
- Mass rebuild 2015-01-09
|
|
|
8074f3 |
|
|
|
8074f3 |
* Tue Dec 16 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.2-8.9
|
|
|
8074f3 |
- Migrate requires and build-requires to rh-java-common
|
|
|
8074f3 |
|
|
|
8074f3 |
* Mon Dec 15 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.2-8.8
|
|
|
8074f3 |
- Mass rebuild 2014-12-15
|
|
|
8074f3 |
|
|
|
8074f3 |
* Mon Dec 15 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.2-8.7
|
|
|
8074f3 |
- Rebuild for rh-java-common collection
|
|
|
8074f3 |
|
|
|
8074f3 |
* Mon May 26 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.2-8.6
|
|
|
8074f3 |
- Mass rebuild 2014-05-26
|
|
|
8074f3 |
|
|
|
8074f3 |
* Wed Feb 19 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.2-8.5
|
|
|
8074f3 |
- Mass rebuild 2014-02-19
|
|
|
8074f3 |
|
|
|
8074f3 |
* Tue Feb 18 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.2-8.4
|
|
|
8074f3 |
- Mass rebuild 2014-02-18
|
|
|
8074f3 |
|
|
|
8074f3 |
* Mon Feb 17 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.2-8.3
|
|
|
8074f3 |
- SCL-ize build-requires
|
|
|
8074f3 |
|
|
|
8074f3 |
* Thu Feb 13 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.2-8.2
|
|
|
8074f3 |
- Rebuild to regenerate auto-requires
|
|
|
8074f3 |
|
|
|
8074f3 |
* Tue Feb 11 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.2-8.1
|
|
|
8074f3 |
- First maven30 software collection build
|
|
|
8074f3 |
|
|
|
8074f3 |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 3.2-8
|
|
|
8074f3 |
- Mass rebuild 2013-12-27
|
|
|
8074f3 |
|
|
|
8074f3 |
* Fri Sep 20 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.2-7
|
|
|
8074f3 |
- Add BuildRequires on apache-commons-parent >= 26-7
|
|
|
8074f3 |
|
|
|
8074f3 |
* Fri Jun 28 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.2-6
|
|
|
8074f3 |
- Rebuild to regenerate API documentation
|
|
|
8074f3 |
- Resolves: CVE-2013-1571
|
|
|
8074f3 |
|
|
|
8074f3 |
* Wed Jun 05 2013 Michal Srb <msrb@redhat.com> - 3.2-5
|
|
|
8074f3 |
- Enable tests
|
|
|
8074f3 |
- Install README, RELEASE-NOTES.txt files
|
|
|
8074f3 |
- Fix BR
|
|
|
8074f3 |
|
|
|
8074f3 |
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2-4
|
|
|
8074f3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
8074f3 |
|
|
|
8074f3 |
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 3.2-3
|
|
|
8074f3 |
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
|
|
|
8074f3 |
- Replace maven BuildRequires with maven-local
|
|
|
8074f3 |
|
|
|
8074f3 |
* Wed Jan 16 2013 Michal Srb <msrb@redhat.com> - 3.2-2
|
|
|
8074f3 |
- Build with xmvn
|
|
|
8074f3 |
|
|
|
8074f3 |
* Mon Dec 3 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.2-1
|
|
|
8074f3 |
- Update to upstream version 3.2
|
|
|
8074f3 |
|
|
|
8074f3 |
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1-2
|
|
|
8074f3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
8074f3 |
|
|
|
8074f3 |
* Tue Jun 19 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.1-1
|
|
|
8074f3 |
- Update to upstream 3.1
|
|
|
8074f3 |
- Remove RPM bug workaround
|
|
|
8074f3 |
- Remove BR on maven-changes-plugin
|
|
|
8074f3 |
|
|
|
8074f3 |
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2-4
|
|
|
8074f3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
8074f3 |
|
|
|
8074f3 |
* Thu Nov 24 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2.2-3
|
|
|
8074f3 |
- Use maven 3 to build
|
|
|
8074f3 |
- Packaging fixes according to latest guidelines
|
|
|
8074f3 |
|
|
|
8074f3 |
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2-2
|
|
|
8074f3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
8074f3 |
|
|
|
8074f3 |
* Fri Dec 10 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2.2-1
|
|
|
8074f3 |
- Replace maven plugins with apache-commons-parent for BR
|
|
|
8074f3 |
- Versionless jars and javadocs
|
|
|
8074f3 |
- Rebase to latest upstream version
|
|
|
8074f3 |
|
|
|
8074f3 |
* Thu Jul 8 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2.0-6
|
|
|
8074f3 |
- Add license to javadoc subpackage
|
|
|
8074f3 |
|
|
|
8074f3 |
* Thu May 20 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2.0-5
|
|
|
8074f3 |
- Fix maven depmap JPP name to short_name
|
|
|
8074f3 |
|
|
|
8074f3 |
* Wed May 19 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2.0-4
|
|
|
8074f3 |
- Ignore test failure
|
|
|
8074f3 |
|
|
|
8074f3 |
* Wed May 12 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2.0-3
|
|
|
8074f3 |
- Rename jakarta-commons-net to apache-commons-net and drop EPOCH
|
|
|
8074f3 |
- Build with maven
|
|
|
8074f3 |
- Clean up whole spec
|
|
|
8074f3 |
|
|
|
8074f3 |
* Thu Aug 13 2009 Alexander Kurtakov <akurtako@redhat.com> 0:2.0-2
|
|
|
8074f3 |
- Set maven.repo.local.
|
|
|
8074f3 |
|
|
|
8074f3 |
* Thu Aug 13 2009 Alexander Kurtakov <akurtako@redhat.com> 0:2.0-1
|
|
|
8074f3 |
- Update to upstream 2.0.
|
|
|
8074f3 |
|