2024-01-06 07:08:28 +01:00
|
|
|
Name: microsoft-gsl
|
2024-10-20 09:01:37 +02:00
|
|
|
Version: 4.1.0
|
|
|
|
Release: 1mamba
|
2024-01-06 07:08:28 +01:00
|
|
|
Summary: Functions and types that are suggested for use by the C++ Core Guidelines maintained by the Standard C++ Foundation
|
|
|
|
Group: Development/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-06 07:08:28 +01:00
|
|
|
URL: https://github.com/microsoft/GSL
|
2024-01-06 07:08:28 +01:00
|
|
|
Source: https://github.com/microsoft/GSL.git/v%{version}/GSL-%{version}.tar.bz2
|
|
|
|
License: MIT
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: cmake
|
|
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description
|
|
|
|
The Guidelines Support Library (GSL) contains functions and types that are suggested for use by the C++ Core Guidelines maintained by the Standard C++ Foundation. This repo contains Microsoft's implementation of GSL.
|
|
|
|
The entire implementation is provided inline in the headers under the gsl directory. The implementation generally assumes a platform that implements C++14 support.
|
|
|
|
While some types have been broken out into their own headers (e.g. gsl/span), it is simplest to just include gsl/gsl and gain access to the entire library.
|
|
|
|
|
|
|
|
%package -n lib%{name}
|
|
|
|
Group: System/Libraries
|
|
|
|
Summary: Shared libraries for %{name}
|
|
|
|
|
|
|
|
%description -n lib%{name}
|
|
|
|
This package contains shared libraries for %{name}.
|
|
|
|
|
|
|
|
%package -n lib%{name}-devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
|
|
|
|
%description -n lib%{name}-devel
|
|
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
|
|
|
|
#% debug_package
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n GSL-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
%cmake -d build \
|
|
|
|
-DGSL_TEST=OFF
|
|
|
|
|
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall -C build
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files -n lib%{name}-devel
|
|
|
|
%defattr(-,root,root)
|
2024-03-10 11:13:30 +01:00
|
|
|
%{_includedir}/gsl/*
|
2024-01-06 07:08:28 +01:00
|
|
|
%dir %{_datadir}/cmake/Microsoft.GSL
|
|
|
|
%{_datadir}/cmake/Microsoft.GSL/Microsoft.GSLConfig*.cmake
|
2024-10-20 09:01:37 +02:00
|
|
|
%{_datadir}/cmake/Microsoft.GSL/GSL.natvis
|
2024-01-06 07:08:28 +01:00
|
|
|
%doc LICENSE
|
|
|
|
|
|
|
|
%changelog
|
2024-10-20 09:01:37 +02:00
|
|
|
* Sat Oct 19 2024 Automatic Build System <autodist@openmamba.org> 4.1.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-03-10 11:13:30 +01:00
|
|
|
* Sun Mar 10 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 4.0.0-3mamba
|
|
|
|
- revert from /usr/include/microsoft to /usr/include header dir for mixxx 2.4.0
|
|
|
|
|
2024-01-06 07:08:29 +01:00
|
|
|
* Thu Apr 28 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 4.0.0-2mamba
|
|
|
|
- install below %_includedir/microsoft to avoid conflicts with libgsl
|
|
|
|
|
2024-01-06 07:08:28 +01:00
|
|
|
* Thu Jan 27 2022 Automatic Build System <autodist@mambasoft.it> 4.0.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 07:08:28 +01:00
|
|
|
* Thu Dec 24 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 3.1.0-1mamba
|
|
|
|
- package created using the webbuild interface
|