package created using the webbuild interface [release 1.0.0-1mamba;Thu Dec 24 2020]
This commit is contained in:
parent
fcdfa6f02f
commit
5ce9ead428
@ -1,2 +1,4 @@
|
||||
# tl-expected
|
||||
|
||||
Single header implementation of `std::expected` with functional-style extensions.
|
||||
|
||||
|
61
tl-expected.spec
Normal file
61
tl-expected.spec
Normal 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
|
Loading…
Reference in New Issue
Block a user