]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blob - dmraid/dmraid.nm
Merge remote-tracking branch 'arne_f/autoconf'
[people/amarx/ipfire-3.x.git] / dmraid / dmraid.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = dmraid
7 version = 1.0.0.rc15
8 release = 4
9
10 groups = System/Filesystems
11 url = http://people.redhat.com/heinzm/sw/dmraid
12 license = GPLv2+
13 summary = Device-mapper RAID tool and library.
14
15 description
16 DMRAID supports RAID device discovery, RAID set activation, creation,
17 removal, rebuild and display of properties for ATARAID/DDF1 metadata on
18 Linux >= 2.4 using device-mapper.
19 end
20
21 source_dl = http://people.redhat.com/heinzm/sw/dmraid/src/old/
22 sources = %{thisapp}.tar.bz2
23
24 build
25 requires
26 libdevmapper-devel
27 libselinux-devel
28 end
29
30 DIR_APP = %{DIR_SRC}/%{name}/%{version}
31 PARALLELISMFLAGS = # Disabled
32
33 make_install_targets += sbindir=%{BUILDROOT}%{sbindir}
34
35 configure_options += \
36 --disable-static \
37 --disable-static_link \
38 --enable-libselinux
39
40 build_cmds
41 make -C lib libdmraid.so
42 end
43
44 install_cmds
45 # Install development headers.
46 mkdir -pv %{BUILDROOT}%{includedir}/dmraid
47 install -m 644 include/dmraid/*.h %{BUILDROOT}%{includedir}/dmraid/
48 end
49 end
50
51 packages
52 package %{name}
53
54 package %{name}-devel
55 template DEVEL
56 end
57
58 package %{name}-debuginfo
59 template DEBUGINFO
60 end
61 end