Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Step:15-SP4
jackson-databind.23702
jackson-databind.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File jackson-databind.spec of Package jackson-databind.23702
# # spec file for package jackson-databind # # Copyright (c) 2022 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: jackson-databind Version: 2.13.0 Release: 0 Summary: General data-binding package for Jackson (2.x) License: Apache-2.0 AND LGPL-2.1-or-later URL: https://github.com/FasterXML/jackson-databind/ Source0: https://github.com/FasterXML/jackson-databind/archive/%{name}-%{version}.tar.gz Source1: %{name}-build.xml BuildRequires: ant BuildRequires: fdupes BuildRequires: jackson-annotations >= 2.13 BuildRequires: jackson-core >= 2.13 BuildRequires: java-devel >= 1.8 BuildRequires: javapackages-local Requires: mvn(com.fasterxml.jackson.core:jackson-annotations) Requires: mvn(com.fasterxml.jackson.core:jackson-core) BuildArch: noarch %description The general-purpose data-binding functionality and tree-model for Jackson Data Processor. It builds on core streaming parser/generator package, and uses Jackson Annotations for configuration. %package javadoc Summary: Javadoc for %{name} %description javadoc This package contains API documentation for %{name}. %prep %setup -q -n %{name}-%{name}-%{version} cp %{SOURCE1} build.xml mkdir -p lib # Remove section unnecessary for ant build %pom_remove_parent %pom_remove_dep :::test %pom_xpath_remove pom:project/pom:build %pom_xpath_remove pom:project/pom:profiles cp -p src/main/resources/META-INF/NOTICE . sed -i 's/\r//' LICENSE NOTICE %build build-jar-repository -s lib jackson-annotations jackson-core %{ant} -Dtest.skip=true jar javadoc %install install -dm 0755 %{buildroot}%{_javadir} install -pm 0644 target/%{name}-%{version}.jar %{buildroot}%{_javadir}/%{name}.jar install -dm 0755 %{buildroot}%{_mavenpomdir} install -pm 0644 pom.xml %{buildroot}%{_mavenpomdir}/%{name}.pom %add_maven_depmap %{name}.pom %{name}.jar install -dm 0755 %{buildroot}%{_javadocdir} cp -r target/site/apidocs %{buildroot}%{_javadocdir}/%{name} %fdupes -s %{buildroot}%{_javadocdir} %files -f .mfiles %doc README.md release-notes/* %license LICENSE %files javadoc %{_javadocdir}/%{name} %license LICENSE %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