%global debug_package   %{nil}

Name:		rxcpp
Version:	4.0.0
Release:	0%{?dist}
License:	ASL 2.0
Group:		Libraries
Summary:	The Reactive Extensions for C++ (RxCpp)
Source0:	RxCpp-%{version}.tar.gz
URL:		https://github.com/Reactive-Extensions/RxCpp
BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)

%description
The Reactive Extensions for C++ (RxCpp)

%package devel
Summary:	Header files for RxCpp
Group:		Development/Libraries
Provides: %{name} = %{version}-%{release}

%description devel
Header files for RxCpp.

%prep
%setup -q -n RxCpp-%{version}

%build
# Nothing to build here.

%install
%{__rm} -rf $RPM_BUILD_ROOT

mkdir -p $RPM_BUILD_ROOT/%{_includedir}
cp -r Rx/v2/src/rxcpp $RPM_BUILD_ROOT/%{_includedir}/

%clean
%{__rm} -rf $RPM_BUILD_ROOT

%files devel
%defattr(644,root,root,755)
%{_includedir}