auto-import changelog data from lvm2-2.00.08-2.src.rpm
Fri Dec 05 2003 Jeremy Katz <katzj@redhat.com> 2.00.08-2 - add static lvm binary Tue Dec 02 2003 Jeremy Katz <katzj@redhat.com> - Initial build.
This commit is contained in:
parent
42c54cf032
commit
bf559cc741
@ -0,0 +1 @@
|
||||
LVM2.2.00.08.tgz
|
60
lvm2.spec
Normal file
60
lvm2.spec
Normal file
@ -0,0 +1,60 @@
|
||||
Summary: Userland logical volume management tools
|
||||
Name: lvm2
|
||||
Version: 2.00.08
|
||||
Release: 2
|
||||
License: GPL
|
||||
Group: System Environment/Base
|
||||
URL: http://www.sistina.com
|
||||
Source0: LVM2.%{version}.tgz
|
||||
Patch0: lvm2-blksize64.patch
|
||||
Patch1: lvm2-static.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
|
||||
BuildRequires: device-mapper
|
||||
|
||||
%description
|
||||
|
||||
%prep
|
||||
%setup -q -n LVM2.%{version}
|
||||
%patch0 -p1 -b .blksize64
|
||||
%patch1 -p1 -b .static
|
||||
|
||||
%build
|
||||
%configure --sbindir=/sbin --libdir=%{_lib}
|
||||
make
|
||||
mv tools/lvm tools/lvm.dyn
|
||||
|
||||
# now do a static build
|
||||
make clean
|
||||
%configure --sbindir=/sbin --libdir=%{_lib} --enable-static_link
|
||||
make
|
||||
(cd tools; make lvm.static)
|
||||
|
||||
mv tools/lvm.dyn tools/lvm
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
%makeinstall
|
||||
|
||||
mkdir -p $RPM_BUILD_ROOT/sbin
|
||||
mv $RPM_BUILD_ROOT/usr/sbin/lvm $RPM_BUILD_ROOT/sbin/lvm
|
||||
mv $RPM_BUILD_ROOT/usr/sbin/lvm.static $RPM_BUILD_ROOT/sbin/lvm.static
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc COPYING COPYING.LIB README VERSION WHATS_NEW
|
||||
/sbin/lvm
|
||||
/sbin/lvm.static
|
||||
%{_mandir}/*/*
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Dec 5 2003 Jeremy Katz <katzj@redhat.com> 2.00.08-2
|
||||
- add static lvm binary
|
||||
|
||||
* Tue Dec 2 2003 Jeremy Katz <katzj@redhat.com>
|
||||
- Initial build.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user