Sophie

Sophie

distrib > Mageia > cauldron > i586 > media > core-release-src > by-pkgid > fd2bf9f727ac0b7ef40bb9202fbd3e16 > files > 1

globus-gsi-callback-6.2-3.mga9.src.rpm

%define major 0
%define libname %mklibname globus-gsi-callback %{major}
%define develname %mklibname globus-gsi-callback -d

Name:		globus-gsi-callback
%global apache_license ASL 2.0
%global _name %(tr - _ <<< %{name})
Version:	6.2
Release:	%mkrel 3
Summary:	Globus Toolkit - Globus GSI Callback Library

Group:		System/Libraries
License:	%{apache_license}
URL:           https://github.com/gridcf/gct
Source:        https://repo.gridcf.org/gct6/sources/%{_name}-%{version}.tar.gz
BuildRequires:  openssl
BuildRequires:  openssl-devel
BuildRequires:	pkgconfig(globus-openssl-module) >= 3
BuildRequires:	pkgconfig(globus-gsi-openssl-error) >= 2
BuildRequires:	pkgconfig(globus-gsi-cert-utils) >= 8
BuildRequires:	pkgconfig(globus-common) >= 14
BuildRequires:	pkgconfig(globus-gsi-sysconfig) >= 5
BuildRequires:	doxygen
BuildRequires:	graphviz
BuildRequires:  pkgconfig

%package -n %{develname}
Summary:	Globus Toolkit - Globus GSI Callback Library Development Files
Group:		Development/Other
Provides: %{name}-devel = %{version}-%{release}
Requires:	%{name} = %{version}-%{release}
Requires:	pkgconfig(globus-openssl-module) >= 3
Requires:	pkgconfig(globus-gsi-openssl-error) >= 2
Requires:	pkgconfig(globus-gsi-cert-utils) >= 8
Requires:	pkgconfig(globus-common) >= 14
Requires:	pkgconfig(globus-gsi-sysconfig) >= 5

%package doc
Summary:	Globus Toolkit - Globus GSI Callback Library Documentation Files
Group:		Documentation
BuildArch:	noarch
Requires:	%{name} = %{version}-%{release}


%description
The Globus Toolkit is an open source software toolkit used for building Grid
systems and applications. It is being developed by the Globus Alliance and
many others all over the world. A growing number of projects and companies are
using the Globus Toolkit to unlock the potential of grids for their cause.

The %{name} package contains:
Globus GSI Callback Library

%package -n %{libname}
Summary: Globus Toolkit - Globus GSI Callback Library
Provides: %{name} = %{version}-%{release}

%description -n %{libname}
The Globus Toolkit is an open source software toolkit used for building Grid
systems and applications. It is being developed by the Globus Alliance and
many others all over the world. A growing number of projects and companies are
using the Globus Toolkit to unlock the potential of grids for their cause.

The %{name} package contains:
Globus GSI Callback Library

%description -n %{develname}
The Globus Toolkit is an open source software toolkit used for building Grid
systems and applications. It is being developed by the Globus Alliance and
many others all over the world. A growing number of projects and companies are
using the Globus Toolkit to unlock the potential of grids for their cause.

The %{name}-devel package contains:
Globus GSI Callback Library Development Files

%description doc
The Globus Toolkit is an open source software toolkit used for building Grid
systems and applications. It is being developed by the Globus Alliance and
many others all over the world. A growing number of projects and companies are
using the Globus Toolkit to unlock the potential of grids for their cause.

The %{name}-doc package contains:
Globus GSI Callback Library Documentation Files

%prep
%setup -q -n %{_name}-%{version}

%build
%if %{?fedora}%{!?fedora:0} >= 19 || %{?rhel}%{!?rhel:0} >= 7 || %{?suse_version}%{!?suse_version:0} >= 1315
# Remove files that should be replaced during bootstrap
rm -rf autom4te.cache

autoreconf -if
%endif


%if %{?rhel}%{!?rhel:0}
export OPENSSL="$(which openssl101e)"
%endif

%configure \
           --disable-static \
           --docdir=%{_docdir}/%{name}-%{version} \
           --includedir=%{_includedir}/globus \
           --libexecdir=%{_datadir}/globus

make %{?_smp_mflags}

%install
make install DESTDIR=$RPM_BUILD_ROOT

# Remove libtool archives (.la files)
find $RPM_BUILD_ROOT%{_libdir} -name 'lib*.la' -exec rm -v '{}' \;

%files -n %{libname}
%dir %{_docdir}/%{name}-%{version}
%doc %{_docdir}/%{name}-%{version}/GLOBUS_LICENSE
%{_libdir}/libglobus*.so.*

%files -n %{develname}
%{_includedir}/globus/*
%{_libdir}/pkgconfig/%{name}.pc
%{_libdir}/libglobus*.so

%files doc
%dir %{_docdir}/%{name}-%{version}/html
%{_docdir}/%{name}-%{version}/html/*
%{_mandir}/man3/*




%changelog
* Fri Apr 01 2022 umeabot <umeabot> 6.2-3.mga9
+ Revision: 1837934
- Mageia 9 Mass Rebuild

* Sat Oct 02 2021 wally <wally> 6.2-2.mga9
+ Revision: 1747641
- rebuild for openssl 3.0.0

* Fri Dec 18 2020 joequant <joequant> 6.2-1.mga8
+ Revision: 1660728
- update to 6.2

* Mon May 04 2020 joequant <joequant> 6.1-1.mga8
+ Revision: 1579663
- update to 6.1

* Tue Apr 28 2020 joequant <joequant> 5.13-3.mga8
+ Revision: 1572672
- fix provides
- fix provides

* Tue Apr 28 2020 joequant <joequant> 5.13-1.mga8
+ Revision: 1572590
- fix files
- imported package globus-gsi-callback