import CS ldapjdk-5.5.0-1.el9
This commit is contained in:
parent
bd7c6a0629
commit
74b6f1f565
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
|||||||
SOURCES/ldap-sdk-5.4.0.tar.gz
|
SOURCES/ldap-sdk-5.5.0.tar.gz
|
||||||
|
@ -1 +1 @@
|
|||||||
e74c4c1e445422fe3f069c72241235e62f217d2f SOURCES/ldap-sdk-5.4.0.tar.gz
|
e768bb087a0f72e81b17d90eb1a37fb900fabf6e SOURCES/ldap-sdk-5.5.0.tar.gz
|
||||||
|
@ -6,7 +6,7 @@ Name: ldapjdk
|
|||||||
|
|
||||||
# Upstream version number:
|
# Upstream version number:
|
||||||
%global major_version 5
|
%global major_version 5
|
||||||
%global minor_version 4
|
%global minor_version 5
|
||||||
%global update_version 0
|
%global update_version 0
|
||||||
|
|
||||||
# Downstream release number:
|
# Downstream release number:
|
||||||
@ -25,7 +25,7 @@ Name: ldapjdk
|
|||||||
|
|
||||||
Summary: LDAP SDK
|
Summary: LDAP SDK
|
||||||
URL: https://github.com/dogtagpki/ldap-sdk
|
URL: https://github.com/dogtagpki/ldap-sdk
|
||||||
License: MPLv1.1 or GPLv2+ or LGPLv2+
|
License: MPL-1.1 or GPL-2.0-or-later or LGPL-2.1-or-later
|
||||||
Version: %{major_version}.%{minor_version}.%{update_version}
|
Version: %{major_version}.%{minor_version}.%{update_version}
|
||||||
Release: %{release_number}%{?phase:.}%{?phase}%{?timestamp:.}%{?timestamp}%{?commit_id:.}%{?commit_id}%{?dist}
|
Release: %{release_number}%{?phase:.}%{?phase}%{?timestamp:.}%{?timestamp}%{?commit_id:.}%{?commit_id}%{?dist}
|
||||||
|
|
||||||
@ -45,6 +45,9 @@ Source: https://github.com/dogtagpki/ldap-sdk/archive/v%{version}%{?phase:-}%{?p
|
|||||||
# Patch: ldap-sdk-VERSION-RELEASE.patch
|
# Patch: ldap-sdk-VERSION-RELEASE.patch
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
%if 0%{?java_arches:1}
|
||||||
|
ExclusiveArch: %{java_arches} noarch
|
||||||
|
%endif
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
# Java
|
# Java
|
||||||
@ -60,10 +63,10 @@ BuildArch: noarch
|
|||||||
|
|
||||||
BuildRequires: ant
|
BuildRequires: ant
|
||||||
BuildRequires: %{java_devel}
|
BuildRequires: %{java_devel}
|
||||||
BuildRequires: javapackages-local
|
BuildRequires: maven-local
|
||||||
BuildRequires: slf4j
|
BuildRequires: mvn(org.slf4j:slf4j-api)
|
||||||
BuildRequires: slf4j-jdk14
|
BuildRequires: mvn(org.slf4j:slf4j-jdk14)
|
||||||
BuildRequires: jss = 5.4
|
BuildRequires: mvn(org.dogtagpki.jss:jss-base) >= 5.5.0
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The Mozilla LDAP SDKs enable you to write applications which access,
|
The Mozilla LDAP SDKs enable you to write applications which access,
|
||||||
@ -76,10 +79,9 @@ manage, and update the information stored in an LDAP directory.
|
|||||||
Summary: LDAP SDK
|
Summary: LDAP SDK
|
||||||
|
|
||||||
Requires: %{java_headless}
|
Requires: %{java_headless}
|
||||||
Requires: jpackage-utils >= 0:1.5
|
Requires: mvn(org.slf4j:slf4j-api)
|
||||||
Requires: slf4j
|
Requires: mvn(org.slf4j:slf4j-jdk14)
|
||||||
Requires: slf4j-jdk14
|
Requires: mvn(org.dogtagpki.jss:jss-base) >= 5.5.0
|
||||||
Requires: jss = 5.4
|
|
||||||
|
|
||||||
Obsoletes: ldapjdk < %{version}-%{release}
|
Obsoletes: ldapjdk < %{version}-%{release}
|
||||||
Provides: ldapjdk = %{version}-%{release}
|
Provides: ldapjdk = %{version}-%{release}
|
||||||
@ -112,38 +114,40 @@ Javadoc for LDAP SDK
|
|||||||
|
|
||||||
%autosetup -n ldap-sdk-%{version}%{?phase:-}%{?phase} -p 1
|
%autosetup -n ldap-sdk-%{version}%{?phase:-}%{?phase} -p 1
|
||||||
|
|
||||||
|
# flatten-maven-plugin is not available in RPM
|
||||||
|
%pom_remove_plugin org.codehaus.mojo:flatten-maven-plugin
|
||||||
|
|
||||||
|
# specify Maven artifact locations
|
||||||
|
%mvn_file org.dogtagpki.ldap-sdk:ldapjdk ldapjdk/ldapjdk ldapjdk
|
||||||
|
%mvn_file org.dogtagpki.ldap-sdk:ldapbeans ldapjdk/ldapbeans ldapbeans
|
||||||
|
%mvn_file org.dogtagpki.ldap-sdk:ldapfilter ldapjdk/ldapfilter ldapfilt
|
||||||
|
%mvn_file org.dogtagpki.ldap-sdk:ldapsp ldapjdk/ldapsp ldapsp
|
||||||
|
%mvn_file org.dogtagpki.ldap-sdk:ldaptools ldapjdk/ldaptools ldaptools
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
%build
|
%build
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
export JAVA_HOME=%{java_home}
|
export JAVA_HOME=%{java_home}
|
||||||
|
|
||||||
./build.sh \
|
%mvn_build
|
||||||
%{?_verbose:-v} \
|
|
||||||
--work-dir=%{_vpath_builddir} \
|
|
||||||
dist
|
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
%install
|
%install
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
./build.sh \
|
%mvn_install
|
||||||
%{?_verbose:-v} \
|
|
||||||
--work-dir=%{_vpath_builddir} \
|
ln -sf %{name}/ldapjdk.pom %{buildroot}%{_mavenpomdir}/JPP-ldapjdk.pom
|
||||||
--java-lib-dir=%{_javadir} \
|
ln -sf %{name}/ldapsp.pom %{buildroot}%{_mavenpomdir}/JPP-ldapsp.pom
|
||||||
--javadoc-dir=%{_javadocdir} \
|
ln -sf %{name}/ldapfilter.pom %{buildroot}%{_mavenpomdir}/JPP-ldapfilter.pom
|
||||||
--install-dir=%{buildroot} \
|
ln -sf %{name}/ldapbeans.pom %{buildroot}%{_mavenpomdir}/JPP-ldapbeans.pom
|
||||||
install
|
ln -sf %{name}/ldaptools.pom %{buildroot}%{_mavenpomdir}/JPP-ldaptools.pom
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
%files -n %{product_id}
|
%files -n %{product_id} -f .mfiles
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
%{_javadir}/ldapjdk.jar
|
|
||||||
%{_javadir}/ldapsp.jar
|
|
||||||
%{_javadir}/ldapfilt.jar
|
|
||||||
%{_javadir}/ldapbeans.jar
|
|
||||||
%{_javadir}/ldaptools.jar
|
|
||||||
%{_mavenpomdir}/JPP-ldapjdk.pom
|
%{_mavenpomdir}/JPP-ldapjdk.pom
|
||||||
%{_mavenpomdir}/JPP-ldapsp.pom
|
%{_mavenpomdir}/JPP-ldapsp.pom
|
||||||
%{_mavenpomdir}/JPP-ldapfilter.pom
|
%{_mavenpomdir}/JPP-ldapfilter.pom
|
||||||
@ -151,14 +155,17 @@ export JAVA_HOME=%{java_home}
|
|||||||
%{_mavenpomdir}/JPP-ldaptools.pom
|
%{_mavenpomdir}/JPP-ldaptools.pom
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
%files -n %{product_id}-javadoc
|
%files -n %{product_id}-javadoc -f .mfiles-javadoc
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
%dir %{_javadocdir}/ldapjdk
|
|
||||||
%{_javadocdir}/ldapjdk/*
|
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Feb 21 2024 Red Hat PKI Team <rhcs-maint@redhat.com> - 5.5.0-1
|
||||||
|
- Rebase to LDAP SDK 5.5.0
|
||||||
|
|
||||||
|
* Thu Dec 07 2023 Red Hat PKI Team <rhcs-maint@redhat.com> - 5.5.0-0.1.alpha4
|
||||||
|
- Rebase to LDAP SDK 5.5.0-alpha4
|
||||||
|
|
||||||
* Mon Jun 05 2023 Red Hat PKI Team <rhcs-maint@redhat.com> - 5.4.0-1
|
* Mon Jun 05 2023 Red Hat PKI Team <rhcs-maint@redhat.com> - 5.4.0-1
|
||||||
- Rebase to LDAP SDK 5.4.0
|
- Rebase to LDAP SDK 5.4.0
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user