Name: bumblebee-ui Summary: Bumblebee User Interface Group: System/Configuration/Other Version: 1.0 Release: %mkrel 1 URL: https://github.com/Bumblebee-Project/bumblebee-ui License: GPLv3 # source from git repo git://github.com/Bumblebee-Project/bumblebee-ui.git Source0: %{name}.tar.xz BuildArch: noarch Requires: bumblebee %description This is a user interface for bumblebee. A complete explanation of the feature of this user interface are explained here : https://github.com/Bumblebee-Project/bumblebee-ui/wiki Please give it a try and report bugs to: https://github.com/Bumblebee-Project/bumblebee-ui/issues %files %{_sysconfdir}/xdg/autostart/bumblebee-indicator.desktop %{_bindir}/bumblebee* %{_datadir}/%{name}/ %{_datadir}/applications/* %{_iconsdir}/hicolor/* %prep %setup -qn %{name} %install rm -rf %{buildroot} mkdir -p %{buildroot}%{_iconsdir}/hicolor/48x48/apps/ cp icons/*.* %{buildroot}%{_iconsdir}/hicolor/48x48/apps/ mkdir -p %{buildroot}%{_datadir}/{%{name},applications} cp app/*.* %{buildroot}%{_datadir}/%{name} cp bumblebee-app-settings.desktop %{buildroot}%{_datadir}/applications/ cp bumblebee-indicator.desktop %{buildroot}%{_datadir}/applications/ mkdir -p %{buildroot}%{_bindir} ln -s %{_datadir}/%{name}/AppSettings.py %{buildroot}%{_bindir}/bumblebee-app-settings ln -s %{_datadir}/%{name}/Bumblebee-Indicator.py %{buildroot}%{_bindir}/bumblebee-indicator chmod +x %{buildroot}%{_datadir}/applications/bumblebee-app-settings.desktop chmod +x %{buildroot}%{_datadir}/applications/bumblebee-indicator.desktop chmod +x -R %{buildroot}%{_datadir}/%{name} # Always start in boot mkdir -p %{buildroot}%{_sysconfdir}/xdg/autostart cp bumblebee-indicator.desktop %{buildroot}%{_sysconfdir}/xdg/autostart %changelog * Mon Mar 19 2012 Simple 1.0-1 - initial package