Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Java:packages
httpcomponents-client5
httpcomponents-client5.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File httpcomponents-client5.spec of Package httpcomponents-client5
# # spec file for package httpcomponents-client5 # # Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: httpcomponents-client5 Version: 5.3.1 Release: 0 Summary: HTTP agent implementation based on httpcomponents HttpCore License: Apache-2.0 Group: Development/Libraries/Java URL: https://hc.apache.org/ Source0: https://archive.apache.org/dist/httpcomponents/httpclient/source/httpcomponents-client-%{version}-src.tar.gz Patch0: %{name}-conscrypt.patch BuildRequires: fdupes BuildRequires: maven-local BuildRequires: mvn(net.java.dev.jna:jna) BuildRequires: mvn(net.java.dev.jna:jna-platform) BuildRequires: mvn(org.apache.httpcomponents.core5:httpcore5) BuildRequires: mvn(org.apache.httpcomponents.core5:httpcore5-h2) BuildRequires: mvn(org.apache.httpcomponents.core5:httpcore5-testing) BuildRequires: mvn(org.apache.httpcomponents:httpcomponents-parent:pom:) BuildRequires: mvn(org.apache.logging.log4j:log4j-core) BuildRequires: mvn(org.apache.logging.log4j:log4j-slf4j-impl) BuildRequires: mvn(org.brotli:dec) BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin) BuildRequires: mvn(org.junit:junit-bom:pom:) BuildRequires: mvn(org.slf4j:slf4j-api) BuildRequires: publicsuffix Requires: publicsuffix BuildArch: noarch %description HttpClient is a HTTP/1.1 compliant HTTP agent implementation based on httpcomponents HttpCore. It also provides reusable components for client-side authentication, HTTP state management, and HTTP connection management. HttpComponents Client is a successor of and replacement for Commons HttpClient 3.x. Users of Commons HttpClient are strongly encouraged to upgrade. %package cache Summary: Cache module for %{name} Group: Development/Libraries/Java %description cache This package provides client side caching for %{name}. %package javadoc Summary: API documentation for %{name} Group: Documentation/HTML %description javadoc %{summary}. %prep %setup -q -c # Remove optional build deps not available in openSUSE %pom_remove_plugin -r :download-maven-plugin %pom_remove_plugin :maven-checkstyle-plugin %pom_remove_plugin :apache-rat-plugin %pom_remove_plugin :maven-javadoc-plugin # Missing dependencies rm -r httpclient5-cache/src/main/*/org/apache/hc/client5/http/impl/cache/memcached %pom_remove_dep :spymemcached httpclient5-cache rm -r httpclient5-cache/src/main/*/org/apache/hc/client5/http/impl/cache/ehcache %pom_remove_dep :ehcache-api httpclient5-cache rm -f httpclient5/src/main/java/org/apache/hc/client5/http/ssl/ConscryptClientTlsStrategy.java %pom_remove_dep org.conscrypt:conscrypt-openjdk-uber httpclient5 %patch -P 0 -p1 %build %{mvn_build} -f -- \ %if %{?pkg_vcmp:%pkg_vcmp java-devel >= 9}%{!?pkg_vcmp:0} -Dmaven.compiler.release=8 \ %endif -Dsource=8 %install %{mvn_package} :{*}-parent __noinstall %{mvn_package} :{*}-cache cache %mvn_install %fdupes -s %{buildroot}%{_javadocdir} %files -f .mfiles %license LICENSE.txt NOTICE.txt %doc README.md RELEASE_NOTES.txt %files cache -f .mfiles-cache %files javadoc -f .mfiles-javadoc %license LICENSE.txt NOTICE.txt %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor