/[packages]/backports/4/bumblebee/current/SPECS/bumblebee.spec
ViewVC logotype

Diff of /backports/4/bumblebee/current/SPECS/bumblebee.spec

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

revision 591361 by akien, Sun Feb 9 15:12:34 2014 UTC revision 591362 by akien, Fri Feb 14 18:45:06 2014 UTC
# Line 32  Requires:       kmod(bbswitch) Line 32  Requires:       kmod(bbswitch)
32    
33  %description  %description
34  Bumblebee is an effort to make NVIDIA Optimus enabled laptops work in  Bumblebee is an effort to make NVIDIA Optimus enabled laptops work in
35  GNU/Linux systems. These laptops are built in such a way that the NVIDIA  GNU/Linux systems. These laptops are built in such a way that the NVIDIA
36  graphics card can be used on demand so that battery life is improved and  graphics card can be used on demand so that battery life is improved and
37  temperature is kept low.  temperature is kept low.
38    
# Line 50  graphics depends on the driver: open sou Line 50  graphics depends on the driver: open sou
50  %config(noreplace) %{_sysconfdir}/bumblebee/xorg.conf.nouveau  %config(noreplace) %{_sysconfdir}/bumblebee/xorg.conf.nouveau
51  %config(noreplace) %{_sysconfdir}/bumblebee/xorg.conf.nvidia  %config(noreplace) %{_sysconfdir}/bumblebee/xorg.conf.nvidia
52  %config(noreplace) %{_sysconfdir}/bumblebee/xorg.conf.d/10-dummy.conf  %config(noreplace) %{_sysconfdir}/bumblebee/xorg.conf.d/10-dummy.conf
53  %{_usr}/lib/udev/rules.d/99-bumblebee-nvidia-dev.rules  %{_udevrulesdir}/99-bumblebee-nvidia-dev.rules
54  %{_unitdir}/bumblebeed.service  %{_unitdir}/bumblebeed.service
55  %{_bindir}/bumblebee-bugreport  %{_bindir}/bumblebee-bugreport
56  %{_mandir}/man1/bumblebeed.1.*  %{_mandir}/man1/bumblebeed.1.*
# Line 117  the %{driver} driver. Line 117  the %{driver} driver.
117  %setup -q  %setup -q
118    
119  %build  %build
120  %configure2_5x \  %configure2_5x --with-udev-rules=%{_udevrulesdir} \
121  %if "%{?distro_section}" == "nonfree"  %if "%{?distro_section}" == "nonfree"
122  CONF_DRIVER=nvidia \  CONF_DRIVER=nvidia \
123  CONF_DRIVER_MODULE_NVIDIA=nvidia-current \  CONF_DRIVER_MODULE_NVIDIA=nvidia-current \
# Line 126  CONF_DRIVER=nouveau \ Line 126  CONF_DRIVER=nouveau \
126  %endif  %endif
127  %ifarch x86_64  %ifarch x86_64
128  CONF_LDPATH_NVIDIA=%{_libdir}/nvidia-current:%{_usr}/lib/nvidia-current \  CONF_LDPATH_NVIDIA=%{_libdir}/nvidia-current:%{_usr}/lib/nvidia-current \
129  CONF_MODPATH_NVIDIA=%{_libdir}/nvidia-current/xorg,%{_usr}/lib/nvidia-current/xorg,%{_libdir}/xorg/modules,%{_usr}/lib/xorg/modules,%{_libdir}/xorg/extra-modules,%{_usr}/lib/xorg/extra-modules \  CONF_MODPATH_NVIDIA=%{_libdir}/nvidia-current/xorg,%{_usr}/lib/nvidia-current/xorg,%{_libdir}/xorg/modules,%{_usr}/lib/xorg/modules \
130  CONF_PRIMUS_LD_PATH=%{_libdir}/primus:%{_usr}/lib/primus  CONF_PRIMUS_LD_PATH=%{_libdir}/primus:%{_usr}/lib/primus
131  %else  %else
132  CONF_LDPATH_NVIDIA=%{_libdir}/nvidia-current \  CONF_LDPATH_NVIDIA=%{_libdir}/nvidia-current \
133  CONF_MODPATH_NVIDIA=%{_libdir}/nvidia-current/xorg,%{_libdir}/xorg/modules,%{_libdir}/xorg/extra-modules  CONF_MODPATH_NVIDIA=%{_libdir}/nvidia-current/xorg,%{_libdir}/xorg/modules \
134  CONF_PRIMUS_LD_PATH=%{_libdir}/primus  CONF_PRIMUS_LD_PATH=%{_libdir}/primus
135  %endif  %endif
136    
# Line 143  install -D -m755 bin/bumblebeed %{buildr Line 143  install -D -m755 bin/bumblebeed %{buildr
143  install -D -m755 bin/optirun %{buildroot}%{_bindir}/optirun  install -D -m755 bin/optirun %{buildroot}%{_bindir}/optirun
144  %else  %else
145  %makeinstall_std  %makeinstall_std
 mv %{buildroot}/lib %{buildroot}%{_usr}/lib  
146  install -D -m644 scripts/systemd/bumblebeed.service %{buildroot}%{_unitdir}/bumblebeed.service  install -D -m644 scripts/systemd/bumblebeed.service %{buildroot}%{_unitdir}/bumblebeed.service
147  %endif  %endif

Legend:
Removed from v.591361  
changed lines
  Added in v.591362

  ViewVC Help
Powered by ViewVC 1.1.30