import ldapjdk-5.0.0-1.el9
This commit is contained in:
commit
10d3ee6fe7
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
SOURCES/ldap-sdk-5.0.0.tar.gz
|
1
.ldapjdk.metadata
Normal file
1
.ldapjdk.metadata
Normal file
@ -0,0 +1 @@
|
|||||||
|
4398c56637bf8bb815b52de6a8bbca5d71abd03a SOURCES/ldap-sdk-5.0.0.tar.gz
|
138
SPECS/ldapjdk.spec
Normal file
138
SPECS/ldapjdk.spec
Normal file
@ -0,0 +1,138 @@
|
|||||||
|
################################################################################
|
||||||
|
Name: ldapjdk
|
||||||
|
################################################################################
|
||||||
|
|
||||||
|
Summary: LDAP SDK
|
||||||
|
URL: http://www.dogtagpki.org/
|
||||||
|
License: MPLv1.1 or GPLv2+ or LGPLv2+
|
||||||
|
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
# For development (i.e. unsupported) releases, use x.y.z-0.n.<phase>.
|
||||||
|
# For official (i.e. supported) releases, use x.y.z-r where r >=1.
|
||||||
|
Version: 5.0.0
|
||||||
|
Release: 1%{?_timestamp}%{?_commit_id}%{?dist}
|
||||||
|
#global _phase -alpha1
|
||||||
|
|
||||||
|
# To create a tarball from a version tag:
|
||||||
|
# $ git archive \
|
||||||
|
# --format=tar.gz \
|
||||||
|
# --prefix ldap-sdk-<version>/ \
|
||||||
|
# -o ldap-sdk-<version>.tar.gz \
|
||||||
|
# <version tag>
|
||||||
|
Source: https://github.com/dogtagpki/ldap-sdk/archive/v%{version}%{?_phase}/ldap-sdk-%{version}%{?_phase}.tar.gz
|
||||||
|
|
||||||
|
# To create a patch for all changes since a version tag:
|
||||||
|
# $ git format-patch \
|
||||||
|
# --stdout \
|
||||||
|
# <version tag> \
|
||||||
|
# > ldap-sdk-VERSION-RELEASE.patch
|
||||||
|
# Patch: ldap-sdk-VERSION-RELEASE.patch
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
# Java
|
||||||
|
################################################################################
|
||||||
|
|
||||||
|
%define java_devel java-11-openjdk-devel
|
||||||
|
%define java_headless java-11-openjdk-headless
|
||||||
|
%define java_home /usr/lib/jvm/jre-11-openjdk
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
# Build Dependencies
|
||||||
|
################################################################################
|
||||||
|
|
||||||
|
BuildRequires: ant
|
||||||
|
BuildRequires: %{java_devel}
|
||||||
|
BuildRequires: javapackages-local
|
||||||
|
BuildRequires: slf4j
|
||||||
|
BuildRequires: slf4j-jdk14
|
||||||
|
BuildRequires: jss >= 5.0.0
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
# Runtime Dependencies
|
||||||
|
################################################################################
|
||||||
|
|
||||||
|
Requires: %{java_headless}
|
||||||
|
Requires: jpackage-utils >= 0:1.5
|
||||||
|
Requires: slf4j
|
||||||
|
Requires: slf4j-jdk14
|
||||||
|
Requires: jss >= 5.0.0
|
||||||
|
|
||||||
|
%description
|
||||||
|
The Mozilla LDAP SDKs enable you to write applications which access,
|
||||||
|
manage, and update the information stored in an LDAP directory.
|
||||||
|
|
||||||
|
%license docs/ldapjdk/license.txt
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
%package javadoc
|
||||||
|
################################################################################
|
||||||
|
|
||||||
|
Summary: Javadoc for LDAP SDK
|
||||||
|
|
||||||
|
%description javadoc
|
||||||
|
Javadoc for LDAP SDK
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
%prep
|
||||||
|
################################################################################
|
||||||
|
|
||||||
|
%autosetup -n ldap-sdk-%{version}%{?_phase} -p 1
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
%build
|
||||||
|
################################################################################
|
||||||
|
|
||||||
|
export JAVA_HOME=%{java_home}
|
||||||
|
|
||||||
|
./build.sh \
|
||||||
|
%{?_verbose:-v} \
|
||||||
|
--work-dir=%{_vpath_builddir} \
|
||||||
|
dist
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
%install
|
||||||
|
################################################################################
|
||||||
|
|
||||||
|
./build.sh \
|
||||||
|
%{?_verbose:-v} \
|
||||||
|
--work-dir=%{_vpath_builddir} \
|
||||||
|
--java-lib-dir=%{_javadir} \
|
||||||
|
--javadoc-dir=%{_javadocdir} \
|
||||||
|
--install-dir=%{buildroot} \
|
||||||
|
install
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
%files
|
||||||
|
################################################################################
|
||||||
|
|
||||||
|
%{_javadir}/ldapjdk.jar
|
||||||
|
%{_javadir}/ldapsp.jar
|
||||||
|
%{_javadir}/ldapfilt.jar
|
||||||
|
%{_javadir}/ldapbeans.jar
|
||||||
|
%{_mavenpomdir}/JPP-ldapjdk.pom
|
||||||
|
%{_mavenpomdir}/JPP-ldapsp.pom
|
||||||
|
%{_mavenpomdir}/JPP-ldapfilter.pom
|
||||||
|
%{_mavenpomdir}/JPP-ldapbeans.pom
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
%files javadoc
|
||||||
|
################################################################################
|
||||||
|
|
||||||
|
%dir %{_javadocdir}/ldapjdk
|
||||||
|
%{_javadocdir}/ldapjdk/*
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
%changelog
|
||||||
|
* Tue Oct 05 2021 Red Hat PKI Team <rhcs-maint@redhat.com> - 5.0.0-1
|
||||||
|
- Rebase to LDAP SDK 5.0.0
|
||||||
|
|
||||||
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 5.0.0-0.3.alpha1
|
||||||
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
||||||
|
Related: rhbz#1991688
|
||||||
|
|
||||||
|
* Mon Aug 2 2021 Red Hat PKI Team <rhcs-maint@redhat.com> - 5.0.0-0.2
|
||||||
|
- Drop javadoc package
|
||||||
|
|
||||||
|
* Fri Jun 25 2021 Red Hat PKI Team <rhcs-maint@redhat.com> - 5.0.0-0.1
|
||||||
|
- Rebase to LDAP SDK 5.0.0-alpha1
|
Loading…
Reference in New Issue
Block a user