%define major 1 %define libname %mklibname globus-gsi-proxy-ssl %{major} %define develname %mklibname globus-gsi-proxy-ssl -d Name: globus-gsi-proxy-ssl %global _name %(tr - _ <<< %{name}) Version: 6.5 Release: %mkrel 2 Summary: Grid Community Toolkit - Globus GSI Proxy SSL Library License: ASL 2.0 URL: https://github.com/gridcf/gct/ Source: https://repo.gridcf.org/gct6/sources/%{_name}-%{version}.tar.gz Source8: README BuildRequires: gcc BuildRequires: openssl-devel BuildRequires: doxygen # Additional requirements for make check BuildRequires: perl(Test::More) BuildRequires: perl(File::Compare) Group: Development/Other %package -n %{develname} Summary: Grid Community Toolkit - Globus GSI Proxy SSL Library Development Files Requires: %{libname} = %{version}-%{release} Group: Development/Other %package doc Summary: Grid Community Toolkit - Globus GSI Proxy SSL Library Documentation Files BuildArch: noarch Group: Documentation %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. %package -n %{libname} Summary: Grid Community Toolkit - Globus GSI Proxy SSL Library Provides: %{name} = %{release}-%{version} Group: Development/Other %description -n %{libname} 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 GSI Proxy SSL Library %description -n %{develname} 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 GSI Proxy SSL Library 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 GSI Proxy SSL Library Documentation Files %prep %setup -q -n %{_name}-%{version} %build # Reduce overlinking export LDFLAGS="-Wl,--as-needed -Wl,-z,defs %{?__global_ldflags}" %configure --disable-static \ --includedir=%{_includedir}/globus \ --libexecdir=%{_datadir}/globus \ --docdir=%{_pkgdocdir} # Reduce overlinking sed 's!CC \(.*-shared\) !CC \\\${wl}--as-needed \1 !' -i libtool make %{?_smp_mflags} %install make install DESTDIR=%{buildroot} # Remove libtool archives (.la files) rm %{buildroot}%{_libdir}/*.la # Install README file install -m 644 -p %{SOURCE8} %{buildroot}%{_pkgdocdir}/README # Remove license file from pkgdocdir if licensedir is used %{?_licensedir: rm %{buildroot}%{_pkgdocdir}/GLOBUS_LICENSE} %check make %{?_smp_mflags} check VERBOSE=1 %ldconfig_scriptlets %files -n %{libname} %{_libdir}/libglobus_proxy_ssl.so.* %dir %{_pkgdocdir} %doc %{_pkgdocdir}/README %{!?_licensedir: %doc %{_pkgdocdir}/GLOBUS_LICENSE} %{?_licensedir: %license GLOBUS_LICENSE} %files -n %{develname} %dir %{_includedir}/globus %{_includedir}/globus/* %{_libdir}/libglobus_proxy_ssl.so %{_libdir}/pkgconfig/%{name}.pc %files doc %doc %{_mandir}/man3/* %dir %{_pkgdocdir} %dir %{_pkgdocdir}/html %doc %{_pkgdocdir}/html/* %{!?_licensedir: %doc %{_pkgdocdir}/GLOBUS_LICENSE} %{?_licensedir: %license GLOBUS_LICENSE} %changelog * Fri Mar 18 2022 umeabot <umeabot> 6.5-2.mga9 + Revision: 1798773 - Mageia 9 Mass Rebuild * Sun Oct 03 2021 joequant <joequant> 6.5-1.mga9 + Revision: 1748717 - update openssl - update openssl + wally <wally> - rebuild for openssl 3.0.0 * Fri Dec 18 2020 joequant <joequant> 6.4-1.mga8 + Revision: 1660739 - update to 6.4 * Mon Apr 27 2020 joequant <joequant> 6.2-1.mga8 + Revision: 1572443 - imported package globus-gsi-proxy-ssl