Stanislav Ochotnicky eae2d9
Stanislav Ochotnicky eae2d9
%global base_name    net
Stanislav Ochotnicky eae2d9
%global short_name   commons-%{base_name}
Stanislav Ochotnicky eae2d9
Stanislav Ochotnicky eae2d9
Name:           apache-%{short_name}
Mikolaj Izdebski 247473
Version:        3.2
Stanislav Ochotnicky afe8f2
Release:        3%{?dist}
Stanislav Ochotnicky eae2d9
Summary:        Internet protocol suite Java library
Stanislav Ochotnicky eae2d9
License:        ASL 2.0
Stanislav Ochotnicky eae2d9
Group:          Development/Libraries
Stanislav Ochotnicky eae2d9
URL:            http://commons.apache.org/%{base_name}/
Stanislav Ochotnicky eae2d9
Source0:        http://www.apache.org/dist/commons/%{base_name}/source/%{short_name}-%{version}-src.tar.gz
Stanislav Ochotnicky eae2d9
BuildArch:      noarch
Mikolaj Izdebski c8e5c3
Stanislav Ochotnicky 7d41e6
BuildRequires:  maven-local
Mikolaj Izdebski c8e5c3
BuildRequires:  java-devel
Mikolaj Izdebski c8e5c3
BuildRequires:  jpackage-utils
Stanislav Ochotnicky eae2d9
BuildRequires:  maven-doxia-sitetools
Stanislav Ochotnicky eae2d9
BuildRequires:  maven-surefire-provider-junit
Stanislav Ochotnicky 0047ba
BuildRequires:  maven-surefire-provider-junit4
Stanislav Ochotnicky 0047ba
BuildRequires:  maven-plugin-build-helper
Stanislav Ochotnicky 0047ba
BuildRequires:  apache-commons-parent
Stanislav Ochotnicky eae2d9
Stanislav Ochotnicky eae2d9
Provides:       jakarta-%{short_name} = 0:%{version}-%{release}
Stanislav Ochotnicky eae2d9
Obsoletes:      jakarta-%{short_name} < 0:2.0-3
Stanislav Ochotnicky eae2d9
Mikolaj Izdebski c8e5c3
Stanislav Ochotnicky eae2d9
%description
Stanislav Ochotnicky eae2d9
This is an Internet protocol suite Java library originally developed by
Stanislav Ochotnicky eae2d9
ORO, Inc.  This version supports Finger, Whois, TFTP, Telnet, POP3, FTP,
Stanislav Ochotnicky eae2d9
NNTP, SMTP, and some miscellaneous protocols like Time and Echo as well
Stanislav Ochotnicky eae2d9
as BSD R command support. The purpose of the library is to provide
Stanislav Ochotnicky eae2d9
fundamental protocol access, not higher-level abstractions.
Stanislav Ochotnicky eae2d9
Stanislav Ochotnicky eae2d9
%package javadoc
Stanislav Ochotnicky eae2d9
Summary:    API documentation for %{name}
Stanislav Ochotnicky eae2d9
Group:      Documentation
Stanislav Ochotnicky eae2d9
Requires:   jpackage-utils
Stanislav Ochotnicky eae2d9
Michal Srb 4e93a3
Provides:   jakarta-%{short_name}-javadoc = 0:%{version}-%{release}
Stanislav Ochotnicky eae2d9
Obsoletes:  jakarta-%{short_name}-javadoc < 0:2.0-3
Stanislav Ochotnicky eae2d9
Stanislav Ochotnicky eae2d9
%description javadoc
Stanislav Ochotnicky eae2d9
%{summary}.
Stanislav Ochotnicky eae2d9
Stanislav Ochotnicky eae2d9
%prep
Stanislav Ochotnicky eae2d9
%setup -q -n %{short_name}-%{version}-src
Stanislav Ochotnicky eae2d9
sed -i 's/\r//' NOTICE.txt LICENSE.txt
Stanislav Ochotnicky eae2d9
Stanislav Ochotnicky eae2d9
Stanislav Ochotnicky eae2d9
%build
Michal Srb 4e93a3
%mvn_file  : %{short_name} %{name}
Michal Srb 4e93a3
%mvn_alias : org.apache.commons:%{short_name}
Stanislav Ochotnicky e80598
# test.failure.ignore added because package would not build on koji
Stanislav Ochotnicky e80598
# with TimeTCPClientTest failing
Michal Srb 4e93a3
%mvn_build -f
Stanislav Ochotnicky eae2d9
Stanislav Ochotnicky eae2d9
Michal Srb 4e93a3
%install
Michal Srb 4e93a3
%mvn_install
Stanislav Ochotnicky eae2d9
Stanislav Ochotnicky eae2d9
Michal Srb 4e93a3
%files -f .mfiles
Stanislav Ochotnicky eae2d9
%doc LICENSE.txt NOTICE.txt
Stanislav Ochotnicky eae2d9
Michal Srb 4e93a3
%files javadoc -f .mfiles-javadoc
Stanislav Ochotnicky d65071
%doc LICENSE.txt NOTICE.txt
Stanislav Ochotnicky eae2d9
Stanislav Ochotnicky eae2d9
%changelog
Stanislav Ochotnicky afe8f2
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 3.2-3
Stanislav Ochotnicky afe8f2
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
Stanislav Ochotnicky afe8f2
- Replace maven BuildRequires with maven-local
Stanislav Ochotnicky afe8f2
Michal Srb 4e93a3
* Wed Jan 16 2013 Michal Srb <msrb@redhat.com> - 3.2-2
Michal Srb 4e93a3
- Build with xmvn
Michal Srb 4e93a3
Mikolaj Izdebski 247473
* Mon Dec  3 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.2-1
Mikolaj Izdebski 247473
- Update to upstream version 3.2
Mikolaj Izdebski 247473
Dennis Gilmore abf9fc
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1-2
Dennis Gilmore abf9fc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
Dennis Gilmore abf9fc
Mikolaj Izdebski 43cf31
* Tue Jun 19 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.1-1
Mikolaj Izdebski 43cf31
- Update to upstream 3.1
Mikolaj Izdebski c8e5c3
- Remove RPM bug workaround
Mikolaj Izdebski 77f12a
- Remove BR on maven-changes-plugin
Mikolaj Izdebski 43cf31
Dennis Gilmore 2d9f97
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2-4
Dennis Gilmore 2d9f97
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
Dennis Gilmore 2d9f97
Stanislav Ochotnicky 64a3b1
* Thu Nov 24 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2.2-3
Stanislav Ochotnicky 64a3b1
- Use maven 3 to build
Stanislav Ochotnicky 64a3b1
- Packaging fixes according to latest guidelines
Stanislav Ochotnicky 64a3b1
Dennis Gilmore 69cd36
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2-2
Dennis Gilmore 69cd36
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
Dennis Gilmore 69cd36
Stanislav Ochotnicky 0047ba
* Fri Dec 10 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2.2-1
Stanislav Ochotnicky 0047ba
- Replace maven plugins with apache-commons-parent for BR
Stanislav Ochotnicky 0047ba
- Versionless jars and javadocs
Stanislav Ochotnicky 0047ba
- Rebase to latest upstream version
Stanislav Ochotnicky 0047ba
Stanislav Ochotnicky d65071
* Thu Jul  8 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2.0-6
Stanislav Ochotnicky d65071
- Add license to javadoc subpackage
Stanislav Ochotnicky d65071
Stanislav Ochotnicky 629c1f
* Thu May 20 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2.0-5
Stanislav Ochotnicky 629c1f
- Fix maven depmap JPP name to short_name
Stanislav Ochotnicky 629c1f
Stanislav Ochotnicky e80598
* Wed May 19 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2.0-4
Stanislav Ochotnicky e80598
- Ignore test failure
Stanislav Ochotnicky e80598
Stanislav Ochotnicky eae2d9
* Wed May 12 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2.0-3
Stanislav Ochotnicky eae2d9
- Rename jakarta-commons-net to apache-commons-net and drop EPOCH
Stanislav Ochotnicky eae2d9
- Build with maven
Stanislav Ochotnicky eae2d9
- Clean up whole spec
Stanislav Ochotnicky eae2d9
Stanislav Ochotnicky eae2d9
* Thu Aug 13 2009 Alexander Kurtakov <akurtako@redhat.com> 0:2.0-2
Stanislav Ochotnicky eae2d9
- Set maven.repo.local.
Stanislav Ochotnicky eae2d9
Stanislav Ochotnicky eae2d9
* Thu Aug 13 2009 Alexander Kurtakov <akurtako@redhat.com> 0:2.0-1
Stanislav Ochotnicky eae2d9
- Update to upstream 2.0.
Stanislav Ochotnicky eae2d9