spec.in for vaio fixes package

This commit is contained in:
Frédéric Pierret 2018-01-28 11:23:04 +01:00
parent 3ae3eae48b
commit a2139b95b5
No known key found for this signature in database
GPG Key ID: 1DABC232BE02201E
3 changed files with 10 additions and 7 deletions

View File

@ -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

View File

@ -1 +1,2 @@
4.0.14
1.6.1

View File

@ -1 +0,0 @@
1.6.1