/[smecontribs]/rpms/bmcsensors/contribs7/bmcsenseors.spec
ViewVC logotype

Contents of /rpms/bmcsensors/contribs7/bmcsenseors.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.3 - (show annotations) (download)
Tue Mar 3 15:25:39 2009 UTC (15 years, 8 months ago) by slords
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
Remove kmdl version

1 # $Id: bmcsenseors.spec,v 1.2 2009/03/02 23:53:29 slords Exp $
2 # Authority: vip-ire
3 # Name: Daniel Berteaud
4
5 %kmdl bmcsensors
6
7 %define realver 26
8
9 Summary: bmcsensors, a IPMI compatible driver for lm_sensors
10 Name: bmcsensors
11 Version: 20050320
12 Release: 0%{?dist}
13 License: GPL2
14 Group: Applications/Internet
15 URL: http://bmcsensors-26.sourceforge.net/
16 Source0: %{name}-%{version}.tar.bz2
17
18 # Patch0: bmcsensors-20050320-foo.patch
19
20 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
21 %kmdl_parentdependencies
22
23 %description
24 bmcsensors, a IPMI compatible driver for lm_sensors
25
26 %package -n %kmdl_name
27 %kmdl_dependencies
28 Summary: kernel modules for %{name}
29 Group: System Environment/Kernel
30
31 %description -n %kmdl_name
32 kernel modules for %{name}. See description for %{name} for further information.
33
34 %kmdl_desc
35
36 %prep
37 %setup -q -n bmcsensors-%{realver}
38
39 %build
40
41 %{__make} -C %{kmdl_kernelsrcdir} SUBDIRS=`pwd` modules
42
43
44 %install
45 mkdir -p %{buildroot}%{kmdl_moduledir}/kernel/drivers/i2c/{chips,busses}
46 install -m 644 i2c-ipmi.ko %{buildroot}%{kmdl_moduledir}/kernel/drivers/i2c/busses/i2c-ipmi.ko
47 install -m 644 bmcsensors.ko %{buildroot}%{kmdl_moduledir}/kernel/drivers/i2c/chips/bmcsensors.ko
48
49 %clean
50 rm -rf %{buildroot}
51
52 %post -n %kmdl_name
53 %kmdl_install
54
55 %postun -n %kmdl_name
56 %kmdl_remove
57
58
59 %files -n %kmdl_name
60 %defattr(-,root,root,-)
61 %{kmdl_moduledir}/*
62
63 %changelog
64 * Tue Feb 24 2009 Daniel B. <daniel@firewall-services.com> 20050320-0
65 - Initiale build
66
67

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed