Blame SPECS/apache-commons-net.spec

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