File wifi-fix-surface.spec of Package wifi-fix-surface

Name:		wifi-fix-surface
Version:	0.2
Release:	1
Summary:	Fix wifi after hibernate
Source0:	wifi-fix-surface.sh
License:	CC0-1.0
Group:		selfmade
Url:		https://build.opensuse.org/package/show/home:geis_raph/wifi-fix-surface
BuildArch: 	noarch
BuildRoot:	%{_tmppath}/%{name}-%{version}-build

%description
Fixes the wifi issues on the Surface Pro 3 after resuming from hibernate

%prep

%build

%install
install -m 0755 -d $RPM_BUILD_ROOT/usr/lib/systemd/system-sleep
install -m 0755 %{SOURCE0} $RPM_BUILD_ROOT/usr/lib/systemd/system-sleep/wifi-fix-surface.sh

%files
/usr/lib/systemd/system-sleep

%changelog