1 Summary: Wifi and Bluetooth hardware switch GUI
7 Source0: http://dl.sourceforge.net/acerhkgui/%{name}-%{version}.zip
8 # Source0-md5: 1aeb6918fb5c1583bc1585538f797234
9 URL: http://sourceforge.net/projects/acerhkgui/
10 BuildRequires: rpm-pythonprov
11 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14 AcerHK GUI enables the user to pass commands to the wireless
15 and bluetooth radios on Acer (TM) tablets that utilize the
16 AcerHK driver. It requires the acerhk.ko modules to be
21 sed -e '1s|env python|python|' -e "s|~/bin/acerhkgui/|%{_datadir}/%{name}/|" -i acerhkgui
24 rm -rf $RPM_BUILD_ROOT
25 install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name},%{_desktopdir},%{_pixmapsdir}}
27 install acerhkgui $RPM_BUILD_ROOT%{_bindir}
28 cp -a *.glade *.png $RPM_BUILD_ROOT%{_datadir}/%{name}
29 cp -a acerhkgui.desktop $RPM_BUILD_ROOT%{_desktopdir}
30 cp -a AcerHK.png $RPM_BUILD_ROOT%{_pixmapsdir}
33 rm -rf $RPM_BUILD_ROOT
36 %defattr(644,root,root,755)
38 %attr(755,root,root) %{_bindir}/%{name}
40 %{_desktopdir}/%{name}.desktop