diff options
Diffstat (limited to 'zarb-ml/mageia-dev/attachments/20120410/ee08a894/attachment-0004.obj')
-rw-r--r-- | zarb-ml/mageia-dev/attachments/20120410/ee08a894/attachment-0004.obj | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/attachments/20120410/ee08a894/attachment-0004.obj b/zarb-ml/mageia-dev/attachments/20120410/ee08a894/attachment-0004.obj new file mode 100644 index 000000000..ef5a14c85 --- /dev/null +++ b/zarb-ml/mageia-dev/attachments/20120410/ee08a894/attachment-0004.obj @@ -0,0 +1,58 @@ +Name: bumblebee-ui +Summary: Bumblebee User Interface +Group: System/Configuration/Other +Version: 1.0 +Release: %mkrel 2 +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 +Requires: indicator-appmenu + +%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 +* Tue Apr 10 2012 Simple <simplew8@gmail.com> 1.0-2 +- needs indicator-appmenu + +* Mon Mar 19 2012 Simple <simplew8@gmail.com> 1.0-1 +- initial package
\ No newline at end of file |