range-v3/range-v3.spec

57 lines
1.5 KiB
RPMSpec

Name: range-v3
Version: 0.4.0
Release: 1mamba
Summary: Range library for C++11/14/17
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/ericniebler/range-v3
## GITSOURCE https://github.com/ericniebler/range-v3.git 0.4.0
Source: https://github.com/ericniebler/range-v3.git/%{version}/range-v3-%{version}.tar.bz2
License: Boost Software License
## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END
BuildRequires: cmake
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Range library for C++11/14/17.
%package devel
Group: Development/Libraries
Summary: Range library for C++11/14/17
%description devel
Range library for C++11/14/17.
This package contains header files for developing applications that use %{name}.
%prep
%setup -q
%build
%cmake -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files devel
%defattr(-,root,root)
%{_includedir}/meta/meta.hpp
%{_includedir}/meta/meta_fwd.hpp
%dir %{_includedir}/range
%dir %{_includedir}/range/v3
%{_includedir}/range/v3/*
%{_prefix}/lib/cmake/range-v3/range-v3-config-version.cmake
%{_prefix}/lib/cmake/range-v3/range-v3-config.cmake
%doc README.md
%changelog
* Fri Mar 15 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.0-1mamba
- package created using the webbuild interface