forked from altlinux/specs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathscst.spec
57 lines (43 loc) · 1.47 KB
/
scst.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
Name: scst
Version: 3.4.0
Release: alt1
Summary: Generic SCSI target subsystem for Linux
License: GPL-2.0
Group: System/Kernel and hardware
URL: http://%name.sf.net
Source: %name-%version.tar.bz2
BuildRequires: rpm-build-kernel
%description
The generic SCSI target subsystem for Linux (SCST) allows creation of
sophisticated storage devices from any Linux box. Those devices can provide
advanced functionality, like replication, thin provisioning, deduplication,
high availability, automatic backup, etc.
%package devel
Summary: SCST development files
Group: System/Kernel and hardware
%description devel
This package contains SCST development files
%package -n kernel-source-%name
Summary: SCST modules sources for Linux kernel
Group: Development/Kernel
BuildArch: noarch
Provides: kernel-src-%name = %version-%release
%description -n kernel-source-%name
This package contains SCST modules sources for Linux kernel.
%prep
%setup -q
tar -cJf %name-%version.tar.xz %name/src %name/README %name/README.*
%install
install -pD -m0644 %name-%version.tar.xz %kernel_srcdir/%name-%version.tar.xz
mkdir -p %buildroot%_includedir/%name
install -m0644 %name/include/* %buildroot%_includedir/%name/
%files devel
%doc %name/README %name/README.*
%_includedir/%name
%files -n kernel-source-%name
%_usrsrc/kernel
%changelog
* Sat Oct 31 2020 Andrey Cherepanov <[email protected]> 3.4.0-alt1
- New version (ALT #38809).
* Sun Oct 16 2016 Valery Inozemtsev <[email protected]> 3.1.0-alt1
- initial release