2024-01-05 18:34:10 +01:00
|
|
|
Name: tl-expected
|
2024-01-05 18:34:10 +01:00
|
|
|
Version: 1.1.0
|
2024-01-05 18:34:10 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: Single header implementation of 'std::expected' with functional-style extensions
|
|
|
|
Group: Development/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://github.com/TartanLlama/expected
|
|
|
|
Source: https://github.com/TartanLlama/expected.git/v%{version}/expected-%{version}.tar.bz2
|
|
|
|
License: CC0 1.0 Universal
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: cmake
|
|
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description
|
|
|
|
Single header implementation of `std::expected` with functional-style extensions.
|
|
|
|
|
|
|
|
%package -n lib%{name}
|
|
|
|
Group: System/Libraries
|
|
|
|
Summary: Shared libraries for %{name}
|
|
|
|
|
|
|
|
%description -n lib%{name}
|
|
|
|
This package contains shared libraries for %{name}.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains header files for developing applications that use %{name}.
|
|
|
|
|
|
|
|
#% debug_package
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n expected-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
%cmake -d build
|
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall -C build
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_includedir}/tl
|
|
|
|
%{_includedir}/tl/expected.hpp
|
|
|
|
%dir %{_datadir}/cmake/tl-expected
|
|
|
|
%{_datadir}/cmake/tl-expected/tl-expected*.cmake
|
|
|
|
%doc COPYING
|
|
|
|
|
|
|
|
%changelog
|
2024-01-05 18:34:10 +01:00
|
|
|
* Thu Mar 16 2023 Automatic Build System <autodist@mambasoft.it> 1.1.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 18:34:10 +01:00
|
|
|
* Thu Dec 24 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.0-1mamba
|
|
|
|
- package created using the webbuild interface
|