package created using the webbuild interface [release 1.0.0-1mamba;Thu Dec 24 2020]

This commit is contained in:
Silvan Calarco 2024-01-05 18:34:10 +01:00
parent fcdfa6f02f
commit 5ce9ead428
2 changed files with 63 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# tl-expected # tl-expected
Single header implementation of `std::expected` with functional-style extensions.

61
tl-expected.spec Normal file
View File

@ -0,0 +1,61 @@
Name: tl-expected
Version: 1.0.0
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}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%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
* Thu Dec 24 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.0-1mamba
- package created using the webbuild interface