File: modutils.spec

package info (click to toggle)
modutils 2.1.85-11
  • links: PTS
  • area: main
  • in suites: hamm
  • size: 1,020 kB
  • ctags: 1,024
  • sloc: ansic: 9,324; sh: 2,180; lex: 484; yacc: 362; makefile: 309
file content (63 lines) | stat: -rw-r--r-- 1,502 bytes parent folder | download
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
Summary: Module utilities and kerneld
Name: modutils
Version: 2.1.85
Release: 1
Copyright: GPL
Group: Utilities/System
Source: ftp://ftp.redhat.com/pub/alphabits/modutils-2.1.85.tar.gz
ExclusiveOS: Linux
BuildRoot: /tmp/modutils

%description
The Linux kernel allows new kernel pieces to be loaded and old ones to
be unloaded while the kernel continues to run. These loadable piecs
are called modules, and can include device drivers and filesystems among
other things. This package includes program to load and unload programs
both automatically and manually.

%prep
%setup

%build
./configure
make dep all

%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/sbin
mkdir -p $RPM_BUILD_ROOT/usr/man/man1
mkdir -p $RPM_BUILD_ROOT/usr/man/man2
mkdir -p $RPM_BUILD_ROOT/usr/man/man8
make install prefix=$RPM_BUILD_ROOT/usr exec_prefix=$RPM_BUILD_ROOT
cd kerneld
make install-scripts prefix=$RPM_BUILD_ROOT/usr exec_prefix=$RPM_BUILD_ROOT

%clean
rm -rf $RPM_BUILD_ROOT

%files
/sbin/depmod
/sbin/genksyms
/sbin/insmod
/sbin/kerneld
/sbin/ksyms
/sbin/lsmod
/sbin/modprobe
/sbin/rmmod
/sbin/modinfo
/sbin/request-route
/usr/man/man1/depmod.1
/usr/man/man1/insmod.1
/usr/man/man1/ksyms.1
/usr/man/man1/lsmod.1
/usr/man/man1/modinfo.1
/usr/man/man1/modprobe.1
/usr/man/man1/rmmod.1
/usr/man/man2/create_module.2
/usr/man/man2/delete_module.2
/usr/man/man2/get_kernel_syms.2
/usr/man/man2/init_module.2
/usr/man/man2/query_module.2
/usr/man/man8/genksyms.8
/usr/man/man8/kerneld.8