File globus-gsi-openssl-error.spec of Package globus-gsi-openssl-error
%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
Name: globus-gsi-openssl-error
%global soname 0
%global _name %(echo %{name} | tr - _)
Version: 4.4
Release: 1%{?dist}
Summary: Grid Community Toolkit - Globus OpenSSL Error Handling
Group: System Environment/Libraries
License: %{?suse_version:Apache-2.0}%{!?suse_version:ASL 2.0}
URL: https://github.com/gridcf/gct/
Source: %{_name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: gcc
BuildRequires: globus-common-devel >= 14
%if %{?suse_version}%{!?suse_version:0} >= 1200
BuildRequires: libopenssl-devel
%else
%if %{?suse_version}%{!?suse_version:0} <= 1200
BuildRequires: libopenssl1-devel
%else
BuildRequires: openssl-devel
%endif
%endif
BuildRequires: doxygen
# Additional requirements for make check
%if %{?suse_version}%{!?suse_version:0}
BuildRequires: perl
%else
BuildRequires: perl-interpreter
%endif
BuildRequires: perl(File::Basename)
BuildRequires: perl(lib)
BuildRequires: perl(strict)
BuildRequires: perl(Test::More)
%if %{?suse_version}%{!?suse_version:0}
%global mainpkg libglobus_openssl_error%{soname}
%global nmainpkg -n %{mainpkg}
BuildRequires: pkg-config
%else
%global mainpkg %{name}
%endif
%if %{?nmainpkg:1}%{!?nmainpkg:0}
%package %{?nmainpkg}
Summary: Grid Community Toolkit - Globus OpenSSL Error Handling
Group: System Environment/Libraries
Provides: %{name} = %{version}-%{release}
Obsoletes: %{name} < %{version}-%{release}
%endif
%package devel
Summary: Grid Community Toolkit - Globus OpenSSL Error Handling Development Files
Group: Development/Libraries
Requires: %{mainpkg}%{?_isa} = %{version}-%{release}
%package doc
Summary: Grid Community Toolkit - Globus OpenSSL Error Handling Documentation Files
Group: Documentation
%if %{?fedora}%{!?fedora:0} >= 10 || %{?rhel}%{!?rhel:0} >= 6
BuildArch: noarch
%endif
%if %{?nmainpkg:1}%{!?nmainpkg:0}
%description %{?nmainpkg}
The Grid Community Toolkit (GCT) is an open source software toolkit used for
building grid systems and applications. It is a fork of the Globus Toolkit
originally created by the Globus Alliance. It is supported by the Grid
Community Forum (GridCF) that provides community-based support for core
software packages in grid computing.
The %{mainpkg} package contains:
Globus OpenSSL Error Handling
%endif
%description
The Grid Community Toolkit (GCT) is an open source software toolkit used for
building grid systems and applications. It is a fork of the Globus Toolkit
originally created by the Globus Alliance. It is supported by the Grid
Community Forum (GridCF) that provides community-based support for core
software packages in grid computing.
The %{name} package contains:
Globus OpenSSL Error Handling
%description devel
The Grid Community Toolkit (GCT) is an open source software toolkit used for
building grid systems and applications. It is a fork of the Globus Toolkit
originally created by the Globus Alliance. It is supported by the Grid
Community Forum (GridCF) that provides community-based support for core
software packages in grid computing.
The %{name}-devel package contains:
Globus OpenSSL Error Handling Development Files
%description doc
The Grid Community Toolkit (GCT) is an open source software toolkit used for
building grid systems and applications. It is a fork of the Globus Toolkit
originally created by the Globus Alliance. It is supported by the Grid
Community Forum (GridCF) that provides community-based support for core
software packages in grid computing.
The %{name}-doc package contains:
Globus OpenSSL Error Handling Documentation Files
%prep
%setup -q -n %{_name}-%{version}
%build
%configure --disable-static \
--includedir=%{_includedir}/globus \
--libexecdir=%{_datadir}/globus \
--docdir=%{_pkgdocdir}
make %{?_smp_mflags}
%install
make install DESTDIR=$RPM_BUILD_ROOT
# Remove libtool archives (.la files)
rm $RPM_BUILD_ROOT%{_libdir}/*.la
%check
make %{?_smp_mflags} check VERBOSE=1
%post %{?nmainpkg} -p /sbin/ldconfig
%postun %{?nmainpkg} -p /sbin/ldconfig
%files %{?nmainpkg}
%defattr(-,root,root,-)
%{_libdir}/libglobus_openssl_error.so.*
%dir %{_pkgdocdir}
%doc %{_pkgdocdir}/GLOBUS_LICENSE
%files devel
%defattr(-,root,root,-)
%{_includedir}/globus/*
%{_libdir}/libglobus_openssl_error.so
%{_libdir}/pkgconfig/%{name}.pc
%files doc
%defattr(-,root,root,-)
%doc %{_mandir}/man3/*
%dir %{_pkgdocdir}
%dir %{_pkgdocdir}/html
%doc %{_pkgdocdir}/html/*
%if ! %{?suse_version}%{!?suse_version:0}
%doc %{_pkgdocdir}/GLOBUS_LICENSE
%endif
%changelog
* Wed Sep 15 2021 Mattias Ellert <mattias.ellert@physics.uu.se> - 4.4-1
- Function names are (null) in OpenSSL 3.0 - adapt expected test output
* Thu Aug 12 2021 Frank Scheiner <scheiner@hlrs.de> - 4.3-1
- More OpenSSL3.0 fixes, for 3.0-beta2
* Tue Mar 10 2020 Mattias Ellert <mattias.ellert@physics.uu.se> - 4.2-2
- Add BuildRequires perl-interpreter
- Add additional perl dependencies for tests
* Tue Mar 10 2020 Mattias Ellert <mattias.ellert@physics.uu.se> - 4.2-1
- Make makefiles exit sooner on errors
* Wed Nov 21 2018 Mattias Ellert <mattias.ellert@physics.uu.se> - 4.1-1
- Doxygen fixes
* Tue Nov 13 2018 Frank Scheiner <scheiner@hlrs.de> - 4.0-2
- Include spec file fixes for SLES builds on OBS
* Sat Mar 31 2018 Mattias Ellert <mattias.ellert@physics.uu.se> - 4.0-1
- First Grid Community Toolkit release
- Remove support for openssl101e (RHEL5 is EOL)
* Mon Jan 09 2017 Globus Toolkit <support@globus.org> - 3.8-1
- Alter dependency order to avoid mixing SSL versions
* Fri Sep 09 2016 Globus Toolkit <support@globus.org> - 3.7-1
- Update for el.5 openssl101e
* Thu Aug 25 2016 Globus Toolkit <support@globus.org> - 3.6-5
- Updates for SLES 12 packaging
* Tue Aug 16 2016 Globus Toolkit <support@globus.org> - 3.6-1
- Updates for OpenSSL 1.1.0
* Thu Aug 06 2015 Globus Toolkit <support@globus.org> - 3.5-2
- Add vendor
* Thu Sep 25 2014 Globus Toolkit <support@globus.org> - 3.5-1
- Include more manpages for API
- Use consistent PREDEFINED in all Doxyfiles
- Doxygen markup fixes
- Fix typos and clarify some documentation
- Quiet some autoconf/automake warnings
* Fri Aug 22 2014 Globus Toolkit <support@globus.org> - 3.4-1
- Merge fixes from ellert-globus_6_branch
* Wed Aug 20 2014 Globus Toolkit <support@globus.org> - 3.3-2
- Fix Source path
* Mon Jun 09 2014 Globus Toolkit <support@globus.org> - 3.3-1
- Merge changes from Mattias Ellert
* Fri Apr 18 2014 Globus Toolkit <support@globus.org> - 3.2-1
- Version bump for consistency
* Mon Feb 10 2014 Globus Toolkit <support@globus.org> - 3.1-1
- Packaging fixes
* Tue Jan 21 2014 Globus Toolkit <support@globus.org> - 3.0-1
- Repackage for GT6 without GPT
* Mon Jul 08 2013 Globus Toolkit <support@globus.org> - 2.1-13
- openssl-libs for newer fedora
* Wed Jun 26 2013 Globus Toolkit <support@globus.org> - 2.1-12
- GT-424: New Fedora Packaging Guideline - no %%_isa in BuildRequires
* Wed Feb 20 2013 Globus Toolkit <support@globus.org> - 2.1-11
- Workaround missing F18 doxygen/latex dependency
* Mon Nov 26 2012 Globus Toolkit <support@globus.org> - 2.1-10
- 5.2.3
* Mon Jul 16 2012 Joseph Bester <bester@mcs.anl.gov> - 2.1-9
- GT 5.2.2 final
* Fri Jun 29 2012 Joseph Bester <bester@mcs.anl.gov> - 2.1-8
- GT 5.2.2 Release
* Wed May 09 2012 Joseph Bester <bester@mcs.anl.gov> - 2.1-7
- RHEL 4 patches
* Fri May 04 2012 Joseph Bester <bester@mcs.anl.gov> - 2.1-6
- SLES 11 patches
* Tue Feb 14 2012 Joseph Bester <bester@mcs.anl.gov> - 2.1-5
- Updated version numbers
* Mon Dec 05 2011 Joseph Bester <bester@mcs.anl.gov> - 2.1-4
- Update for 5.2.0 release
* Mon Dec 05 2011 Joseph Bester <bester@mcs.anl.gov> - 2.1-3
- Last sync prior to 5.2.0
* Tue Oct 11 2011 Joseph Bester <bester@mcs.anl.gov> - 2.1-2
- Add explicit dependencies on >= 5.2 libraries
* Wed Oct 05 2011 Joseph Bester <bester@mcs.anl.gov> - 2.1-1
- Add backward-compatibility aging
* Thu Sep 01 2011 Joseph Bester <bester@mcs.anl.gov> - 2.0-2
- Update for 5.1.2 release
* Thu Jan 21 2010 Mattias Ellert <mattias.ellert@fysast.uu.se> - 0.14-6
- Update to Globus Toolkit 5.0.0
* Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 0.14-5
- rebuilt with new openssl
* Thu Jul 23 2009 Mattias Ellert <mattias.ellert@fysast.uu.se> - 0.14-4
- Add instruction set architecture (isa) tags
- Make doc subpackage noarch
* Wed Jun 03 2009 Mattias Ellert <mattias.ellert@fysast.uu.se> - 0.14-3
- Update to official Fedora Globus packaging guidelines
* Mon Apr 27 2009 Mattias Ellert <mattias.ellert@fysast.uu.se> - 0.14-2
- Rebuild with updated libtool
* Wed Apr 15 2009 Mattias Ellert <mattias.ellert@fysast.uu.se> - 0.14-1
- Make comment about source retrieval more explicit
- Change defines to globals
- Remove explicit requires on library packages
- Put GLOBUS_LICENSE file in extracted source tarball
* Sun Mar 15 2009 Mattias Ellert <mattias.ellert@fysast.uu.se> - 0.14-0.5
- Adapting to updated globus-core package
* Thu Feb 26 2009 Mattias Ellert <mattias.ellert@fysast.uu.se> - 0.14-0.4
- Add s390x to the list of 64 bit platforms
* Thu Jan 01 2009 Mattias Ellert <mattias.ellert@fysast.uu.se> - 0.14-0.3
- Adapt to updated GPT package
* Mon Oct 13 2008 Mattias Ellert <mattias.ellert@fysast.uu.se> - 0.14-0.2
- Update to Globus Toolkit 4.2.1
* Mon Jul 14 2008 Mattias Ellert <mattias.ellert@fysast.uu.se> - 0.14-0.1
- Autogenerated