httpcomponents-project/httpcomponents-project.spec

43 lines
1.2 KiB
RPMSpec
Raw Permalink Normal View History

2020-08-07 12:00:51 +08:00
Name: httpcomponents-project
Summary: Apache components to build HTTP enabled services
2023-09-26 15:47:16 +08:00
Version: 11
2020-08-07 12:00:51 +08:00
Release: 1
License: ASL 2.0
URL: http://hc.apache.org/
2023-09-26 15:47:16 +08:00
Source0: http://archive.apache.org/dist/httpcomponents/httpcomponents-parent/11/httpcomponents-parent-11.pom
2020-08-07 12:00:51 +08:00
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
2023-09-26 15:47:16 +08:00
* Tue Sep 26 2023 Ge Wang <wang__ge@126.com> - 11-1
- update to version 11
2020-08-07 12:00:51 +08:00
* Tue Jun 9 2020 huanghaitao <huanghaitao8@huawei.com> - 9-1
- package init