1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
10 groups = System/Filesystems
11 url = http://people.redhat.com/heinzm/sw/dmraid
13 summary = Device-mapper RAID tool and library.
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.
21 source_dl = http://people.redhat.com/heinzm/sw/dmraid/src/old/
22 sources = %{thisapp}.tar.bz2
30 DIR_APP = %{DIR_SRC}/%{name}/%{version}
31 PARALLELISMFLAGS = # Disabled
33 make_install_targets += sbindir=%{BUILDROOT}/sbin
35 configure_options += \
39 --disable-static_link \
43 make -C lib libdmraid.so
47 mkdir -pv %{BUILDROOT}/{,usr}/lib
48 install -v -m 755 lib/libdmraid.so \
49 %{BUILDROOT}/lib/libdmraid.so.%{version}
50 ln -svf ../../lib/libdmraid.so.%{version} %{BUILDROOT}/usr/lib/libdmraid.so
52 # Install development headers.
53 install -m 644 include/dmraid/*.h %{BUILDROOT}/usr/include/dmraid/
65 package %{name}-debuginfo