Skip to contentSkip to conversation

lvm-cvs.spec

linux-lvm Luca Berra 1 participant 1 message Sep 11, 2001

lore
Share & tools
lore

Luca Berra

author
#0 lore raw

%define name lvm
%define version 1.0.1
%define release 1CVS
Name: %{name}
Version: %{version}
Release: %{release}
Summary: Heinz Mauelshagen's LVM (Logical Volume Manager) for Linux
Group: System Environment/Base
Copyright: GPL
Source0: lvm-cvs.tar.bz2
BuildRoot: /tmp/%{name}-%{version}-root
Packager: Luca Berra <[email protected]>
%description
It includes all of the support for handling read/write operations on physical volumes (hard disks, RAID-Systems, magneto optical, etc. and even multiple devices (MD), see mdadd(8) etc.), creating volume groups from one or more physical volumes and creating one or more logical volumes in volume groups.

#:r!date "+\%a \%b \%d \%Y"
%changelog

%prep
%setup -q -n LVM
%define _exec_prefix %{nil}
%configure --with-user=id -un --with-group=id -gn

%build

%install
rm -Rf $RPM_BUILD_ROOT
%makeinstall
ln -snf /lib/liblvm-10.so.CVS.CVS $RPM_BUILD_ROOT/usr/lib/liblvm-10.so ln -snf liblvm-10.so $RPM_BUILD_ROOT/usr/lib/liblvm.so
ln -snf liblvm-10.a $RPM_BUILD_ROOT/usr/lib/liblvm.a

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%clean
rm -Rf $RPM_BUILD_ROOT

%files
%defattr(-, root, root, 755)
%doc ABSTRACT CHANGELOG CONTRIBUTORS FAQ
%doc INSTALL KNOWN_BUGS LVM-HOWTO README TODO WHATSNEW %doc PATCHES
/%{_libdir}/liblvm-10.so.CVS.CVS /%{_sbindir}/e2fsadm
/%{_sbindir}/lv*
/%{_sbindir}/pv*
/%{_sbindir}/vg*
/usr/lib/liblvm*.a
/usr/lib/liblvm*.so /%{_mandir}/man8/e2fsadm.8* /%{_mandir}/man8/lv*.8* /%{_mandir}/man8/pv*.8* /%{_mandir}/man8/vg*.8*

Signature · 6 lines
Luca Berra -- [email protected]
        Communication Media & Services S.r.l.
 /"\
 \ /     ASCII RIBBON CAMPAIGN
  X        AGAINST HTML MAIL
 / \