summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/attachments/20120410/da488c0d/attachment-0012.obj
diff options
context:
space:
mode:
Diffstat (limited to 'zarb-ml/mageia-dev/attachments/20120410/da488c0d/attachment-0012.obj')
-rw-r--r--zarb-ml/mageia-dev/attachments/20120410/da488c0d/attachment-0012.obj54
1 files changed, 54 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/attachments/20120410/da488c0d/attachment-0012.obj b/zarb-ml/mageia-dev/attachments/20120410/da488c0d/attachment-0012.obj
new file mode 100644
index 000000000..0d05bd19a
--- /dev/null
+++ b/zarb-ml/mageia-dev/attachments/20120410/da488c0d/attachment-0012.obj
@@ -0,0 +1,54 @@
+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 <simplew8@gmail.com> 1.0-1
+- initial package \ No newline at end of file