Rebase to JSS 4.10.0-alpha1
Resolves: https://issues.redhat.com/browse/RHEL-16724
This commit is contained in:
parent
bc27712c67
commit
da8413fe24
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,3 +1,4 @@
|
||||
SOURCES/jss-4.9.4.tar.gz
|
||||
/jss-4.9.4.tar.gz
|
||||
/jss-4.9.8.tar.gz
|
||||
/jss-4.10.0-alpha1.tar.gz
|
||||
|
64
jss.spec
64
jss.spec
@ -2,20 +2,23 @@
|
||||
Name: jss
|
||||
################################################################################
|
||||
|
||||
%global product_id idm-jss
|
||||
|
||||
# Upstream version number:
|
||||
%global major_version 4
|
||||
%global minor_version 9
|
||||
%global update_version 8
|
||||
%global minor_version 10
|
||||
%global update_version 0
|
||||
|
||||
Summary: Java Security Services (JSS)
|
||||
URL: http://www.dogtagpki.org/wiki/JSS
|
||||
URL: https://github.com/dogtagpki/jss
|
||||
License: MPLv1.1 or GPLv2+ or LGPLv2+
|
||||
|
||||
# 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.
|
||||
%global release_number 1
|
||||
%global release_number 0.1
|
||||
Version: %{major_version}.%{minor_version}.%{update_version}
|
||||
Release: %{release_number}%{?_timestamp}%{?_commit_id}%{?dist}
|
||||
#global _phase -alpha1
|
||||
%global _phase -alpha1
|
||||
|
||||
# To generate the source tarball:
|
||||
# $ git clone https://github.com/dogtagpki/jss.git
|
||||
@ -24,7 +27,7 @@ Release: %{release_number}%{?_timestamp}%{?_commit_id}%{?dist}
|
||||
# $ git push origin v4.5.<z>
|
||||
# Then go to https://github.com/dogtagpki/jss/releases and download the source
|
||||
# tarball.
|
||||
Source: https://github.com/dogtagpki/%{name}/archive/v%{version}%{?_phase}/%{name}-%{version}%{?_phase}.tar.gz
|
||||
Source: https://github.com/dogtagpki/jss/archive/v%{version}%{?_phase}/jss-%{version}%{?_phase}.tar.gz
|
||||
|
||||
# md2man not available on i686
|
||||
ExcludeArch: i686
|
||||
@ -55,10 +58,10 @@ ExcludeArch: i686
|
||||
# Build Options
|
||||
################################################################################
|
||||
|
||||
# By default the build will execute unit tests unless --without test
|
||||
# By default the build will execute unit tests unless --without tests
|
||||
# option is specified.
|
||||
|
||||
%bcond_without test
|
||||
%bcond_without tests
|
||||
|
||||
################################################################################
|
||||
# Build Dependencies
|
||||
@ -81,6 +84,17 @@ BuildRequires: apache-commons-lang3
|
||||
|
||||
BuildRequires: junit
|
||||
|
||||
%description
|
||||
Java Security Services (JSS) is a java native interface which provides a bridge
|
||||
for java-based applications to use native Network Security Services (NSS).
|
||||
This only works with gcj. Other JREs require that JCE providers be signed.
|
||||
|
||||
################################################################################
|
||||
%package -n %{product_id}
|
||||
################################################################################
|
||||
|
||||
Summary: Java Security Services (JSS)
|
||||
|
||||
Requires: nss >= 3.44
|
||||
Requires: %{java_headless}
|
||||
Requires: jpackage-utils
|
||||
@ -89,34 +103,44 @@ Requires: glassfish-jaxb-api
|
||||
Requires: slf4j-jdk14
|
||||
Requires: apache-commons-lang3
|
||||
|
||||
Obsoletes: jss < %{version}-%{release}
|
||||
Provides: jss = %{version}-%{release}
|
||||
Provides: jss = %{major_version}.%{minor_version}
|
||||
Provides: %{product_id} = %{major_version}.%{minor_version}
|
||||
|
||||
Conflicts: ldapjdk < 4.20
|
||||
Conflicts: idm-console-framework < 1.2
|
||||
Conflicts: tomcatjss < 7.6.0
|
||||
Conflicts: pki-base < 10.10.0
|
||||
|
||||
%description
|
||||
%description -n %{product_id}
|
||||
Java Security Services (JSS) is a java native interface which provides a bridge
|
||||
for java-based applications to use native Network Security Services (NSS).
|
||||
This only works with gcj. Other JREs require that JCE providers be signed.
|
||||
|
||||
################################################################################
|
||||
%package javadoc
|
||||
%package -n %{product_id}-javadoc
|
||||
################################################################################
|
||||
|
||||
Summary: Java Security Services (JSS) Javadocs
|
||||
|
||||
Provides: javadoc = %{major_version}.%{minor_version}
|
||||
Obsoletes: jss-javadoc < %{version}-%{release}
|
||||
Provides: jss-javadoc = %{version}-%{release}
|
||||
Provides: jss-javadoc = %{major_version}.%{minor_version}
|
||||
Provides: %{product_id}-javadoc = %{major_version}.%{minor_version}
|
||||
|
||||
%description javadoc
|
||||
%description -n %{product_id}-javadoc
|
||||
This package contains the API documentation for JSS.
|
||||
|
||||
################################################################################
|
||||
%prep
|
||||
################################################################################
|
||||
|
||||
%autosetup -n %{name}-%{version}%{?_phase} -p 1
|
||||
%autosetup -n jss-%{version}%{?_phase} -p 1
|
||||
|
||||
################################################################################
|
||||
%build
|
||||
################################################################################
|
||||
|
||||
%set_build_flags
|
||||
|
||||
@ -152,12 +176,13 @@ cd %{_vpath_builddir}
|
||||
--no-print-directory \
|
||||
javadoc
|
||||
|
||||
%if %{with test}
|
||||
%if %{with tests}
|
||||
ctest --output-on-failure
|
||||
%endif
|
||||
|
||||
################################################################################
|
||||
%install
|
||||
################################################################################
|
||||
|
||||
cd %{_vpath_builddir}
|
||||
|
||||
@ -170,7 +195,8 @@ cd %{_vpath_builddir}
|
||||
install
|
||||
|
||||
################################################################################
|
||||
%files
|
||||
%files -n %{product_id}
|
||||
################################################################################
|
||||
|
||||
%defattr(-,root,root,-)
|
||||
%doc jss.html
|
||||
@ -179,13 +205,17 @@ cd %{_vpath_builddir}
|
||||
%{_jnidir}/*
|
||||
|
||||
################################################################################
|
||||
%files javadoc
|
||||
%files -n %{product_id}-javadoc
|
||||
################################################################################
|
||||
|
||||
%defattr(-,root,root,-)
|
||||
%{_javadocdir}/%{name}-%{version}/
|
||||
%{_javadocdir}/jss-%{version}/
|
||||
|
||||
################################################################################
|
||||
%changelog
|
||||
* Tue Jan 16 2024 Red Hat PKI Team <rhcs-maint@redhat.com> 4.10.0-0.1
|
||||
- Rebase to JSS 4.10.0-alpha1
|
||||
|
||||
* Fri Jan 12 2024 Red Hat PKI Team <rhcs-maint@redhat.com> 4.9.8-1
|
||||
- Rebase to JSS 4.9.8
|
||||
|
||||
|
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (jss-4.9.8.tar.gz) = 61a5f3535e1d9f330da4dc7b35d0de81a90a857fdac6547c9887d540427362f322973cc06bdbe89037d12af610979cbb2b6bb6c1d25c948ffb42d3ef72fcf906
|
||||
SHA512 (jss-4.10.0-alpha1.tar.gz) = 5a26d272dda536a01faea06e026119d4fc4cda3b14e00626821ae29f500fc56000bc2624a69780b10c48c1301ec97151c5e3bdf74a11eb57af92a9e478c6b26d
|
||||
|
Loading…
Reference in New Issue
Block a user