-
Notifications
You must be signed in to change notification settings - Fork 1
/
sunhme2g-kmod-common.spec
42 lines (29 loc) · 989 Bytes
/
sunhme2g-kmod-common.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# (un)define the next line to either build for the newest or all current kernels
%define modname sunhme2g
Name: %{modname}-kmod-common
Version: 0.0.1
Release: 1%{?dist}.1
Summary: Common files for modified version of sunhme driver
Group: System Environment/Kernel
License: GPL
#URL:
Source0: sunhme-0.0.1.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
%description
A patched version of sunhme driver that works on machines
with more than 2GB of ram
%prep
%setup -q -c -T -a 0
%build
%install
rm -rf ${RPM_BUILD_ROOT}
install -D -m 755 sunhme/blacklist-sunhme.conf ${RPM_BUILD_ROOT}%{_sysconfdir}/modprobe.d/blacklist-sunhme.conf
%files
%defattr(644,root,root,755)
%config(noreplace) %{_sysconfdir}/modprobe.d/blacklist-sunhme.conf
%clean
rm -rf $RPM_BUILD_ROOT
%changelog
* Fri Apr 05 2013 Sebastian Mäki <[email protected]> - 0.0.1-1
- initial spec