%define major 0 %define libname %mklibname globus-gsi-openssl-error %{major} %define develname %mklibname globus-gsi-openssl-error -d Name: globus-gsi-openssl-error %global _name %(tr - _ <<< %{name}) Version: 4.4 Release: %mkrel 1 Summary: Grid Community Toolkit - Globus OpenSSL Error Handling License: ASL 2.0 URL: https://github.com/gridcf/gct/ Source: https://repo.gridcf.org/gct6/sources/%{_name}-%{version}.tar.gz Source8: README Group: Development/Other BuildRequires: gcc BuildRequires: globus-common-devel >= 15 BuildRequires: openssl-devel BuildRequires: doxygen # Additional requirements for make check BuildRequires: perl(Test::More) BuildRequires: perl(lib) %package -n %{develname} Summary: Grid Community Toolkit - Globus OpenSSL Error Handling Development Files Requires: %{libname} = %{version}-%{release} Provides: %{name}-devel = %{version}-%{release} Group: Development/Other %package doc Summary: Grid Community Toolkit - Globus OpenSSL Error Handling 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 OpenSSL Error Handling 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 OpenSSL Error Handling %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 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 # 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_openssl_error.so.* %dir %{_pkgdocdir} %doc %{_pkgdocdir}/README %{!?_licensedir: %doc %{_pkgdocdir}/GLOBUS_LICENSE} %{?_licensedir: %license GLOBUS_LICENSE} %files -n %{develname} %{_includedir}/globus/* %{_libdir}/libglobus_openssl_error.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 * Sun Oct 02 2022 neoclust <neoclust> 4.4-1.mga9 + Revision: 1893938 - New version * Sat Mar 19 2022 umeabot <umeabot> 4.3-2.mga9 + Revision: 1799616 - Mageia 9 Mass Rebuild * Sun Oct 03 2021 joequant <joequant> 4.3-1.mga9 + Revision: 1748658 - update to 4.3 + wally <wally> - rebuild for openssl 3.0.0 * Fri Dec 18 2020 joequant <joequant> 4.2-1.mga8 + Revision: 1660737 - update to 4.2 * Mon Apr 27 2020 joequant <joequant> 4.1-2.mga8 + Revision: 1572457 - add devel - imported package globus-gsi-openssl-error