blob: ef5a14c851d503de67e630846342f48165e1cf9b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
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
|