]> git.ipfire.org Git - ipfire-3.x.git/blame - dmraid/dmraid.nm
kernel: Change ASPM policy to default
[ipfire-3.x.git] / dmraid / dmraid.nm
CommitLineData
717626ea 1###############################################################################
802ea3af
MT
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
717626ea
MT
4###############################################################################
5
802ea3af 6name = dmraid
bcebefae
SS
7version = 1.0.0.rc16
8release = 1
717626ea 9
802ea3af
MT
10groups = System/Filesystems
11url = http://people.redhat.com/heinzm/sw/dmraid
12license = GPLv2+
13summary = Device-mapper RAID tool and library.
717626ea 14
802ea3af 15description
359102ae
SS
16 DMRAID supports RAID device discovery, RAID set activation, creation,
17 removal, rebuild and display of properties for ATARAID/DDF1 metadata on
717626ea 18 Linux >= 2.4 using device-mapper.
802ea3af
MT
19end
20
359102ae 21source_dl = http://people.redhat.com/heinzm/sw/dmraid/src/old/
802ea3af
MT
22sources = %{thisapp}.tar.bz2
23
24build
25 requires
bcebefae 26 libdevmapper-devel >= 2.02.166
802ea3af
MT
27 end
28
29 DIR_APP = %{DIR_SRC}/%{name}/%{version}
30 PARALLELISMFLAGS = # Disabled
31
45993d51 32 make_install_targets += sbindir=%{BUILDROOT}%{sbindir}
802ea3af
MT
33
34 configure_options += \
802ea3af 35 --disable-static \
bcebefae 36 --disable-static_link
802ea3af 37
91e84366
SS
38 # Dmraid doesn't automatically build and install a versioned library
39 # so we do it on or own.
802ea3af
MT
40 build_cmds
41 make -C lib libdmraid.so
42 end
43
bcebefae
SS
44 test
45 # Package does not offer any kind of testsuite.
46 end
47
802ea3af 48 install_cmds
359102ae 49 # Install development headers.
2947c340
MT
50 mkdir -pv %{BUILDROOT}%{includedir}/dmraid
51 install -m 644 include/dmraid/*.h %{BUILDROOT}%{includedir}/dmraid/
91e84366
SS
52
53 # Manually install versioned library and create symlinks.
54 mkdir -pv %{BUILDROOT}%{libdir}
55 install -m 755 lib/libdmraid.so %{BUILDROOT}%{libdir}/libdmraid.so.%{version}
56 ln -sv libdmraid.so.%{version} %{BUILDROOT}%{libdir}/libdmraid.so.1
57 ln -sv libdmraid.so.%{version} %{BUILDROOT}%{libdir}/libdmraid.so
802ea3af
MT
58 end
59end
60
61packages
62 package %{name}
1f9bc2f0 63
802ea3af
MT
64 package %{name}-devel
65 template DEVEL
66 end
1f9bc2f0
MT
67
68 package %{name}-debuginfo
69 template DEBUGINFO
70 end
802ea3af 71end