/[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 602747 by akien, Wed Mar 12 22:06:52 2014 UTC revision 602748 by akien, Wed Mar 12 23:19:59 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 7  Release:        %mkrel 8
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 111  the %{driver} driver. Line 111  the %{driver} driver.
111  %files          %{driver}  %files          %{driver}
112  %config(noreplace) %{_sysconfdir}/bumblebee/bumblebee.conf  %config(noreplace) %{_sysconfdir}/bumblebee/bumblebee.conf
113  %{_sbindir}/bumblebeed  %{_sbindir}/bumblebeed
114    %if "%{?distro_section}" == "nonfree"
115  %{_bindir}/nvidia-settings-bumblebee  %{_bindir}/nvidia-settings-bumblebee
116    %endif
117  %{_bindir}/optirun  %{_bindir}/optirun
118    
119  #--------------------------------------------------------------------  #--------------------------------------------------------------------
# Line 144  CONF_PRIMUS_LD_PATH=%{_libdir}/primus Line 146  CONF_PRIMUS_LD_PATH=%{_libdir}/primus
146  install -D -m644 conf/bumblebee.conf %{buildroot}%{_sysconfdir}/bumblebee/bumblebee.conf  install -D -m644 conf/bumblebee.conf %{buildroot}%{_sysconfdir}/bumblebee/bumblebee.conf
147  install -D -m755 bin/bumblebeed %{buildroot}%{_sbindir}/bumblebeed  install -D -m755 bin/bumblebeed %{buildroot}%{_sbindir}/bumblebeed
148  install -D -m755 bin/optirun %{buildroot}%{_bindir}/optirun  install -D -m755 bin/optirun %{buildroot}%{_bindir}/optirun
 %else  
 %makeinstall_std  
 install -D -m644 scripts/systemd/bumblebeed.service %{buildroot}%{_unitdir}/bumblebeed.service  
 %endif  
149    
150  # Create nvidia-settings launcher script  # Create nvidia-settings launcher script
151  cat > %{buildroot}%{_bindir}/nvidia-settings-bumblebee << EOF  cat > nvidia-settings-bumblebee << EOF
152  #!/bin/sh  #!/bin/sh
153  optirun -b none %{_libdir}/nvidia-current/bin/nvidia-settings -c :8  optirun -b none %{_libdir}/nvidia-current/bin/nvidia-settings -c :8
154  EOF  EOF
155  chmod +x %{buildroot}%{_bindir}/nvidia-settings-bumblebee  install -D -m755 nvidia-settings-bumblebee %{buildroot}%{_bindir}/nvidia-settings-bumblebee
156    
157    %else
158    %makeinstall_std
159    install -D -m644 scripts/systemd/bumblebeed.service %{buildroot}%{_unitdir}/bumblebeed.service
160    %endif

Legend:
Removed from v.602747  
changed lines
  Added in v.602748

  ViewVC Help
Powered by ViewVC 1.1.30