40 lines
1.1 KiB
RPMSpec
40 lines
1.1 KiB
RPMSpec
|
|
Name: httpcomponents-project
|
||
|
|
Summary: Apache components to build HTTP enabled services
|
||
|
|
Version: 9
|
||
|
|
Release: 1
|
||
|
|
License: ASL 2.0
|
||
|
|
URL: http://hc.apache.org/
|
||
|
|
Source0: http://archive.apache.org/dist/httpcomponents/httpcomponents-parent/9/httpcomponents-parent-9.pom
|
||
|
|
Source1: http://www.apache.org/licenses/LICENSE-2.0.txt
|
||
|
|
BuildArch: noarch
|
||
|
|
BuildRequires: maven-local mvn(org.apache:apache:pom:)
|
||
|
|
BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin)
|
||
|
|
%description
|
||
|
|
Apache components to build HTTP enabled services.
|
||
|
|
|
||
|
|
%prep
|
||
|
|
%setup -q -T -c httpcomponents-project
|
||
|
|
cp -p %{SOURCE0} pom.xml
|
||
|
|
cp -p %{SOURCE1} .
|
||
|
|
%pom_remove_plugin :buildnumber-maven-plugin
|
||
|
|
%pom_remove_plugin :clirr-maven-plugin
|
||
|
|
%pom_remove_plugin :docbkx-maven-plugin
|
||
|
|
%pom_remove_plugin :maven-site-plugin
|
||
|
|
%pom_remove_plugin :animal-sniffer-maven-plugin
|
||
|
|
%pom_remove_plugin :apache-rat-plugin
|
||
|
|
%mvn_alias : :project
|
||
|
|
|
||
|
|
%build
|
||
|
|
%mvn_file : httpcomponents-project
|
||
|
|
%mvn_build
|
||
|
|
|
||
|
|
%install
|
||
|
|
%mvn_install
|
||
|
|
|
||
|
|
%files -f .mfiles
|
||
|
|
%doc LICENSE-2.0.txt
|
||
|
|
|
||
|
|
%changelog
|
||
|
|
* Tue Jun 9 2020 huanghaitao <huanghaitao8@huawei.com> - 9-1
|
||
|
|
- package init
|