2006-12-18 14:01:39 +01:00
|
|
|
#
|
2012-10-18 10:15:42 +02:00
|
|
|
# spec file for package lvm2
|
2006-12-18 14:01:39 +01:00
|
|
|
#
|
2013-02-23 08:33:01 +01:00
|
|
|
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2006-12-18 14:01:39 +01:00
|
|
|
#
|
2008-08-14 01:57:23 +02:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2006-12-18 14:01:39 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2009-05-15 22:00:20 +02:00
|
|
|
Url: http://sources.redhat.com/cluster/clvm/
|
2008-02-15 01:32:50 +01:00
|
|
|
|
2006-12-18 14:01:39 +01:00
|
|
|
Name: lvm2
|
2012-10-23 19:40:13 +02:00
|
|
|
BuildRequires: libcorosync-devel
|
|
|
|
BuildRequires: libdlm-devel
|
|
|
|
BuildRequires: libopenais-devel
|
2008-08-26 02:15:11 +02:00
|
|
|
BuildRequires: libselinux-devel
|
2012-10-18 10:15:42 +02:00
|
|
|
BuildRequires: readline-devel
|
2012-10-23 19:40:13 +02:00
|
|
|
BuildRequires: pkgconfig(udev)
|
2008-07-11 23:10:33 +02:00
|
|
|
Requires: device-mapper >= 1.02.25
|
2006-12-18 14:01:39 +01:00
|
|
|
Provides: lvm
|
2012-10-18 10:15:42 +02:00
|
|
|
PreReq: %fillup_prereq %insserv_prereq /sbin/mkinitrd
|
2012-10-23 19:40:13 +02:00
|
|
|
Version: 2.02.98
|
2012-10-18 10:15:42 +02:00
|
|
|
Release: 0
|
2012-10-23 19:40:13 +02:00
|
|
|
Summary: Logical Volume Manager Tools
|
2013-04-22 16:12:00 +02:00
|
|
|
License: GPL-2.0 and LGPL-2.1
|
2012-10-18 10:15:42 +02:00
|
|
|
Group: System/Base
|
2013-04-17 10:04:57 +02:00
|
|
|
Source: ftp://sources.redhat.com/pub/%{name}/LVM2.%{version}.tgz
|
2006-12-18 14:01:39 +01:00
|
|
|
Source1: lvm.conf
|
|
|
|
Source2: boot.lvm
|
|
|
|
Source3: sysconfig.lvm
|
2012-10-18 10:15:42 +02:00
|
|
|
Source4: mkinitrd-lvm2-setup.sh
|
|
|
|
Source5: mkinitrd-lvm2-boot.sh
|
2008-09-13 05:05:30 +02:00
|
|
|
Source6: 64-lvm2.rules
|
|
|
|
Source7: collect_lvm
|
2008-12-05 15:45:04 +01:00
|
|
|
Source8: clvmd.ocf
|
2012-10-23 19:40:13 +02:00
|
|
|
Source11: boot.device-mapper
|
|
|
|
Source12: mkinitrd-devmapper-setup.sh
|
|
|
|
Source13: mkinitrd-devmapper-boot.sh
|
|
|
|
Source14: baselibs.conf
|
|
|
|
|
2006-12-18 14:01:39 +01:00
|
|
|
Patch: improve_probing.diff
|
|
|
|
Patch2: no-inc-audit.diff
|
|
|
|
Patch3: no_buildroot_shared.diff
|
|
|
|
Patch4: sys_mount_instead_linux_fs.diff
|
2007-11-22 18:06:40 +01:00
|
|
|
Patch6: man_page_sectors.diff
|
2012-10-23 19:40:13 +02:00
|
|
|
|
2008-04-25 16:32:38 +02:00
|
|
|
Patch13: pipe_buff-definition.diff
|
2009-05-15 22:00:20 +02:00
|
|
|
Patch19: dont_ignore_tmp_device_file.diff
|
2012-10-23 19:40:13 +02:00
|
|
|
Patch20: support-drbd-filter.diff
|
2012-10-18 10:15:42 +02:00
|
|
|
Patch22: handle_extended_devt.diff
|
2009-05-15 22:00:20 +02:00
|
|
|
Patch61: device-mapper-dmsetup-export.patch
|
|
|
|
Patch65: device-mapper-dmsetup-deps-export.patch
|
2012-10-23 19:40:13 +02:00
|
|
|
Patch66: device-mapper-type_punning.diff
|
|
|
|
Patch70: sleep-try-open-count.diff
|
2012-10-18 10:15:42 +02:00
|
|
|
Patch81: udev-rules_update.diff
|
2012-12-03 11:41:52 +01:00
|
|
|
Patch82: udev_sync-cookie_set-1-on-each-dm_task_set_cookie-ca.patch
|
2012-10-18 10:15:42 +02:00
|
|
|
|
2006-12-18 14:01:39 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2008-08-26 02:15:11 +02:00
|
|
|
# Not a real replacement but we drop evms
|
2012-10-18 10:15:42 +02:00
|
|
|
Provides: evms = 2.5.5
|
|
|
|
Provides: evms-devel = 2.5.5
|
|
|
|
Provides: evms-gui = 2.5.5
|
|
|
|
Provides: evms-ha = 2.5.5
|
|
|
|
Obsoletes: evms <= 2.5.5
|
|
|
|
Obsoletes: evms-devel <= 2.5.5
|
|
|
|
Obsoletes: evms-gui <= 2.5.5
|
|
|
|
Obsoletes: evms-ha <= 2.5.5
|
2013-02-23 08:33:01 +01:00
|
|
|
%define _udevdir %(pkg-config --variable=udevdir udev)
|
2006-12-18 14:01:39 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
Programs and man pages for configuring and using the LVM2 Logical
|
|
|
|
Volume Manager.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
2012-11-04 03:55:33 +01:00
|
|
|
%setup -q -n LVM2.%{version}
|
2012-10-23 19:40:13 +02:00
|
|
|
%patch -p1
|
2006-12-18 14:01:39 +01:00
|
|
|
%patch2
|
|
|
|
%patch3
|
|
|
|
%patch4
|
2012-10-23 19:40:13 +02:00
|
|
|
%patch6 -p1
|
|
|
|
%patch13 -p1
|
2009-05-15 22:00:20 +02:00
|
|
|
%patch19 -p1
|
2012-10-23 19:40:13 +02:00
|
|
|
%patch20 -p1
|
2012-10-18 10:15:42 +02:00
|
|
|
%patch22 -p1
|
2009-05-15 22:00:20 +02:00
|
|
|
%patch61 -p1
|
|
|
|
%patch65 -p1
|
2012-10-23 19:40:13 +02:00
|
|
|
%patch66 -p1
|
|
|
|
%patch70 -p1
|
2012-10-18 10:15:42 +02:00
|
|
|
%patch81 -p1
|
2012-12-03 11:41:52 +01:00
|
|
|
%patch82 -p1
|
2006-12-18 14:01:39 +01:00
|
|
|
|
|
|
|
%build
|
2012-10-18 10:15:42 +02:00
|
|
|
export MODPROBE_CMD=/sbin/modprobe
|
|
|
|
%configure --prefix=/ \
|
2012-10-23 19:40:13 +02:00
|
|
|
--bindir=/bin --libdir=/%_lib --with-usrlibdir=%_libdir \
|
2012-10-18 10:15:42 +02:00
|
|
|
--sbindir=/sbin --enable-dmeventd \
|
2013-02-23 08:33:01 +01:00
|
|
|
--with-udevdir=%{_udevdir}/rules.d \
|
2012-10-18 10:15:42 +02:00
|
|
|
--with-dmeventd_path=/sbin/dmeventd \
|
2012-10-23 19:40:13 +02:00
|
|
|
--with-device-uid=0 --with-device-gid=6 --with-device-mode=0640 \
|
|
|
|
--enable-udev_sync --enable-udev_rules \
|
2012-10-18 10:15:42 +02:00
|
|
|
--enable-cmdlib --enable-dmeventd \
|
2012-10-23 19:40:13 +02:00
|
|
|
--enable-realtime --enable-pkgconfig \
|
|
|
|
--enable-selinux \
|
2012-10-24 18:12:49 +02:00
|
|
|
--with-clvmd=corosync --datarootdir=/usr/share --with-default-locking-dir=/run/lock/lvm
|
2012-10-18 10:15:42 +02:00
|
|
|
export SUSE_ASNEEDED=0
|
2012-10-23 19:40:13 +02:00
|
|
|
make -j1 # symlinks are generated in parallel! %{?_smp_mflags}
|
2006-12-18 14:01:39 +01:00
|
|
|
|
|
|
|
%install
|
2012-10-23 19:40:13 +02:00
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
2006-12-18 14:01:39 +01:00
|
|
|
install -d -m 755 $RPM_BUILD_ROOT/etc/lvm
|
|
|
|
install -d -m 755 $RPM_BUILD_ROOT/etc/lvm/backup
|
|
|
|
install -d -m 755 $RPM_BUILD_ROOT/etc/lvm/archive
|
|
|
|
install -d -m 755 $RPM_BUILD_ROOT/etc/lvm/metadata
|
|
|
|
install -m 644 %{SOURCE1} $RPM_BUILD_ROOT/etc/lvm
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/etc/init.d
|
2008-05-01 15:03:59 +02:00
|
|
|
install -m 755 %{SOURCE2} $RPM_BUILD_ROOT/etc/init.d
|
2012-10-23 19:40:13 +02:00
|
|
|
install -m 744 %{SOURCE11} $RPM_BUILD_ROOT/etc/init.d
|
2008-07-25 02:21:45 +02:00
|
|
|
install -d $RPM_BUILD_ROOT/lib/mkinitrd/scripts
|
|
|
|
install -m 755 %{SOURCE4} $RPM_BUILD_ROOT/lib/mkinitrd/scripts/setup-lvm2.sh
|
|
|
|
install -m 755 %{SOURCE5} $RPM_BUILD_ROOT/lib/mkinitrd/scripts/boot-lvm2.sh
|
2012-10-23 19:40:13 +02:00
|
|
|
install -m 755 %{SOURCE12} $RPM_BUILD_ROOT/lib/mkinitrd/scripts/setup-dm.sh
|
|
|
|
install -m 755 %{SOURCE13} $RPM_BUILD_ROOT/lib/mkinitrd/scripts/boot-dm.sh
|
2006-12-18 14:01:39 +01:00
|
|
|
mkdir -p $RPM_BUILD_ROOT/var/adm/fillup-templates
|
2008-05-01 15:03:59 +02:00
|
|
|
install -m 644 %{SOURCE3} $RPM_BUILD_ROOT/var/adm/fillup-templates
|
2012-10-23 19:40:13 +02:00
|
|
|
install -m755 -D %{S:8} $RPM_BUILD_ROOT/usr/lib/ocf/resource.d/lvm2/clvmd
|
|
|
|
rm -f $RPM_BUILD_ROOT/%_libdir/liblvm2cmd.so
|
|
|
|
ln -sf liblvm2cmd.so.2.02 $RPM_BUILD_ROOT/%_lib/liblvm2cmd.so
|
|
|
|
rm -f $RPM_BUILD_ROOT/%_libdir/libdevmapper-event-lvm2.so
|
|
|
|
ln -sf libdevmapper-event-lvm2.so.2.02 $RPM_BUILD_ROOT/%_lib/libdevmapper-event-lvm2.so
|
2012-10-18 10:15:42 +02:00
|
|
|
pushd $RPM_BUILD_ROOT/%_lib
|
|
|
|
ln -sf device-mapper/libdevmapper-event-lvm2mirror.so libdevmapper-event-lvm2mirror.so.2.02
|
|
|
|
ln -sf device-mapper/libdevmapper-event-lvm2snapshot.so libdevmapper-event-lvm2snapshot.so.2.02
|
2012-10-23 19:40:13 +02:00
|
|
|
ln -sf device-mapper/libdevmapper-event-lvm2raid.so libdevmapper-event-lvm2raid.so.2.02
|
2012-10-18 10:15:42 +02:00
|
|
|
popd
|
2012-10-23 19:40:13 +02:00
|
|
|
install -d $RPM_BUILD_ROOT/usr/sbin
|
|
|
|
mv $RPM_BUILD_ROOT/sbin/clvmd $RPM_BUILD_ROOT/usr/sbin/clvmd
|
2012-10-18 10:15:42 +02:00
|
|
|
mkdir -p $RPM_BUILD_ROOT/usr/share
|
2008-02-15 01:32:50 +01:00
|
|
|
rm $RPM_BUILD_ROOT/usr/include/lvm2cmd.h
|
2012-10-23 19:40:13 +02:00
|
|
|
# install and collect_lvm
|
2013-02-23 08:33:01 +01:00
|
|
|
install -m755 -D %{S:7} $RPM_BUILD_ROOT%{_udevdir}/collect_lvm
|
2006-12-18 14:01:39 +01:00
|
|
|
|
|
|
|
%post
|
2012-10-18 10:15:42 +02:00
|
|
|
%{fillup_and_insserv -n lvm boot.lvm}
|
|
|
|
[ -x /sbin/mkinitrd_setup ] && /sbin/mkinitrd_setup
|
|
|
|
if [ -e /var/lib/no_initrd_recreation_by_suspend ]; then
|
|
|
|
echo "Skipping recreation of existing initial ramdisks, due"
|
|
|
|
echo "to presence of /var/lib/no_initrd_recreation_by_suspend"
|
|
|
|
elif [ -x /sbin/mkinitrd ]; then
|
|
|
|
/sbin/mkinitrd
|
|
|
|
fi
|
|
|
|
|
2008-05-01 15:03:59 +02:00
|
|
|
/sbin/ldconfig
|
|
|
|
|
|
|
|
%preun
|
|
|
|
%{stop_on_removal boot.lvm}
|
2006-12-18 14:01:39 +01:00
|
|
|
|
|
|
|
%postun
|
|
|
|
%{insserv_cleanup}
|
2012-10-18 10:15:42 +02:00
|
|
|
[ -x /sbin/mkinitrd_setup ] && /sbin/mkinitrd_setup
|
|
|
|
if [ -e /var/lib/no_initrd_recreation_by_suspend ]; then
|
|
|
|
echo "Skipping recreation of existing initial ramdisks, due"
|
|
|
|
echo "to presence of /var/lib/no_initrd_recreation_by_suspend"
|
|
|
|
elif [ -x /sbin/mkinitrd ]; then
|
|
|
|
/sbin/mkinitrd
|
|
|
|
fi
|
|
|
|
|
2008-05-01 15:03:59 +02:00
|
|
|
/sbin/ldconfig
|
|
|
|
|
2006-12-18 14:01:39 +01:00
|
|
|
%files
|
2007-02-11 18:51:08 +01:00
|
|
|
%defattr(-,root,root)
|
2012-10-23 19:40:13 +02:00
|
|
|
%doc README WHATS_NEW doc/*
|
2006-12-18 14:01:39 +01:00
|
|
|
%dir /etc/lvm
|
|
|
|
%dir /etc/lvm/backup
|
|
|
|
%dir /etc/lvm/archive
|
|
|
|
%dir /etc/lvm/metadata
|
|
|
|
%config /etc/lvm/lvm.conf
|
|
|
|
%config /etc/init.d/boot.lvm
|
2008-07-25 02:21:45 +02:00
|
|
|
%dir /lib/mkinitrd
|
|
|
|
%dir /lib/mkinitrd/scripts
|
2013-02-23 08:33:01 +01:00
|
|
|
%{_udevdir}/rules.d/11-dm-lvm.rules
|
|
|
|
%{_udevdir}/collect_lvm
|
2008-07-25 02:21:45 +02:00
|
|
|
/lib/mkinitrd/scripts/setup-lvm2.sh
|
|
|
|
/lib/mkinitrd/scripts/boot-lvm2.sh
|
2006-12-18 14:01:39 +01:00
|
|
|
/var/adm/fillup-templates/sysconfig.lvm
|
2012-10-23 19:40:13 +02:00
|
|
|
/sbin/blkdeactivate
|
2008-02-01 22:54:25 +01:00
|
|
|
/sbin/fsadm
|
2006-12-18 14:01:39 +01:00
|
|
|
/sbin/lvchange
|
|
|
|
/sbin/lvconvert
|
|
|
|
/sbin/lvcreate
|
|
|
|
/sbin/lvdisplay
|
|
|
|
/sbin/lvextend
|
|
|
|
/sbin/lvm
|
|
|
|
/sbin/lvmchange
|
|
|
|
/sbin/lvmdiskscan
|
|
|
|
/sbin/lvmdump
|
|
|
|
/sbin/lvmsadc
|
|
|
|
/sbin/lvmsar
|
|
|
|
/sbin/lvreduce
|
|
|
|
/sbin/lvremove
|
|
|
|
/sbin/lvrename
|
|
|
|
/sbin/lvresize
|
|
|
|
/sbin/lvs
|
|
|
|
/sbin/lvscan
|
|
|
|
/sbin/pvchange
|
2007-05-07 14:40:26 +02:00
|
|
|
/sbin/pvck
|
2006-12-18 14:01:39 +01:00
|
|
|
/sbin/pvcreate
|
|
|
|
/sbin/pvdisplay
|
|
|
|
/sbin/pvmove
|
|
|
|
/sbin/pvremove
|
|
|
|
/sbin/pvresize
|
|
|
|
/sbin/pvs
|
|
|
|
/sbin/pvscan
|
|
|
|
/sbin/vgcfgbackup
|
|
|
|
/sbin/vgcfgrestore
|
|
|
|
/sbin/vgchange
|
|
|
|
/sbin/vgck
|
|
|
|
/sbin/vgconvert
|
|
|
|
/sbin/vgcreate
|
|
|
|
/sbin/vgdisplay
|
|
|
|
/sbin/vgexport
|
|
|
|
/sbin/vgextend
|
|
|
|
/sbin/vgimport
|
2012-10-18 10:15:42 +02:00
|
|
|
/sbin/vgimportclone
|
2006-12-18 14:01:39 +01:00
|
|
|
/sbin/vgmerge
|
|
|
|
/sbin/vgmknodes
|
|
|
|
/sbin/vgreduce
|
|
|
|
/sbin/vgremove
|
|
|
|
/sbin/vgrename
|
|
|
|
/sbin/vgs
|
|
|
|
/sbin/vgscan
|
|
|
|
/sbin/vgsplit
|
2012-10-18 10:15:42 +02:00
|
|
|
/sbin/lvmconf
|
|
|
|
%dir /%_lib/device-mapper
|
|
|
|
/%_lib/device-mapper/libdevmapper-event-lvm2mirror.so
|
|
|
|
/%_lib/device-mapper/libdevmapper-event-lvm2snapshot.so
|
2012-10-23 19:40:13 +02:00
|
|
|
/%_lib/device-mapper/libdevmapper-event-lvm2raid.so
|
2008-09-13 05:05:30 +02:00
|
|
|
/%_lib/libdevmapper-event-lvm2mirror.so
|
|
|
|
/%_lib/libdevmapper-event-lvm2snapshot.so
|
2012-10-23 19:40:13 +02:00
|
|
|
/%_lib/libdevmapper-event-lvm2raid.so
|
2008-09-13 05:05:30 +02:00
|
|
|
/%_lib/liblvm2cmd.so
|
2008-02-15 01:32:50 +01:00
|
|
|
/%_lib/libdevmapper-event-lvm2mirror.so.2.02
|
|
|
|
/%_lib/libdevmapper-event-lvm2snapshot.so.2.02
|
2012-10-23 19:40:13 +02:00
|
|
|
/%_lib/libdevmapper-event-lvm2raid.so.2.02
|
2008-02-15 01:32:50 +01:00
|
|
|
/%_lib/liblvm2cmd.so.2.02
|
2012-10-18 10:15:42 +02:00
|
|
|
/%_lib/libdevmapper-event-lvm2.so
|
|
|
|
/%_lib/libdevmapper-event-lvm2.so.2.02
|
2006-12-18 14:01:39 +01:00
|
|
|
%{_mandir}/man5/lvm.conf.5.gz
|
2012-10-23 19:40:13 +02:00
|
|
|
%{_mandir}/man8/blkdeactivate.8.gz
|
|
|
|
%{_mandir}/man8/fsadm.8.gz
|
2006-12-18 14:01:39 +01:00
|
|
|
%{_mandir}/man8/lvchange.8.gz
|
|
|
|
%{_mandir}/man8/lvcreate.8.gz
|
|
|
|
%{_mandir}/man8/lvconvert.8.gz
|
|
|
|
%{_mandir}/man8/lvdisplay.8.gz
|
|
|
|
%{_mandir}/man8/lvmdump.8.gz
|
|
|
|
%{_mandir}/man8/lvextend.8.gz
|
|
|
|
%{_mandir}/man8/lvm.8.gz
|
|
|
|
%{_mandir}/man8/lvmchange.8.gz
|
|
|
|
%{_mandir}/man8/lvmdiskscan.8.gz
|
|
|
|
%{_mandir}/man8/lvreduce.8.gz
|
|
|
|
%{_mandir}/man8/lvremove.8.gz
|
|
|
|
%{_mandir}/man8/lvrename.8.gz
|
|
|
|
%{_mandir}/man8/lvresize.8.gz
|
|
|
|
%{_mandir}/man8/lvs.8.gz
|
|
|
|
%{_mandir}/man8/lvscan.8.gz
|
|
|
|
%{_mandir}/man8/pvchange.8.gz
|
2007-05-07 14:40:26 +02:00
|
|
|
%{_mandir}/man8/pvck.8.gz
|
2006-12-18 14:01:39 +01:00
|
|
|
%{_mandir}/man8/pvcreate.8.gz
|
|
|
|
%{_mandir}/man8/pvdisplay.8.gz
|
|
|
|
%{_mandir}/man8/pvmove.8.gz
|
|
|
|
%{_mandir}/man8/pvremove.8.gz
|
|
|
|
%{_mandir}/man8/pvresize.8.gz
|
|
|
|
%{_mandir}/man8/pvs.8.gz
|
|
|
|
%{_mandir}/man8/pvscan.8.gz
|
|
|
|
%{_mandir}/man8/vgcfgbackup.8.gz
|
|
|
|
%{_mandir}/man8/vgcfgrestore.8.gz
|
|
|
|
%{_mandir}/man8/vgchange.8.gz
|
|
|
|
%{_mandir}/man8/vgck.8.gz
|
|
|
|
%{_mandir}/man8/vgconvert.8.gz
|
|
|
|
%{_mandir}/man8/vgcreate.8.gz
|
|
|
|
%{_mandir}/man8/vgdisplay.8.gz
|
|
|
|
%{_mandir}/man8/vgexport.8.gz
|
|
|
|
%{_mandir}/man8/vgextend.8.gz
|
|
|
|
%{_mandir}/man8/vgimport.8.gz
|
2012-10-18 10:15:42 +02:00
|
|
|
%{_mandir}/man8/vgimportclone.8.gz
|
2006-12-18 14:01:39 +01:00
|
|
|
%{_mandir}/man8/vgmerge.8.gz
|
|
|
|
%{_mandir}/man8/vgmknodes.8.gz
|
|
|
|
%{_mandir}/man8/vgreduce.8.gz
|
|
|
|
%{_mandir}/man8/vgremove.8.gz
|
|
|
|
%{_mandir}/man8/vgrename.8.gz
|
|
|
|
%{_mandir}/man8/vgs.8.gz
|
|
|
|
%{_mandir}/man8/vgscan.8.gz
|
|
|
|
%{_mandir}/man8/vgsplit.8.gz
|
2012-10-18 10:15:42 +02:00
|
|
|
%{_mandir}/man8/lvmconf.8.gz
|
|
|
|
%{_mandir}/man8/lvmsadc.8.gz
|
|
|
|
%{_mandir}/man8/lvmsar.8.gz
|
2006-12-18 14:01:39 +01:00
|
|
|
|
2012-10-23 19:40:13 +02:00
|
|
|
%package -n device-mapper
|
|
|
|
# bug437293
|
|
|
|
%ifarch ppc64
|
|
|
|
Obsoletes: device-mapper-64bit
|
|
|
|
%endif
|
|
|
|
#
|
|
|
|
Version: 1.02.77
|
|
|
|
Release: 0
|
|
|
|
Url: ftp://sources.redhat.com/pub/lvm2/
|
|
|
|
Summary: Device Mapper Tools
|
|
|
|
Group: System/Base
|
|
|
|
|
|
|
|
%description -n device-mapper
|
|
|
|
Programs, libraries, and man pages for configuring and using the device
|
|
|
|
mapper.
|
|
|
|
|
|
|
|
%post -n device-mapper
|
|
|
|
%{run_ldconfig}
|
|
|
|
[ -x /sbin/mkinitrd_setup ] && mkinitrd_setup
|
|
|
|
%{insserv_cleanup}
|
|
|
|
|
|
|
|
%postun -n device-mapper
|
|
|
|
%{run_ldconfig}
|
|
|
|
[ -x /sbin/mkinitrd_setup ] && mkinitrd_setup
|
|
|
|
%{insserv_cleanup}
|
|
|
|
|
|
|
|
%files -n device-mapper
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc COPYING COPYING.LIB README VERSION_DM WHATS_NEW_DM
|
|
|
|
%config /etc/init.d/boot.device-mapper
|
|
|
|
/%_lib/libdevmapper.so.1.02
|
|
|
|
/%_lib/libdevmapper-event.so.1.02
|
2013-02-23 08:33:01 +01:00
|
|
|
%{_udevdir}/rules.d/10-dm.rules
|
|
|
|
#%{_udevdir}/rules.d/12-dm-permissions.rules
|
|
|
|
%{_udevdir}/rules.d/13-dm-disk.rules
|
|
|
|
%{_udevdir}/rules.d/95-dm-notify.rules
|
2012-10-23 19:40:13 +02:00
|
|
|
/sbin/dmsetup
|
|
|
|
/sbin/dmeventd
|
|
|
|
%{_mandir}/man8/dmsetup.8.gz
|
|
|
|
%{_mandir}/man8/dmeventd.8.gz
|
|
|
|
%dir /lib/mkinitrd
|
|
|
|
%dir /lib/mkinitrd/scripts
|
|
|
|
/lib/mkinitrd/scripts/setup-dm.sh
|
|
|
|
/lib/mkinitrd/scripts/boot-dm.sh
|
|
|
|
|
|
|
|
%package -n device-mapper-devel
|
|
|
|
Version: 1.02.77
|
|
|
|
Release: 0
|
|
|
|
Summary: Development package for the device mapper
|
|
|
|
Group: System/Base
|
|
|
|
Requires: device-mapper = 1.02.77
|
|
|
|
|
|
|
|
%description -n device-mapper-devel
|
|
|
|
Files needed for software development using the device mapper
|
|
|
|
|
|
|
|
%files -n device-mapper-devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
/%_libdir/libdevmapper.so
|
|
|
|
/%_libdir/libdevmapper-event.so
|
|
|
|
/%_libdir/pkgconfig/*.pc
|
|
|
|
/usr/include/libdevmapper.h
|
|
|
|
/usr/include/libdevmapper-event.h
|
|
|
|
|
|
|
|
%package clvm
|
|
|
|
Url: http://sources.redhat.com/cluster/clvm/
|
|
|
|
Version: 2.02.98
|
|
|
|
Release: 0
|
|
|
|
Requires: device-mapper >= 1.02.25
|
|
|
|
Requires: lvm2 = %{version}
|
|
|
|
Requires: openais
|
|
|
|
Provides: clvm
|
|
|
|
Summary: Clustered LVM2
|
|
|
|
Group: System/Base
|
|
|
|
|
|
|
|
%description clvm
|
|
|
|
A daemon for using LVM2 Logival Volumes in a clustered environment.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files clvm
|
|
|
|
%defattr(-,root,root)
|
|
|
|
/usr/sbin/clvmd
|
|
|
|
%dir /usr/lib/ocf
|
|
|
|
%dir /usr/lib/ocf/resource.d
|
|
|
|
%dir /usr/lib/ocf/resource.d/lvm2
|
|
|
|
/usr/lib/ocf/resource.d/lvm2/clvmd
|
|
|
|
%{_mandir}/man8/clvmd.8.gz
|
|
|
|
|
2007-02-25 23:31:28 +01:00
|
|
|
%changelog
|