import ldapjdk-5.3.0-1.el9

This commit is contained in:
CentOS Sources 2023-03-28 10:47:46 +00:00 committed by Stepan Oksanichenko
parent de4143acf8
commit d48fb5cb9d
3 changed files with 20 additions and 7 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/ldap-sdk-5.2.0.tar.gz SOURCES/ldap-sdk-5.3.0.tar.gz

View File

@ -1 +1 @@
528725334ea80bf159fc4aa0450df171290a471a SOURCES/ldap-sdk-5.2.0.tar.gz 64ab69891fc480e43bd19b4112dfdbcf07c25190 SOURCES/ldap-sdk-5.3.0.tar.gz

View File

@ -6,7 +6,7 @@ Name: ldapjdk
# Upstream version number: # Upstream version number:
%global major_version 5 %global major_version 5
%global minor_version 2 %global minor_version 3
%global update_version 0 %global update_version 0
# Downstream release number: # Downstream release number:
@ -18,7 +18,7 @@ Name: ldapjdk
# - development (unsupported): alpha<n> where n >= 1 # - development (unsupported): alpha<n> where n >= 1
# - stabilization (unsupported): beta<n> where n >= 1 # - stabilization (unsupported): beta<n> where n >= 1
# - GA/update (supported): <none> # - GA/update (supported): <none>
%undefine phase #global phase
%undefine timestamp %undefine timestamp
%undefine commit_id %undefine commit_id
@ -26,7 +26,6 @@ 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: MPLv1.1 or GPLv2+ or LGPLv2+
BuildArch: noarch
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 +44,8 @@ Source: https://github.com/dogtagpki/ldap-sdk/archive/v%{version}%{?phase:-}%{?p
# > ldap-sdk-VERSION-RELEASE.patch # > ldap-sdk-VERSION-RELEASE.patch
# Patch: ldap-sdk-VERSION-RELEASE.patch # Patch: ldap-sdk-VERSION-RELEASE.patch
BuildArch: noarch
################################################################################ ################################################################################
# Java # Java
################################################################################ ################################################################################
@ -62,7 +63,7 @@ BuildRequires: %{java_devel}
BuildRequires: javapackages-local BuildRequires: javapackages-local
BuildRequires: slf4j BuildRequires: slf4j
BuildRequires: slf4j-jdk14 BuildRequires: slf4j-jdk14
BuildRequires: jss >= 5.2.0 BuildRequires: jss = 5.3
%description %description
The Mozilla LDAP SDKs enable you to write applications which access, The Mozilla LDAP SDKs enable you to write applications which access,
@ -78,10 +79,12 @@ Requires: %{java_headless}
Requires: jpackage-utils >= 0:1.5 Requires: jpackage-utils >= 0:1.5
Requires: slf4j Requires: slf4j
Requires: slf4j-jdk14 Requires: slf4j-jdk14
Requires: jss >= 5.2.0 Requires: jss = 5.3
Obsoletes: ldapjdk < %{version}-%{release} Obsoletes: ldapjdk < %{version}-%{release}
Provides: ldapjdk = %{version}-%{release} Provides: ldapjdk = %{version}-%{release}
Provides: ldapjdk = %{major_version}.%{minor_version}
Provides: %{product_id} = %{major_version}.%{minor_version}
%description -n %{product_id} %description -n %{product_id}
The Mozilla LDAP SDKs enable you to write applications which access, The Mozilla LDAP SDKs enable you to write applications which access,
@ -97,6 +100,8 @@ Summary: Javadoc for LDAP SDK
Obsoletes: ldapjdk-javadoc < %{version}-%{release} Obsoletes: ldapjdk-javadoc < %{version}-%{release}
Provides: ldapjdk-javadoc = %{version}-%{release} Provides: ldapjdk-javadoc = %{version}-%{release}
Provides: ldapjdk-javadoc = %{major_version}.%{minor_version}
Provides: %{product_id}-javadoc = %{major_version}.%{minor_version}
%description -n %{product_id}-javadoc %description -n %{product_id}-javadoc
Javadoc for LDAP SDK Javadoc for LDAP SDK
@ -138,10 +143,12 @@ export JAVA_HOME=%{java_home}
%{_javadir}/ldapsp.jar %{_javadir}/ldapsp.jar
%{_javadir}/ldapfilt.jar %{_javadir}/ldapfilt.jar
%{_javadir}/ldapbeans.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
%{_mavenpomdir}/JPP-ldapbeans.pom %{_mavenpomdir}/JPP-ldapbeans.pom
%{_mavenpomdir}/JPP-ldaptools.pom
################################################################################ ################################################################################
%files -n %{product_id}-javadoc %files -n %{product_id}-javadoc
@ -152,6 +159,12 @@ export JAVA_HOME=%{java_home}
################################################################################ ################################################################################
%changelog %changelog
* Fri Feb 10 2023 Red Hat PKI Team <rhcs-maint@redhat.com> - 5.3.0-1
- Rebase to LDAP SDK 5.3.0
* Wed Nov 30 2022 Red Hat PKI Team <rhcs-maint@redhat.com> - 5.3.0-0.2.beta1
- Rebase to LDAP SDK 5.3.0-beta1
* Thu Jun 30 2022 Red Hat PKI Team <rhcs-maint@redhat.com> - 5.2.0-1 * Thu Jun 30 2022 Red Hat PKI Team <rhcs-maint@redhat.com> - 5.2.0-1
- Rebase to LDAP SDK 5.2.0 - Rebase to LDAP SDK 5.2.0