spec.in for vaio fixes package
This commit is contained in:
parent
3ae3eae48b
commit
a2139b95b5
@ -1,7 +1,5 @@
|
||||
%{!?version: %define version %(cat version_vaio_fixes)}
|
||||
|
||||
Name: qubes-core-dom0-vaio-fixes
|
||||
Version: %{version}
|
||||
Version: @VERSION1@
|
||||
Release: 1%{?dist}
|
||||
Summary: Additional scripts for supporting suspend on Vaio Z laptops
|
||||
Requires: alsa-utils
|
||||
@ -11,18 +9,23 @@ Vendor: Invisible Things Lab
|
||||
License: GPL
|
||||
URL: http://www.qubes-os.org
|
||||
|
||||
Source0: qubes-core-dom0-linux-@VERSION@.tar.gz
|
||||
|
||||
%description
|
||||
Additional scripts for supporting suspend on Vaio Z laptops.
|
||||
|
||||
Due to broken Linux GPU drivers we need to do some additional actions during
|
||||
suspend/resume.
|
||||
|
||||
%prep
|
||||
%setup -q -n qubes-core-dom0-linux-@VERSION@
|
||||
|
||||
%install
|
||||
mkdir -p $RPM_BUILD_ROOT/usr/lib64/pm-utils/sleep.d
|
||||
cp vaio-fixes/00sony-vaio-audio $RPM_BUILD_ROOT/usr/lib64/pm-utils/sleep.d/
|
||||
cp vaio-fixes/99sony-vaio-audio $RPM_BUILD_ROOT/usr/lib64/pm-utils/sleep.d/
|
||||
install -D vaio-fixes/00sony-vaio-audio $RPM_BUILD_ROOT/usr/lib64/pm-utils/sleep.d/
|
||||
install -D vaio-fixes/99sony-vaio-audio $RPM_BUILD_ROOT/usr/lib64/pm-utils/sleep.d/
|
||||
mkdir -p $RPM_BUILD_ROOT/etc/modprobe.d/
|
||||
cp vaio-fixes/snd-hda-intel-sony-vaio.conf $RPM_BUILD_ROOT/etc/modprobe.d/
|
||||
install -D vaio-fixes/snd-hda-intel-sony-vaio.conf $RPM_BUILD_ROOT/etc/modprobe.d/
|
||||
|
||||
%files
|
||||
/usr/lib64/pm-utils/sleep.d/00sony-vaio-audio
|
@ -1 +0,0 @@
|
||||
1.6.1
|
Loading…
Reference in New Issue
Block a user