Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:th_osbug:Bumblebee
bumblebee
bumblebee.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File bumblebee.spec of Package bumblebee
Name: bumblebee License: GPL Summary: NVidia Optimus support for GNU/Linux aimed at stability Group: Hardware/Other Version: 3.1 Release: 0 URL: https://github.com/Bumblebee-Project/bumblebee BuildRoot: %{_tmppath}/%{name}-%{version}-build Source0: %name-%{version}.tar.gz %if 0%{?suse_version} BuildRequires: pwdutils Requires: pwdutils %else BuildRequires: shadow-utils Requires: shadow-utils %endif BuildRequires: module-init-tools pciutils sudo pkg-config systemd BuildRequires: xorg-x11-libX11-devel glib2-devel Requires: module-init-tools pciutils sudo Requires: libturbojpeg VirtualGL xorg-x11-libX11 %{?systemd_requires} %description Bumblebee daemon is a rewrite of the original Bumblebee service, providing an elegant and stable means of managing Optimus hybrid graphics chipsets. A primary goal of this project is to not only enable use of the discrete GPU for rendering, but also to enable smart power management of the dGPU when it's not in use. %prep # extract the source and go into the bumblebee-3.0 directory %setup -q %build ./configure --prefix=/usr --sysconfdir=/etc --without-pidfile \ CONF_DRIVER=nvidia CONF_DRIVER_MODULE_NVIDIA=nvidia \ CONF_LDPATH_NVIDIA=/usr/lib64/nvidia:/usr/lib/nvidia \ CONF_MODPATH_NVIDIA=/usr/%_lib/nvidia/xorg/modules/updates,/usr/%_lib/xorg/modules/updates,/usr/%_lib/xorg/modules # do compile make %install # install all files into the BuildRoot make DESTDIR=$RPM_BUILD_ROOT install install -d 755 %{buildroot}/usr/lib/systemd install -D -m644 "%_builddir/%{name}-%{version}/scripts/systemd/bumblebeed.service" "%{buildroot}/usr/lib/systemd/system/bumblebeed.service" rm -rf %{buildroot}/usr/share/man %clean # clean up the hard disc after build rm -rf $RPM_BUILD_ROOT %post # # Install only # %service_add_post bumblebeed.service # # Install or upgrade # # # Update user rights # if [ "`grep bumblebee /etc/group`" == "" ] ; then groupadd bumblebee usermod -A bumblebee $USER fi %preun %service_add_post bumblebeed.service %postun %service_del_postun bumblebeed.service # # Uninstall only # if [ "`grep bumblebee /etc/group`" != "" ] ; then groupdel bumblebee fi %files %defattr(-,root,root) %dir /etc/bumblebee /etc/bumblebee/xorg.conf.nouveau /etc/bumblebee/xorg.conf.nvidia /etc/bumblebee/bumblebee.conf %dir /usr/lib/systemd/system /usr/lib/systemd/system/bumblebeed.service /lib/udev/rules.d/99-remove-nvidia-dev.rules %config /etc/bash_completion.d/bumblebee /usr/share/doc/bumblebee /usr/sbin/bumblebeed /usr/bin/optirun /usr/bin/bumblebee-bugreport %changelog * Tue Mar 05 2013 arnaldo.coelho@gmail.com - Update to 3.1 * Thu Sep 06 2012 arnaldo.coelho@gmail.com - Update to 3.0.1 - Systemd only. * Tue Jan 24 2012 frostmyname@gmail.com - first package version
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor