forked from ISDN4Linux/mISDN
-
Notifications
You must be signed in to change notification settings - Fork 2
/
km_mISDN.spec
60 lines (48 loc) · 1.53 KB
/
km_mISDN.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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
Vendor: SuSE GmbH, Nuernberg, Germany
Distribution: SuSE Linux 8.2 (i386)
Name: km_mISDN
Release: 14
Packager: [email protected]
Copyright: Karsten Keil GPL
Group: unsorted
Autoreqprov: on
Version: 1.0
Summary: modular ISDN driver architecture
Source: mISDN-%{version}-%{release}.tar.bz2
#Patch: isdn4k-utils.dif
Buildroot: /var/tmp/mISDN.build
%description
This package provides the mISDN sourcecode for kernelmodules
Attention!!! These modules are BETA code and experimental, they may be
crash your machine. Here is no support from SuSE for it.
Authors:
--------
Karsten Keil
SuSE series: unsorted
%prep
%setup -n mISDN
#%patch
%build
mv Makefile.standalone Makefile
%install
rm -f -r $RPM_BUILD_ROOT
DESTDIR=$RPM_BUILD_ROOT/usr/src/kernel-modules/mISDN
mkdir -p $DESTDIR
install -p Makefile* $DESTDIR
install -p Rules.make.ext $DESTDIR
install -p add.config $DESTDIR
mkdir -p $DESTDIR/newinclude/linux
install -p include/linux/*.h $DESTDIR/newinclude/linux
mkdir -p $DESTDIR/drivers/isdn/hardware/mISDN
install -p drivers/isdn/hardware/mISDN/Makefile $DESTDIR/drivers/isdn/hardware/mISDN
install -p drivers/isdn/hardware/mISDN/*.[ch] $DESTDIR/drivers/isdn/hardware/mISDN
install -p drivers/isdn/hardware/mISDN/Rules.mISDN.v2.4 $DESTDIR/drivers/isdn/hardware/mISDN/Rules.mISDN
#
%{?suse_check}
%clean
%files
%dir %attr (-,root,root) /usr/src/kernel-modules/mISDN
%attr (-,root,root) /usr/src/kernel-modules/mISDN/*
%changelog -n km_mISDN
* Tue Jul 01 2003 - [email protected]
- first version