196 lines
7.1 KiB
RPMSpec
196 lines
7.1 KiB
RPMSpec
Name: voms-api-java
|
|
Version: 3.3.2
|
|
Release: 1%{?dist}
|
|
Summary: Virtual Organization Membership Service Java API
|
|
|
|
License: ASL 2.0
|
|
URL: https://wiki.italiangrid.it/VOMS
|
|
Source0: https://github.com/italiangrid/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
|
|
# These are build instructions for ant generated from the maven
|
|
# build instructions using the maven ant plugin.
|
|
# These are used for building on EPEL 6 since there is no maven
|
|
# available there.
|
|
Source1: build.xml
|
|
Source2: maven-build.xml
|
|
Source3: maven-build.properties
|
|
BuildArch: noarch
|
|
# There is no jakarta-commons-io for ppc64 in EPEL6
|
|
ExcludeArch: ppc64
|
|
|
|
BuildRequires: java-1.8.0-openjdk-devel
|
|
BuildRequires: jpackage-utils
|
|
BuildRequires: ant
|
|
BuildRequires: canl-java >= 2.6
|
|
Requires: java >= 1:1.8
|
|
Requires: jpackage-utils
|
|
Requires: canl-java >= 2.6
|
|
Provides: voms-api-java3 = %{version}-%{release}
|
|
Obsoletes: voms-api-java3 < 3.1
|
|
|
|
%description
|
|
The Virtual Organization Membership Service (VOMS) is an attribute authority
|
|
which serves as central repository for VO user authorization information,
|
|
providing support for sorting users into group hierarchies, keeping track of
|
|
their roles and other attributes in order to issue trusted attribute
|
|
certificates and SAML assertions used in the Grid environment for
|
|
authorization purposes.
|
|
|
|
This package provides a java client API for VOMS.
|
|
|
|
%package javadoc
|
|
Summary: Virtual Organization Membership Service Java API Documentation
|
|
Requires: jpackage-utils
|
|
Provides: voms-api-java3-javadoc = %{version}-%{release}
|
|
Obsoletes: voms-api-java3-javadoc < 3.1
|
|
|
|
%description javadoc
|
|
Virtual Organization Membership Service (VOMS) Java API Documentation.
|
|
|
|
%prep
|
|
%setup -q
|
|
cp -p %{SOURCE1} .
|
|
cp -p %{SOURCE2} .
|
|
cp -p %{SOURCE3} .
|
|
|
|
%build
|
|
export CLASSPATH=$(build-classpath bcprov-1.58 bcpkix-1.58 commons-io canl)
|
|
# The tests use mockito which is not available in EPEL 6 - skipping tests
|
|
%ant -Dbuild.sysclasspath=last -Dmaven.test.skip=true package javadoc
|
|
|
|
%install
|
|
mkdir -p %{buildroot}%{_javadir}
|
|
install -m 644 target/%{name}-%{version}.jar \
|
|
%{buildroot}%{_javadir}/%{name}.jar
|
|
|
|
mkdir -p %{buildroot}%{_mavenpomdir}
|
|
install -p -m 644 pom.xml %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
|
|
%add_to_maven_depmap org.italiangrid %{name} %{version} JPP %{name}
|
|
|
|
mkdir -p %{buildroot}%{_javadocdir}/%{name}
|
|
cp -pr target/site/apidocs %{buildroot}%{_javadocdir}/%{name}
|
|
|
|
%post
|
|
%update_maven_depmap
|
|
|
|
%postun
|
|
%update_maven_depmap
|
|
|
|
%files
|
|
%{_javadir}/%{name}.jar
|
|
%{_mavenpomdir}/JPP-%{name}.pom
|
|
%config(noreplace) %{_mavendepmapfragdir}/%{name}
|
|
%doc AUTHORS README.md
|
|
%license LICENSE
|
|
|
|
%files javadoc
|
|
%doc %{_javadocdir}/%{name}
|
|
%license LICENSE
|
|
|
|
%changelog
|
|
* Wed Oct 14 2020 Mattias Ellert <mattias.ellert@physics.uu.se> - 3.3.2-1
|
|
- Update to version 3.3.2 - matches canl-java 2.6.x
|
|
- Drop patch voms-api-java-no-local.patch
|
|
|
|
* Thu Feb 08 2018 Mattias Ellert <mattias.ellert@physics.uu.se> - 3.3.0-1
|
|
- Build against bouncycastle1.58
|
|
- Update to version 3.3.0 - matches canl-java 2.5.x
|
|
- Drop patch voms-api-java-canl-2.5.patch
|
|
|
|
* Thu Jan 11 2018 Mattias Ellert <mattias.ellert@physics.uu.se> - 3.2.0-7
|
|
- Add Provides/Obsoletes voms-api-java3-javadoc
|
|
|
|
* Thu Jan 11 2018 Mattias Ellert <mattias.ellert@physics.uu.se> - 3.2.0-6
|
|
- Add Provides/Obsoletes voms-api-java3
|
|
|
|
* Fri Jan 05 2018 Mattias Ellert <mattias.ellert@physics.uu.se> - 3.2.0-5
|
|
- Adapt to canl-java 2.5
|
|
- Use jcip-annotations for EPEL 7 build
|
|
- Create EPEL 6 package using the maven ant plugin
|
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.0-4
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
* Thu Feb 16 2017 Mattias Ellert <mattias.ellert@physics.uu.se> - 3.2.0-3
|
|
- Remove maven source plugin
|
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.0-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
* Sun Feb 14 2016 Mattias Ellert <mattias.ellert@fysast.uu.se> - 3.2.0-1
|
|
- Update to version 3.2.0 - matches canl-java 2.2.x
|
|
- Drop patches: voms-api-java-bc147.patch, -javadoc.patch and -testfix.patch
|
|
|
|
* Sun Feb 14 2016 Mattias Ellert <mattias.ellert@fysast.uu.se> - 3.1.0-1
|
|
- Update to version 3.1.0 - matches canl-java 2.1.x
|
|
- Drop patches: voms-api-java-bc147.patch and -javadoc.patch
|
|
|
|
* Thu Feb 11 2016 Mattias Ellert <mattias.ellert@fysast.uu.se> - 3.0.5-5
|
|
- Backport fix for failing test due to new canl-java version
|
|
|
|
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.5-4
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
* Sat Jul 11 2015 Mattias Ellert <mattias.ellert@fysast.uu.se> - 3.0.5-3
|
|
- Remove build-dependency on cobertura-maven-plugin
|
|
(cobertura was removed from Fedora due to licensing issues)
|
|
- Enable tests in EPEL 7
|
|
- Implement new license packaging guidelines
|
|
|
|
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.5-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
* Tue Dec 16 2014 Mattias Ellert <mattias.ellert@fysast.uu.se> - 3.0.5-1
|
|
- Update to version 3.0.5
|
|
- Rebase patches (and fix some deprecation warnings)
|
|
|
|
* Mon Nov 17 2014 Mattias Ellert <mattias.ellert@fysast.uu.se> - 3.0.4-1
|
|
- Update to version 3.0.4
|
|
- Drop patch voms-api-java-timezone-dep-test.patch (fixed upstream)
|
|
|
|
* Thu Jun 26 2014 Mattias Ellert <mattias.ellert@fysast.uu.se> - 3.0.3-1
|
|
- Update to version 3.0.3
|
|
|
|
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.2-3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
* Mon Mar 10 2014 Mattias Ellert <mattias.ellert@fysast.uu.se> - 3.0.2-2
|
|
- Disable tests that fail outside the Central European time zone
|
|
|
|
* Sun Mar 09 2014 Mattias Ellert <mattias.ellert@fysast.uu.se> - 3.0.2-1
|
|
- Update to version 3
|
|
- Apply patch for bouncycastle 1.47+ on Fedora 21+ and EPEL 7+
|
|
- Convert to using xmvn
|
|
|
|
* Mon Oct 14 2013 Mattias Ellert <mattias.ellert@fysast.uu.se> - 2.0.10-4
|
|
- Disable CRL tests (the CRL in the sources has expired)
|
|
|
|
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.10-3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
* Tue Feb 12 2013 Mattias Ellert <mattias.ellert@fysast.uu.se> - 2.0.10-2
|
|
- Add BR on maven-surefire-provider-junit
|
|
|
|
* Mon Feb 11 2013 Mattias Ellert <mattias.ellert@fysast.uu.se> - 2.0.10-1
|
|
- Update to version 2.0.10
|
|
|
|
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 2.0.9-3
|
|
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
|
|
- Replace maven BuildRequires with maven-local
|
|
|
|
* Sun Dec 02 2012 Mattias Ellert <mattias.ellert@fysast.uu.se> - 2.0.9-2
|
|
- Correct runtime requires and URL tag
|
|
|
|
* Thu Nov 29 2012 Mattias Ellert <mattias.ellert@fysast.uu.se> - 2.0.9-1
|
|
- Update to version 2.0.9
|
|
|
|
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.8-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
* Thu May 24 2012 Mattias Ellert <mattias.ellert@fysast.uu.se> - 2.0.8-1
|
|
- Update to version 2.0.8 (EMI 2 version)
|
|
|
|
* Mon Apr 23 2012 Mattias Ellert <mattias.ellert@fysast.uu.se> - 2.0.7-2
|
|
- Fix compatibility maven fragment
|
|
|
|
* Tue Mar 20 2012 Mattias Ellert <mattias.ellert@fysast.uu.se> - 2.0.7-1
|
|
- The Java API is now a separate source tree from the rest of voms
|