2018-08-10 19:19:15 +00:00
|
|
|
################################################################################
|
|
|
|
Name: ldapjdk
|
|
|
|
################################################################################
|
|
|
|
|
2022-04-29 14:53:08 +00:00
|
|
|
%global product_id dogtag-ldapjdk
|
|
|
|
|
|
|
|
# Upstream version number:
|
|
|
|
%global major_version 5
|
2023-06-16 12:08:03 +00:00
|
|
|
%global minor_version 4
|
|
|
|
%global update_version 1
|
2022-04-29 14:53:08 +00:00
|
|
|
|
|
|
|
# Downstream release number:
|
|
|
|
# - development/stabilization (unsupported): 0.<n> where n >= 1
|
|
|
|
# - GA/update (supported): <n> where n >= 1
|
2022-06-30 20:54:29 +00:00
|
|
|
%global release_number 1
|
2022-04-29 14:53:08 +00:00
|
|
|
|
|
|
|
# Development phase:
|
|
|
|
# - development (unsupported): alpha<n> where n >= 1
|
|
|
|
# - stabilization (unsupported): beta<n> where n >= 1
|
|
|
|
# - GA/update (supported): <none>
|
2023-02-07 19:58:32 +00:00
|
|
|
#global phase
|
2022-04-29 14:53:08 +00:00
|
|
|
|
|
|
|
%undefine timestamp
|
|
|
|
%undefine commit_id
|
|
|
|
|
2018-08-10 19:19:15 +00:00
|
|
|
Summary: LDAP SDK
|
2022-06-30 20:54:29 +00:00
|
|
|
URL: https://github.com/dogtagpki/ldap-sdk
|
2023-02-28 06:41:31 +00:00
|
|
|
License: MPL-1.1 or GPL-2.0-or-later or LGPL-2.1-or-later
|
2023-06-16 12:08:03 +00:00
|
|
|
Version: 5.4.1
|
2024-01-21 03:20:18 +00:00
|
|
|
Release: 3%{?dist}
|
2004-09-09 07:11:38 +00:00
|
|
|
|
2018-08-10 19:19:15 +00:00
|
|
|
# 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>
|
2022-04-29 14:53:08 +00:00
|
|
|
Source: https://github.com/dogtagpki/ldap-sdk/archive/v%{version}%{?phase:-}%{?phase}/ldap-sdk-%{version}%{?phase:-}%{?phase}.tar.gz
|
2018-08-10 19:19:15 +00:00
|
|
|
|
|
|
|
# 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
|
|
|
|
|
2023-02-07 19:58:32 +00:00
|
|
|
BuildArch: noarch
|
2023-07-26 00:04:17 +00:00
|
|
|
%if 0%{?java_arches:1}
|
2023-02-07 19:58:32 +00:00
|
|
|
ExclusiveArch: %{java_arches} noarch
|
2023-06-16 12:08:03 +00:00
|
|
|
%endif
|
2023-02-07 19:58:32 +00:00
|
|
|
|
2018-08-10 19:19:15 +00:00
|
|
|
################################################################################
|
2021-06-07 23:16:22 +00:00
|
|
|
# Java
|
2018-08-10 19:19:15 +00:00
|
|
|
################################################################################
|
|
|
|
|
2022-02-14 17:02:59 +00:00
|
|
|
%define java_devel java-17-openjdk-devel
|
|
|
|
%define java_headless java-17-openjdk-headless
|
|
|
|
%define java_home %{_jvmdir}/jre-17-openjdk
|
2021-06-07 23:16:22 +00:00
|
|
|
|
|
|
|
################################################################################
|
|
|
|
# Build Dependencies
|
|
|
|
################################################################################
|
2018-08-10 19:19:15 +00:00
|
|
|
|
|
|
|
BuildRequires: ant
|
2021-06-07 23:16:22 +00:00
|
|
|
BuildRequires: %{java_devel}
|
2018-08-10 19:19:15 +00:00
|
|
|
BuildRequires: javapackages-local
|
2019-08-08 20:11:36 +00:00
|
|
|
BuildRequires: slf4j
|
2020-06-10 21:00:52 +00:00
|
|
|
BuildRequires: slf4j-jdk14
|
2023-06-16 12:08:03 +00:00
|
|
|
BuildRequires: jss = 5.4
|
2022-04-29 14:53:08 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
The Mozilla LDAP SDKs enable you to write applications which access,
|
|
|
|
manage, and update the information stored in an LDAP directory.
|
2018-08-10 19:19:15 +00:00
|
|
|
|
|
|
|
################################################################################
|
2022-04-29 14:53:08 +00:00
|
|
|
%package -n %{product_id}
|
2018-08-10 19:19:15 +00:00
|
|
|
################################################################################
|
|
|
|
|
2022-04-29 14:53:08 +00:00
|
|
|
Summary: LDAP SDK
|
|
|
|
|
2021-06-07 23:16:22 +00:00
|
|
|
Requires: %{java_headless}
|
2018-08-10 19:19:15 +00:00
|
|
|
Requires: jpackage-utils >= 0:1.5
|
2019-08-08 20:11:36 +00:00
|
|
|
Requires: slf4j
|
2020-06-10 21:00:52 +00:00
|
|
|
Requires: slf4j-jdk14
|
2023-06-16 12:08:03 +00:00
|
|
|
Requires: jss = 5.4
|
2004-09-09 07:11:38 +00:00
|
|
|
|
2022-04-29 14:53:08 +00:00
|
|
|
Obsoletes: ldapjdk < %{version}-%{release}
|
|
|
|
Provides: ldapjdk = %{version}-%{release}
|
2023-02-07 19:58:32 +00:00
|
|
|
Provides: ldapjdk = %{major_version}.%{minor_version}
|
|
|
|
Provides: %{product_id} = %{major_version}.%{minor_version}
|
2022-04-29 14:53:08 +00:00
|
|
|
|
|
|
|
%description -n %{product_id}
|
2004-09-09 07:11:38 +00:00
|
|
|
The Mozilla LDAP SDKs enable you to write applications which access,
|
|
|
|
manage, and update the information stored in an LDAP directory.
|
|
|
|
|
2020-06-10 21:00:52 +00:00
|
|
|
%license docs/ldapjdk/license.txt
|
|
|
|
|
2018-08-10 19:19:15 +00:00
|
|
|
################################################################################
|
2022-04-29 14:53:08 +00:00
|
|
|
%package -n %{product_id}-javadoc
|
2018-08-10 19:19:15 +00:00
|
|
|
################################################################################
|
|
|
|
|
2022-04-29 14:53:08 +00:00
|
|
|
Summary: Javadoc for LDAP SDK
|
2004-09-09 07:11:38 +00:00
|
|
|
|
2022-04-29 14:53:08 +00:00
|
|
|
Obsoletes: ldapjdk-javadoc < %{version}-%{release}
|
|
|
|
Provides: ldapjdk-javadoc = %{version}-%{release}
|
2023-02-07 19:58:32 +00:00
|
|
|
Provides: ldapjdk-javadoc = %{major_version}.%{minor_version}
|
|
|
|
Provides: %{product_id}-javadoc = %{major_version}.%{minor_version}
|
2022-04-29 14:53:08 +00:00
|
|
|
|
|
|
|
%description -n %{product_id}-javadoc
|
2021-08-12 18:05:23 +00:00
|
|
|
Javadoc for LDAP SDK
|
2004-09-09 07:11:38 +00:00
|
|
|
|
2018-08-10 19:19:15 +00:00
|
|
|
################################################################################
|
2004-09-09 07:11:38 +00:00
|
|
|
%prep
|
2018-08-10 19:19:15 +00:00
|
|
|
################################################################################
|
|
|
|
|
2022-04-29 14:53:08 +00:00
|
|
|
%autosetup -n ldap-sdk-%{version}%{?phase:-}%{?phase} -p 1
|
2018-08-10 19:19:15 +00:00
|
|
|
|
|
|
|
################################################################################
|
2004-09-09 07:11:38 +00:00
|
|
|
%build
|
2018-08-10 19:19:15 +00:00
|
|
|
################################################################################
|
|
|
|
|
2021-06-07 23:16:22 +00:00
|
|
|
export JAVA_HOME=%{java_home}
|
2021-08-12 18:05:23 +00:00
|
|
|
|
|
|
|
./build.sh \
|
|
|
|
%{?_verbose:-v} \
|
|
|
|
--work-dir=%{_vpath_builddir} \
|
|
|
|
dist
|
2004-09-09 07:11:38 +00:00
|
|
|
|
2018-08-10 19:19:15 +00:00
|
|
|
################################################################################
|
2004-09-09 07:11:38 +00:00
|
|
|
%install
|
2018-08-10 19:19:15 +00:00
|
|
|
################################################################################
|
2004-09-09 07:11:38 +00:00
|
|
|
|
2021-08-12 18:05:23 +00:00
|
|
|
./build.sh \
|
|
|
|
%{?_verbose:-v} \
|
|
|
|
--work-dir=%{_vpath_builddir} \
|
|
|
|
--java-lib-dir=%{_javadir} \
|
|
|
|
--javadoc-dir=%{_javadocdir} \
|
|
|
|
--install-dir=%{buildroot} \
|
|
|
|
install
|
2006-07-24 19:29:52 +00:00
|
|
|
|
2018-08-10 19:19:15 +00:00
|
|
|
################################################################################
|
2022-04-29 14:53:08 +00:00
|
|
|
%files -n %{product_id}
|
2018-08-10 19:19:15 +00:00
|
|
|
################################################################################
|
|
|
|
|
2021-08-12 18:05:23 +00:00
|
|
|
%{_javadir}/ldapjdk.jar
|
|
|
|
%{_javadir}/ldapsp.jar
|
|
|
|
%{_javadir}/ldapfilt.jar
|
|
|
|
%{_javadir}/ldapbeans.jar
|
2023-02-07 19:58:32 +00:00
|
|
|
%{_javadir}/ldaptools.jar
|
2021-06-07 23:16:22 +00:00
|
|
|
%{_mavenpomdir}/JPP-ldapjdk.pom
|
|
|
|
%{_mavenpomdir}/JPP-ldapsp.pom
|
|
|
|
%{_mavenpomdir}/JPP-ldapfilter.pom
|
|
|
|
%{_mavenpomdir}/JPP-ldapbeans.pom
|
2023-02-07 19:58:32 +00:00
|
|
|
%{_mavenpomdir}/JPP-ldaptools.pom
|
2004-09-09 07:11:38 +00:00
|
|
|
|
2018-08-10 19:19:15 +00:00
|
|
|
################################################################################
|
2022-04-29 14:53:08 +00:00
|
|
|
%files -n %{product_id}-javadoc
|
2018-08-10 19:19:15 +00:00
|
|
|
################################################################################
|
|
|
|
|
2021-08-12 18:05:23 +00:00
|
|
|
%dir %{_javadocdir}/ldapjdk
|
|
|
|
%{_javadocdir}/ldapjdk/*
|
2004-09-09 07:11:38 +00:00
|
|
|
|
2018-08-10 19:19:15 +00:00
|
|
|
################################################################################
|
2004-09-09 07:11:38 +00:00
|
|
|
%changelog
|
2024-01-21 03:20:18 +00:00
|
|
|
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 5.4.1-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
2023-07-20 10:01:30 +00:00
|
|
|
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 5.4.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
2023-06-16 12:08:03 +00:00
|
|
|
* Fri Jun 16 2023 Packit <hello@packit.dev> - 5.4.1-1
|
|
|
|
- Updating version to v5.4.1 (Chris Kelley)
|
|
|
|
- Upstream some spec file changes from Fedora to minimise diff (Chris Kelley)
|
|
|
|
- Introduce Packit configuration for ldapjdk (Chris Kelley)
|
|
|
|
|
2023-02-07 19:58:32 +00:00
|
|
|
* Tue Feb 07 2023 Dogtag PKI Team <devel@lists.dogtagpki.org> - 5.3.0-1
|
|
|
|
- Rebase to LDAP SDK 5.3.0
|
|
|
|
|
2023-01-19 15:35:21 +00:00
|
|
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 5.2.0-1.3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
2022-07-21 17:04:31 +00:00
|
|
|
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 5.2.0-1.2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
2022-07-08 14:03:24 +00:00
|
|
|
* Fri Jul 08 2022 Jiri Vanek <jvanek@redhat.com> - 5.2.0-1.1
|
|
|
|
- Rebuilt for Drop i686 JDKs
|
|
|
|
|
2022-06-30 20:54:29 +00:00
|
|
|
* Thu Jun 30 2022 Dogtag PKI Team <devel@lists.dogtagpki.org> - 5.2.0-1
|
|
|
|
- Rebase to LDAP SDK 5.2.0
|
|
|
|
|
2022-04-29 14:53:08 +00:00
|
|
|
* Fri Apr 29 2022 Dogtag PKI Team <devel@lists.dogtagpki.org> - 5.2.0-0.3.beta2
|
|
|
|
- Rebase to LDAP SDK 5.2.0-beta2
|
|
|
|
- Rename packages to dogtag-ldapjdk
|
|
|
|
|
2022-04-11 23:33:05 +00:00
|
|
|
* Mon Apr 11 2022 Dogtag PKI Team <devel@lists.dogtagpki.org> - 5.2.0-0.2.beta1
|
|
|
|
- Rebase to LDAP SDK 5.2.0-beta1
|
|
|
|
|
2022-02-14 17:02:59 +00:00
|
|
|
* Mon Feb 14 2022 Dogtag PKI Team <devel@lists.dogtagpki.org> - 5.1.0-1
|
|
|
|
- Rebase to LDAP SDK 5.1.0
|
|
|
|
|
2022-02-05 21:17:48 +00:00
|
|
|
* Sat Feb 05 2022 Jiri Vanek <jvanek@redhat.com> - 5.0.0-3
|
|
|
|
- Rebuilt for java-17-openjdk as system jdk
|
|
|
|
|
2022-01-20 15:32:23 +00:00
|
|
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
2021-10-01 04:41:24 +00:00
|
|
|
* Thu Sep 30 2021 Dogtag PKI Team <devel@lists.dogtagpki.org> - 5.0.0-1
|
|
|
|
- Rebase to LDAP SDK 5.0.0
|
|
|
|
|
2021-08-12 18:05:23 +00:00
|
|
|
* Thu Aug 12 2021 Dogtag PKI Team <devel@lists.dogtagpki.org> - 5.0.0-0.3.alpha2
|
|
|
|
- Rebase to LDAP SDK 5.0.0-alpha2
|
|
|
|
|
2021-07-22 10:45:04 +00:00
|
|
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.0-0.2.alpha1
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
2021-08-12 18:05:23 +00:00
|
|
|
* Tue Jun 22 2021 Dogtag PKI Team <devel@lists.dogtagpki.org> - 5.0.0-0.1.alpha1
|
2021-06-22 20:16:24 +00:00
|
|
|
- Rebase to LDAP SDK 5.0.0-alpha1
|