automatic version update by autodist [release 3.2.1-1mamba;Sun Apr 28 2013]
This commit is contained in:
parent
6b88a9c7b7
commit
7ab0cc234c
@ -1,2 +1,4 @@
|
||||
# bumblebee
|
||||
|
||||
A project aiming to support NVIDIA Optimus technology under Linux.
|
||||
|
||||
|
86
bumblebee.spec
Normal file
86
bumblebee.spec
Normal file
@ -0,0 +1,86 @@
|
||||
%define bumblebeegroupid 65430
|
||||
%define bumblebeeuserid 65430
|
||||
Name: bumblebee
|
||||
Version: 3.2.1
|
||||
Release: 1mamba
|
||||
Summary: A project aiming to support NVIDIA Optimus technology under Linux.
|
||||
Group: System/Kernel and Hardware
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: http://www.bumblebee-project.org
|
||||
Source: http://bumblebee-project.org/bumblebee-%{version}.tar.gz
|
||||
License: GPL
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: libbsd-devel
|
||||
BuildRequires: libglib-devel
|
||||
BuildRequires: libX11-devel
|
||||
## AUTOBUILDREQ-END
|
||||
Requires: virtualgl
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
%description
|
||||
A project aiming to support NVIDIA Optimus technology under Linux.
|
||||
|
||||
%debug_package
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%configure
|
||||
%make
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
%makeinstall
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
%pre
|
||||
if [ $1 -ge 1 ]; then
|
||||
/usr/sbin/groupadd bumblebee -g %{bumblebeegroupid} 2>/dev/null
|
||||
/usr/sbin/useradd -u %{bumblebeeuserid} -c 'Bumblebee user' -d /dev/null -g bumblebee \
|
||||
-s /bin/false bumblebee 2>/dev/null
|
||||
fi
|
||||
exit 0
|
||||
|
||||
%preun
|
||||
if [ $1 -eq 0 ]; then
|
||||
/usr/sbin/groupdel bumblebee 2>/dev/null
|
||||
/usr/sbin/userdel bumblebee 2>/dev/null
|
||||
fi
|
||||
exit 0
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%config(noreplace) %{_sysconfdir}/bumblebee/bumblebee.conf
|
||||
%{_sysconfdir}/bash_completion.d/bumblebee
|
||||
%{_sysconfdir}/bumblebee/xorg.conf.d/10-dummy.conf
|
||||
#%{_sysconfdir}/bumblebee/xorg.conf.d/busid.conf
|
||||
%{_sysconfdir}/bumblebee/xorg.conf.nouveau
|
||||
%{_sysconfdir}/bumblebee/xorg.conf.nvidia
|
||||
%{_bindir}/bumblebee-bugreport
|
||||
%{_bindir}/optirun
|
||||
%{_sbindir}/bumblebeed
|
||||
/lib/udev/rules.d/99-bumblebee-nvidia-dev.rules
|
||||
%{_datadir}/doc/bumblebee/README.markdown
|
||||
%{_datadir}/doc/bumblebee/RELEASE_NOTES_*
|
||||
%{_mandir}/man1/bumblebeed.1.gz
|
||||
%{_mandir}/man1/optirun.1.gz
|
||||
%doc COPYING
|
||||
|
||||
%changelog
|
||||
* Sun Apr 28 2013 Automatic Build System <autodist@mambasoft.it> 3.2.1-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Fri Apr 26 2013 Automatic Build System <autodist@mambasoft.it> 3.2-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Thu Apr 04 2013 Automatic Build System <autodist@mambasoft.it> 3.1-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Fri Jul 27 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0-1mamba
|
||||
- package created by autospec
|
Loading…
Reference in New Issue
Block a user