/[packages]/cauldron/bumblebee/current/SPECS/bumblebee.spec
ViewVC logotype

Diff of /cauldron/bumblebee/current/SPECS/bumblebee.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 565728 by akien, Wed Jan 8 23:28:45 2014 UTC revision 565729 by akien, Wed Jan 8 23:35:55 2014 UTC
# Line 4  Line 4 
4  Name:           bumblebee  Name:           bumblebee
5  Summary:        Support for NVidia Optimus laptops on Linux  Summary:        Support for NVidia Optimus laptops on Linux
6  Group:          System/Kernel and hardware  Group:          System/Kernel and hardware
7  Version:        3.0.1  Version:        3.2.1
8  Release:        %mkrel 2  Release:        %mkrel 3
9  License:        GPLv3+  License:        GPLv3+
10  URL:            https://github.com/Bumblebee-Project/bumblebee  URL:            https://github.com/Bumblebee-Project/bumblebee
11  # source from git repo git://github.com/Bumblebee-Project/Bumblebee.git  # source from git repo git://github.com/Bumblebee-Project/Bumblebee.git
 # we need to change to develop branch to allow changing to nouveau without  
 # using nvidia paths  
12  Source0:        https://github.com/downloads/Bumblebee-Project/Bumblebee/%{name}-%{version}.tar.gz  Source0:        https://github.com/downloads/Bumblebee-Project/Bumblebee/%{name}-%{version}.tar.gz
13  BuildRequires:  pkgconfig(x11)  BuildRequires:  pkgconfig(x11)
14  BuildRequires:  pkgconfig(glib-2.0)  BuildRequires:  pkgconfig(glib-2.0)
# Line 22  Requires(preun):systemd-units Line 20  Requires(preun):systemd-units
20  Requires(pre):  rpm-helper  Requires(pre):  rpm-helper
21  Requires:       virtualgl  Requires:       virtualgl
22  Requires:       %mklibname virtualgl  Requires:       %mklibname virtualgl
23    # Suggests:     primus
24  %if %{with nvidia}  %if %{with nvidia}
25  Suggests:       x11-driver-video-nvidia-current  Suggests:       x11-driver-video-nvidia-current
26  %else  %else
# Line 29  Requires:      x11-driver-video-nouveau Line 28  Requires:      x11-driver-video-nouveau
28  %endif  %endif
29  Requires:       kmod(bbswitch)  Requires:       kmod(bbswitch)
30  # Seems broken with current kernels (maybe not needed anymore?)  # Seems broken with current kernels (maybe not needed anymore?)
31  #Requires:      kmod(acpi_call)  # Requires:     kmod(acpi_call)
32    
33  %description  %description
34  Bumblebee daemon is a rewrite of the original Bumblebee service, providing  Bumblebee daemon is a rewrite of the original Bumblebee service, providing
# Line 39  GPU for rendering, but also to enable sm Line 38  GPU for rendering, but also to enable sm
38  when it's not in use.  when it's not in use.
39    
40  %files  %files
41  %doc README.markdown doc/RELEASE_NOTES_3_0_1  %doc README.markdown doc/RELEASE_NOTES_3_2_1
42  %{_sysconfdir}/bash_completion.d/bumblebee  %{_sysconfdir}/bash_completion.d/bumblebee
43  %dir %{_sysconfdir}/bumblebee/  %dir %{_sysconfdir}/bumblebee/
44  %config(noreplace) %{_sysconfdir}/bumblebee/bumblebee.conf  %config(noreplace) %{_sysconfdir}/bumblebee/bumblebee.conf
45    %config(noreplace) %{_sysconfdir}/bumblebee/xorg.conf.d/10-dummy.conf
46  %config(noreplace) %{_sysconfdir}/bumblebee/xorg.conf.nouveau  %config(noreplace) %{_sysconfdir}/bumblebee/xorg.conf.nouveau
47  %config(noreplace) %{_sysconfdir}/bumblebee/xorg.conf.nvidia  %config(noreplace) %{_sysconfdir}/bumblebee/xorg.conf.nvidia
48    /lib/udev/rules.d/99-bumblebee-nvidia-dev.rules
49  /lib/systemd/system/bumblebeed.service  /lib/systemd/system/bumblebeed.service
50  %{_sbindir}/bumblebeed  %{_sbindir}/bumblebeed
51  %{_bindir}/optirun  %{_bindir}/optirun
# Line 107  CONF_DRIVER=nouveau \ Line 108  CONF_DRIVER=nouveau \
108  %ifarch x86_64  %ifarch x86_64
109  CONF_LDPATH_NVIDIA=%{_usr}/lib/nvidia-current:%{_libdir}/nvidia-current \  CONF_LDPATH_NVIDIA=%{_usr}/lib/nvidia-current:%{_libdir}/nvidia-current \
110  CONF_MODPATH_NVIDIA=%{_usr}/lib/nvidia-current/xorg,%{_libdir}/nvidia-current/xorg,%{_usr}/lib/xorg/modules,%{_libdir}/xorg/modules,%{_usr}/lib/xorg/extra-modules,%{_usr}/xorg/extra-modules  CONF_MODPATH_NVIDIA=%{_usr}/lib/nvidia-current/xorg,%{_libdir}/nvidia-current/xorg,%{_usr}/lib/xorg/modules,%{_libdir}/xorg/modules,%{_usr}/lib/xorg/extra-modules,%{_usr}/xorg/extra-modules
111    # CONF_MODPATH_NVIDIA=%%{_usr}/lib/nvidia-current/xorg,%%{_libdir}/nvidia-current/xorg,%%{_usr}/lib/xorg/modules,%%{_libdir}/xorg/modules,%%{_usr}/lib/xorg/extra-modules,%%{_usr}/xorg/extra-modules \
112    # CONF_PRIMUS_LD_PATH=%%{_usr}/lib/primus:%%{_libdir}/primus
113  %else  %else
114  CONF_LDPATH_NVIDIA=%{_usr}/lib/nvidia-current \  CONF_LDPATH_NVIDIA=%{_usr}/lib/nvidia-current \
115  CONF_MODPATH_NVIDIA=%{_usr}/lib/nvidia-current/xorg,%{_usr}/lib/xorg/modules,%{_usr}/lib/xorg/extra-modules  CONF_MODPATH_NVIDIA=%{_usr}/lib/nvidia-current/xorg,%{_usr}/lib/xorg/modules,%{_usr}/lib/xorg/extra-modules
116    # CONF_MODPATH_NVIDIA=%%{_usr}/lib/nvidia-current/xorg,%%{_usr}/lib/xorg/modules,%%{_usr}/lib/xorg/extra-modules \
117    # CONF_PRIMUS_LD_PATH=%%{_usr}/lib/primus
118  %endif  %endif
119    
120  %make CFLAGS="%{optflags}"  %make CFLAGS="%{optflags}"

Legend:
Removed from v.565728  
changed lines
  Added in v.565729

  ViewVC Help
Powered by ViewVC 1.1.30