Package init
This commit is contained in:
parent
df8b116773
commit
46f511b722
50
apache-commons-net.spec
Normal file
50
apache-commons-net.spec
Normal file
@ -0,0 +1,50 @@
|
||||
Name: apache-commons-net
|
||||
Version: 3.6
|
||||
Release: 5
|
||||
Summary: Java library for Internet protocol
|
||||
License: ASL 2.0
|
||||
URL: http://commons.apache.org/net/
|
||||
Source0: http://archive.apache.org/dist/commons/net/source/commons-net-3.6-src.tar.gz
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: maven-local mvn(junit:junit) mvn(org.apache.commons:commons-parent:pom:)
|
||||
BuildRequires: mvn(org.apache.maven.plugins:maven-antrun-plugin)
|
||||
BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin)
|
||||
BuildRequires: mvn(org.codehaus.mojo:exec-maven-plugin)
|
||||
|
||||
%description
|
||||
Apache Commons Net library contains a collection of network utilities and protocol implementations.
|
||||
Supported protocols include: Echo, Finger, FTP, NNTP, NTP, POP3(S), SMTP(S), Telnet, Whois
|
||||
|
||||
%package help
|
||||
Summary: Help document for apache-commons-net
|
||||
Provides: %{name}-javadoc = %{version}-%{release}
|
||||
Obsoletes: %{name}-javadoc < %{version}-%{release}
|
||||
|
||||
%description help
|
||||
Help document for apache-commons-net.
|
||||
|
||||
%prep
|
||||
%autosetup -n commons-net-%{version}-src -p1
|
||||
|
||||
rm src/test/java/org/apache/commons/net/time/TimeTCPClientTest.java
|
||||
rm src/test/java/org/apache/commons/net/tftp/TFTPServerPathTest.java
|
||||
|
||||
%mvn_file : commons-net apache-commons-net
|
||||
%mvn_alias : org.apache.commons:commons-net
|
||||
|
||||
%build
|
||||
%mvn_build
|
||||
|
||||
%install
|
||||
%mvn_install
|
||||
|
||||
%files -f .mfiles
|
||||
%license LICENSE.txt NOTICE.txt
|
||||
|
||||
%files help -f .mfiles-javadoc
|
||||
%doc README.md RELEASE-NOTES.txt
|
||||
|
||||
%changelog
|
||||
* Wed Dec 4 2019 shijian <shijian16@huawei.com> - 3.6-5
|
||||
- Package init
|
||||
BIN
commons-net-3.6-src.tar.gz
Normal file
BIN
commons-net-3.6-src.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user