cvsdist bf559c
Summary: Userland logical volume management tools 
cvsdist bf559c
Name: lvm2
Alasdair Kergon 30d52b
Version: 2.00.24
Alasdair Kergon 03a1c3
Release: 1
cvsdist bf559c
License: GPL
cvsdist bf559c
Group: System Environment/Base
cvsdist 902334
URL: http://sources.redhat.com/lvm2
cvsdist bf559c
Source0: LVM2.%{version}.tgz
cvsdist bf559c
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
cvsdist 902334
BuildRequires: device-mapper
cvsdist 902334
BuildRequires: libselinux-devel
Alasdair Kergon 30d52b
BuildRequires: libtermcap-devel
Alasdair Kergon 30d52b
BuildRequires: ncurses-devel
Alasdair Kergon 30d52b
BuildRequires: readline-devel
cvsdist 902334
Conflicts: lvm < 1.0.3-19
cvsdist 902334
cvsdist 902334
%define _exec_prefix /usr
cvsdist bf559c
cvsdist bf559c
%description
cvsdist 0a8255
LVM2 includes all of the support for handling read/write operations on
cvsdist 0a8255
physical volumes (hard disks, RAID-Systems, magneto optical, etc.,
cvsdist 0a8255
multiple devices (MD), see mdadd(8) or even loop devices, see
cvsdist 0a8255
losetup(8)), creating volume groups (kind of virtual disks) from one
cvsdist 0a8255
or more physical volumes and creating one or more logical volumes
cvsdist 0a8255
(kind of logical partitions) in volume groups.
cvsdist bf559c
cvsdist bf559c
%prep
cvsdist bf559c
%setup -q -n LVM2.%{version}
cvsdist bf559c
cvsdist bf559c
%build
cvsdist 902334
%configure --enable-static_link --enable-readline --enable-lvm1_fallback --with-staticdir=/sbin --with-user= --with-group=
cvsdist 902334
make DESTDIR=$RPM_BUILD_ROOT
cvsdist bf559c
cvsdist bf559c
%install
cvsdist bf559c
rm -rf $RPM_BUILD_ROOT
cvsdist 902334
make install DESTDIR=$RPM_BUILD_ROOT
cvsdist bf559c
cvsdist 902334
# Temporary links until initscripts get updated to use lvm.static
cvsdist 902334
ln -s lvm.static $RPM_BUILD_ROOT/sbin/lvm
cvsdist 902334
ln -s lvm.static $RPM_BUILD_ROOT/sbin/pvscan
cvsdist 902334
ln -s lvm.static $RPM_BUILD_ROOT/sbin/vgchange
cvsdist 902334
ln -s lvm.static $RPM_BUILD_ROOT/sbin/vgscan
cvsdist bf559c
cvsdist bf559c
%clean
cvsdist bf559c
rm -rf $RPM_BUILD_ROOT
cvsdist bf559c
cvsdist bf559c
%files
cvsdist bf559c
%defattr(-,root,root,-)
cvsdist 902334
%doc COPYING COPYING.LIB INSTALL README VERSION WHATS_NEW
cvsdist bf559c
/sbin/lvm.static
cvsdist 902334
/sbin/lvm
cvsdist 902334
/sbin/pvscan
cvsdist 902334
/sbin/vgchange
cvsdist 902334
/sbin/vgscan
cvsdist 902334
/usr/sbin/lvm
cvsdist 902334
/usr/sbin/*
cvsdist bf559c
%{_mandir}/*/*
cvsdist 902334
%config(noreplace) /etc/lvm/lvm.conf
cvsdist bf559c
cvsdist bf559c
%changelog
Alasdair Kergon 30d52b
* Thu Sep 16 2004 Alasdair Kergon <agk@redhat.com> - 2.00.24-1
Alasdair Kergon 30d52b
- More upstream fixes.  (Always check WHATS_NEW file for details.)
Alasdair Kergon 30d52b
- Add requested BuildRequires. [bz 124916, 132408]
Alasdair Kergon 30d52b
Alasdair Kergon 30d52b
* Wed Sep 15 2004 Alasdair Kergon <agk@redhat.com> - 2.00.23-1
Alasdair Kergon 923acc
- Various minor upstream fixes.
Alasdair Kergon 923acc
Alasdair Kergon 03a1c3
* Thu Sep  3 2004 Alasdair Kergon <agk@redhat.com> - 2.00.22-1
Alasdair Kergon 03a1c3
- Permission fix included upstream; use different endian conversion macros.
Alasdair Kergon 03a1c3
cvsdist b7ce32
* Thu Sep  2 2004 Jeremy Katz <katzj@redhat.com> - 2.00.21-2
cvsdist b7ce32
- fix permissions on vg dirs
cvsdist b7ce32
cvsdist 7264d0
* Thu Aug 19 2004 Alasdair Kergon <agk@redhat.com> - 2.00.21-1
cvsdist 7264d0
- New upstream release incorporating fixes plus minor enhancements.
cvsdist 7264d0
cvsdist fd770d
* Tue Aug 17 2004 Jeremy Katz <katzj@redhat.com> - 2.00.20-2
cvsdist fd770d
- add patch for iSeries viodasd support
cvsdist fd770d
- add patch to check file type using stat(2) if d_type == DT_UNKNOWN (#129674)
cvsdist fd770d
cvsdist fb0965
* Sat Jul 3 2004 Alasdair Kergon <agk@redhat.com> - 2.00.20-1
cvsdist fb0965
- New upstream release fixes 2.6 kernel device numbers.
cvsdist fb0965
cvsdist 5ec8e7
* Tue Jun 29 2004 Alasdair Kergon <agk@redhat.com> - 2.00.19-1
cvsdist 5ec8e7
- Latest upstream release.  Lots of changes (see WHATS_NEW).
cvsdist 5ec8e7
cvsdist 5ec8e7
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com> - 2.00.15-5
cvsdist 93f2e4
- rebuilt
cvsdist 93f2e4
cvsdist 0a8255
* Wed May 26 2004 Alasdair Kergon <agk@redhat.com> - 2.00.15-4
cvsdist 0a8255
- clone %description from LVM rpm
cvsdist 0a8255
cvsdist 715f5b
* Wed May 26 2004 Alasdair Kergon <agk@redhat.com> - 2.00.15-3
cvsdist 715f5b
- vgscan shouldn't return error status when no VGs present
cvsdist 715f5b
cvsdist 902334
* Thu May 06 2004 Warren Togami <wtogami@redhat.com> - 2.00.15-2
cvsdist 902334
- i2o patch from Markus Lidel
cvsdist 902334
cvsdist 902334
* Tue Apr 20 2004 Bill Nottingham <notting@redhat.com> - 2.00.15-1.1
cvsdist 902334
- handle disabled SELinux correctly, so that LVMs can be detected in a
cvsdist 902334
  non-SELinux context
cvsdist 902334
  
cvsdist 902334
* Mon Apr 19 2004 Alasdair Kergon <agk@redhat.com> - 2.00.15-1
cvsdist 902334
- Fix non-root build with current version of 'install'.
cvsdist 902334
cvsdist 902334
* Fri Apr 16 2004 Alasdair Kergon <agk@redhat.com> - 2.00.14-1
cvsdist 902334
- Use 64-bit file offsets.
cvsdist 902334
cvsdist 902334
* Fri Apr 16 2004 Alasdair Kergon <agk@redhat.com> - 2.00.13-1
cvsdist 902334
- Avoid scanning devices containing md superblocks.
cvsdist 902334
- Integrate ENOTSUP patch.
cvsdist 902334
cvsdist 902334
* Thu Apr 15 2004 Jeremy Katz <katzj@redhat.com> - 2.00.12-4
cvsdist 902334
- don't die if we get ENOTSUP setting selinux contexts
cvsdist 902334
cvsdist 902334
* Thu Apr 15 2004 Alasdair Kergon <agk@redhat.com> 2.00.12-3
cvsdist 902334
- Add temporary pvscan symlink for LVM1 until mkinitrd gets updated.
cvsdist 902334
cvsdist 902334
* Wed Apr 14 2004 Alasdair Kergon <agk@redhat.com> 2.00.12-2
cvsdist 902334
- Mark config file noreplace.
cvsdist 902334
cvsdist 902334
* Wed Apr 14 2004 Alasdair Kergon <agk@redhat.com> 2.00.12-1
cvsdist 902334
- Install default /etc/lvm/lvm.conf.
cvsdist 902334
- Move non-static binaries to /usr/sbin.
cvsdist 902334
- Add temporary links in /sbin to lvm.static until rc.sysinit gets updated.
cvsdist 902334
cvsdist 902334
* Thu Apr 08 2004 Alasdair Kergon <agk@redhat.com> 2.00.11-1
cvsdist 902334
- Fallback to using LVM1 tools when using a 2.4 kernel without device-mapper.
cvsdist 902334
cvsdist 902334
* Wed Apr 07 2004 Alasdair Kergon <agk@redhat.com> 2.00.10-2
cvsdist 902334
- Install the full toolset, not just 'lvm'.
cvsdist 902334
cvsdist 902334
* Wed Apr 07 2004 Alasdair Kergon <agk@redhat.com> 2.00.10-1
cvsdist 902334
- Update to version 2.00.10, which incorporates the RH-specific patches
cvsdist 902334
  and includes various fixes and enhancements detailed in WHATS_NEW.
cvsdist 902334
cvsdist 2b6cbe
* Wed Mar 17 2004 Jeremy Katz <katzj@redhat.com> 2.00.08-5
cvsdist 2b6cbe
- Fix sysfs patch to find sysfs
cvsdist 2b6cbe
- Take patch from dwalsh and tweak a little for setting SELinux contexts on
cvsdist 2b6cbe
  device node creation and also do it on the symlink creation.  
cvsdist 2b6cbe
  Part of this should probably be pushed down to device-mapper instead
cvsdist 2b6cbe
cvsdist 2b6cbe
* Thu Feb 19 2004 Stephen C. Tweedie <sct@redhat.com> 2.00.08-4
cvsdist 2b6cbe
- Add sysfs filter patch
cvsdist 2b6cbe
- Allow non-root users to build RPM
cvsdist 2b6cbe
cvsdist 2b6cbe
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
cvsdist 2b6cbe
- rebuilt
cvsdist 2b6cbe
cvsdist bf559c
* Fri Dec  5 2003 Jeremy Katz <katzj@redhat.com> 2.00.08-2
cvsdist bf559c
- add static lvm binary
cvsdist bf559c
cvsdist bf559c
* Tue Dec  2 2003 Jeremy Katz <katzj@redhat.com> 
cvsdist bf559c
- Initial build.
cvsdist bf559c
cvsdist bf559c