/[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 590785 by akien, Fri Feb 7 21:01:31 2014 UTC revision 590786 by akien, Thu Feb 13 16:21:53 2014 UTC
# Line 11  Name:           bumblebee Line 11  Name:           bumblebee
11  Summary:        Support for NVIDIA Optimus laptops on Linux  Summary:        Support for NVIDIA Optimus laptops on Linux
12  Group:          System/Kernel and hardware  Group:          System/Kernel and hardware
13  Version:        3.2.1  Version:        3.2.1
14  Release:        %mkrel 4  Release:        %mkrel 5
15  License:        GPLv3+  License:        GPLv3+
16  URL:            https://github.com/Bumblebee-Project/bumblebee  URL:            https://github.com/Bumblebee-Project/bumblebee
17  # source from git repo git://github.com/Bumblebee-Project/Bumblebee.git  # source from git repo git://github.com/Bumblebee-Project/Bumblebee.git
# 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 125  CONF_DRIVER_MODULE_NVIDIA=nvidia-current Line 125  CONF_DRIVER_MODULE_NVIDIA=nvidia-current
125  CONF_DRIVER=nouveau \  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:%{_libdir}/fakelib:%{_usr}/lib/fakelib \
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.590785  
changed lines
  Added in v.590786

  ViewVC Help
Powered by ViewVC 1.1.30