automatic version update by autodist [release 2.02.104-1mamba;Sun Dec 01 2013]
This commit is contained in:
parent
791c177177
commit
a09a752308
@ -1,2 +1,5 @@
|
|||||||
# lvm2
|
# lvm2
|
||||||
|
|
||||||
|
LVM2 refers to a new userspace toolset that provides logical volume management facilities on Linux.
|
||||||
|
It is reasonably backwards-compatible with the original LVM toolset.
|
||||||
|
|
||||||
|
11
lvm2-2.02.98-link-as-needed.patch
Normal file
11
lvm2-2.02.98-link-as-needed.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- LVM2.2.02.98/liblvm/Makefile.in.orig 2013-06-12 17:11:18.933970163 +0200
|
||||||
|
+++ LVM2.2.02.98/liblvm/Makefile.in 2013-06-12 17:11:26.825216264 +0200
|
||||||
|
@@ -41,7 +41,7 @@
|
||||||
|
|
||||||
|
include $(top_builddir)/make.tmpl
|
||||||
|
|
||||||
|
-LIBS += $(LVMINTERNAL_LIBS) -ldevmapper
|
||||||
|
+LIBS += $(LVMINTERNAL_LIBS) -ldevmapper -lm
|
||||||
|
|
||||||
|
ifeq ("@DMEVENTD@", "yes")
|
||||||
|
LIBS += -ldevmapper-event
|
315
lvm2.spec
Normal file
315
lvm2.spec
Normal file
@ -0,0 +1,315 @@
|
|||||||
|
Name: lvm2
|
||||||
|
Version: 2.02.104
|
||||||
|
Release: 1mamba
|
||||||
|
Summary: A userspace toolset that provides logical volume management facilities on Linux
|
||||||
|
Group: System/Tools
|
||||||
|
Vendor: openmamba
|
||||||
|
Distribution: openmamba
|
||||||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
|
URL: http://sources.redhat.com/lvm2/
|
||||||
|
Source: ftp://sources.redhat.com/pub/lvm2/LVM2.%{version}.tgz
|
||||||
|
Patch0: lvm2-2.02.98-link-as-needed.patch
|
||||||
|
License: GPL
|
||||||
|
## AUTOBUILDREQ-BEGIN
|
||||||
|
BuildRequires: glibc-devel
|
||||||
|
BuildRequires: libpcre-devel
|
||||||
|
BuildRequires: libreadline-devel
|
||||||
|
BuildRequires: libselinux-devel
|
||||||
|
## AUTOBUILDREQ-END
|
||||||
|
Provides: device-mapper
|
||||||
|
Obsoletes: device-mapper
|
||||||
|
BuildRequires: libpcre-devel
|
||||||
|
Requires: libdevmapper = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
|
|
||||||
|
%description
|
||||||
|
LVM2 refers to a new userspace toolset that provides logical volume management facilities on Linux.
|
||||||
|
It is reasonably backwards-compatible with the original LVM toolset.
|
||||||
|
|
||||||
|
%package -n libdevmapper
|
||||||
|
Summary: Device mapper library
|
||||||
|
Group: System/Libraries
|
||||||
|
|
||||||
|
%description -n libdevmapper
|
||||||
|
LVM2 refers to a new userspace toolset that provides logical volume management facilities on Linux.
|
||||||
|
It is reasonably backwards-compatible with the original LVM toolset.
|
||||||
|
|
||||||
|
This package contains the device mapper shared library.
|
||||||
|
|
||||||
|
%package -n libdevmapper-devel
|
||||||
|
Summary: Devel package for device-mapper
|
||||||
|
Group: Development/Libraries
|
||||||
|
Requires: libdevmapper = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
|
|
||||||
|
%description -n libdevmapper-devel
|
||||||
|
LVM2 refers to a new userspace toolset that provides logical volume management facilities on Linux.
|
||||||
|
It is reasonably backwards-compatible with the original LVM toolset.
|
||||||
|
|
||||||
|
This package contains files needed to develop applications that use the device-mapper libraries.
|
||||||
|
|
||||||
|
%package -n lib%{name}
|
||||||
|
Summary: Device mapper library
|
||||||
|
Group: System/Libraries
|
||||||
|
|
||||||
|
%description -n lib%{name}
|
||||||
|
LVM2 refers to a new userspace toolset that provides logical volume management facilities on Linux.
|
||||||
|
It is reasonably backwards-compatible with the original LVM toolset.
|
||||||
|
|
||||||
|
This package contains files needed to develop applications that use the %{name} libraries.
|
||||||
|
|
||||||
|
%package -n lib%{name}-devel
|
||||||
|
Summary: Devel package for %{name}
|
||||||
|
Group: Development/Libraries
|
||||||
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
|
|
||||||
|
%description -n lib%{name}-devel
|
||||||
|
LVM2 refers to a new userspace toolset that provides logical volume management facilities on Linux.
|
||||||
|
It is reasonably backwards-compatible with the original LVM toolset.
|
||||||
|
|
||||||
|
This package contains files needed to develop applications that use the %{name} libraries.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n LVM2.%{version}
|
||||||
|
%patch0 -p1
|
||||||
|
|
||||||
|
%build
|
||||||
|
%configure \
|
||||||
|
--with-usrlibdir=%{_libdir} \
|
||||||
|
--enable-applib \
|
||||||
|
--enable-cmdlib \
|
||||||
|
--enable-static_link \
|
||||||
|
--enable-pkgconfig \
|
||||||
|
--enable-lvm1_fallback \
|
||||||
|
%if "%{_host}" != "%{_build}"
|
||||||
|
ac_cv_func_malloc_0_nonnull=yes
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%make SELINUX_LIBS="`pkg-config --libs libselinux`"
|
||||||
|
|
||||||
|
#% configure --enable-fsadm --with-clvmd=cman,openais,corosync --with-cluster=internal --with-pool=internal --with-user= --with-group= --with-usrlibdir=/usr/%{_lib} --with-usrsbindir=/usr/sbin --with-udevdir=%{_udevdir} --with-device-uid=0 --with-device-gid=6 --with-device-mode=0660 --enable-dmeventd --enable-udev_sync
|
||||||
|
|
||||||
|
%install
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
%makeinstall
|
||||||
|
|
||||||
|
cd libdm
|
||||||
|
%makeinstall INSTALL_TYPE="install_pkgconfig install_static"
|
||||||
|
|
||||||
|
%clean
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
|
%post -n libdevmapper -p /sbin/ldconfig
|
||||||
|
%postun -n libdevmapper -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%dir %{_sysconfdir}/lvm
|
||||||
|
%config(noreplace) %{_sysconfdir}/lvm/lvm.conf
|
||||||
|
%dir %{_sysconfdir}/lvm/profile
|
||||||
|
%{_sysconfdir}/lvm/profile/default.profile
|
||||||
|
%{_sysconfdir}/lvm/profile/thin-performance.profile
|
||||||
|
%{_sbindir}/blkdeactivate
|
||||||
|
#%{_sbindir}/devtypes
|
||||||
|
%{_sbindir}/dmsetup
|
||||||
|
%{_sbindir}/dmsetup.static
|
||||||
|
%{_sbindir}/fsadm
|
||||||
|
%{_sbindir}/lvchange
|
||||||
|
%{_sbindir}/lvconvert
|
||||||
|
%{_sbindir}/lvcreate
|
||||||
|
%{_sbindir}/lvdisplay
|
||||||
|
%{_sbindir}/lvextend
|
||||||
|
%{_sbindir}/lvm
|
||||||
|
%{_sbindir}/lvm.static
|
||||||
|
%{_sbindir}/lvmchange
|
||||||
|
%{_sbindir}/lvmconf
|
||||||
|
%{_sbindir}/lvmdiskscan
|
||||||
|
%{_sbindir}/lvmdump
|
||||||
|
%{_sbindir}/lvmsadc
|
||||||
|
%{_sbindir}/lvmsar
|
||||||
|
%{_sbindir}/lvreduce
|
||||||
|
%{_sbindir}/lvremove
|
||||||
|
%{_sbindir}/lvrename
|
||||||
|
%{_sbindir}/lvresize
|
||||||
|
%{_sbindir}/lvs
|
||||||
|
%{_sbindir}/lvscan
|
||||||
|
%{_sbindir}/pvchange
|
||||||
|
%{_sbindir}/pvck
|
||||||
|
%{_sbindir}/pvcreate
|
||||||
|
%{_sbindir}/pvdisplay
|
||||||
|
%{_sbindir}/pvmove
|
||||||
|
%{_sbindir}/pvremove
|
||||||
|
%{_sbindir}/pvresize
|
||||||
|
%{_sbindir}/pvs
|
||||||
|
%{_sbindir}/pvscan
|
||||||
|
%{_sbindir}/vgcfgbackup
|
||||||
|
%{_sbindir}/vgcfgrestore
|
||||||
|
%{_sbindir}/vgchange
|
||||||
|
%{_sbindir}/vgck
|
||||||
|
%{_sbindir}/vgconvert
|
||||||
|
%{_sbindir}/vgcreate
|
||||||
|
%{_sbindir}/vgdisplay
|
||||||
|
%{_sbindir}/vgexport
|
||||||
|
%{_sbindir}/vgextend
|
||||||
|
%{_sbindir}/vgimport
|
||||||
|
%{_sbindir}/vgimportclone
|
||||||
|
%{_sbindir}/vgmerge
|
||||||
|
%{_sbindir}/vgmknodes
|
||||||
|
%{_sbindir}/vgreduce
|
||||||
|
%{_sbindir}/vgremove
|
||||||
|
%{_sbindir}/vgrename
|
||||||
|
%{_sbindir}/vgs
|
||||||
|
%{_sbindir}/vgscan
|
||||||
|
%{_sbindir}/vgsplit
|
||||||
|
%{_mandir}/man5/lvm.conf.5.*
|
||||||
|
%{_mandir}/man8/blkdeactivate.8.gz
|
||||||
|
%{_mandir}/man8/dmsetup.8.*
|
||||||
|
%{_mandir}/man8/fsadm.8.*
|
||||||
|
%{_mandir}/man8/lvchange.8.*
|
||||||
|
%{_mandir}/man8/lvconvert.8.*
|
||||||
|
%{_mandir}/man8/lvcreate.8.*
|
||||||
|
%{_mandir}/man8/lvdisplay.8.*
|
||||||
|
%{_mandir}/man8/lvextend.8.*
|
||||||
|
%{_mandir}/man8/lvm.8.*
|
||||||
|
%{_mandir}/man8/lvmchange.8.*
|
||||||
|
%{_mandir}/man8/lvmconf.8.*
|
||||||
|
%{_mandir}/man8/lvmdiskscan.8.*
|
||||||
|
%{_mandir}/man8/lvmdump.8.*
|
||||||
|
%{_mandir}/man8/lvmsadc.8.*
|
||||||
|
%{_mandir}/man8/lvmsar.8.*
|
||||||
|
%{_mandir}/man8/lvreduce.8.*
|
||||||
|
%{_mandir}/man8/lvremove.8.*
|
||||||
|
%{_mandir}/man8/lvrename.8.*
|
||||||
|
%{_mandir}/man8/lvresize.8.*
|
||||||
|
%{_mandir}/man8/lvs.8.*
|
||||||
|
%{_mandir}/man8/lvscan.8.*
|
||||||
|
%{_mandir}/man8/pvchange.8.*
|
||||||
|
%{_mandir}/man8/pvck.8.*
|
||||||
|
%{_mandir}/man8/pvcreate.8.*
|
||||||
|
%{_mandir}/man8/pvdisplay.8.*
|
||||||
|
%{_mandir}/man8/pvmove.8.*
|
||||||
|
%{_mandir}/man8/pvremove.8.*
|
||||||
|
%{_mandir}/man8/pvresize.8.*
|
||||||
|
%{_mandir}/man8/pvs.8.*
|
||||||
|
%{_mandir}/man8/pvscan.8.*
|
||||||
|
%{_mandir}/man8/vgcfgbackup.8.*
|
||||||
|
%{_mandir}/man8/vgcfgrestore.8.*
|
||||||
|
%{_mandir}/man8/vgchange.8.*
|
||||||
|
%{_mandir}/man8/vgck.8.*
|
||||||
|
%{_mandir}/man8/vgconvert.8.*
|
||||||
|
%{_mandir}/man8/vgcreate.8.*
|
||||||
|
%{_mandir}/man8/vgdisplay.8.*
|
||||||
|
%{_mandir}/man8/vgexport.8.*
|
||||||
|
%{_mandir}/man8/vgextend.8.*
|
||||||
|
%{_mandir}/man8/vgimport.8.*
|
||||||
|
%{_mandir}/man8/vgimportclone.8.*
|
||||||
|
%{_mandir}/man8/vgmerge.8.*
|
||||||
|
%{_mandir}/man8/vgmknodes.8.*
|
||||||
|
%{_mandir}/man8/vgreduce.8.*
|
||||||
|
%{_mandir}/man8/vgremove.8.*
|
||||||
|
%{_mandir}/man8/vgrename.8.*
|
||||||
|
%{_mandir}/man8/vgs.8.*
|
||||||
|
%{_mandir}/man8/vgscan.8.*
|
||||||
|
%{_mandir}/man8/vgsplit.8.*
|
||||||
|
%doc COPYING COPYING.LIB
|
||||||
|
|
||||||
|
%files -n libdevmapper
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%dir %{_sysconfdir}/lvm
|
||||||
|
%{_libdir}/libdevmapper.so.*
|
||||||
|
|
||||||
|
%files -n libdevmapper-devel
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_includedir}/libdevmapper.h
|
||||||
|
%{_libdir}/libdevmapper.a*
|
||||||
|
%{_libdir}/libdevmapper.so
|
||||||
|
%{_libdir}/pkgconfig/devmapper.pc
|
||||||
|
|
||||||
|
%files -n lib%{name}
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_libdir}/liblvm2app.so.*
|
||||||
|
%{_libdir}/liblvm2cmd.so.*
|
||||||
|
|
||||||
|
%files -n lib%{name}-devel
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_includedir}/lvm2app.h
|
||||||
|
%{_includedir}/lvm2cmd.h
|
||||||
|
%{_libdir}/liblvm2app.a*
|
||||||
|
%{_libdir}/liblvm2app.so
|
||||||
|
%{_libdir}/liblvm2cmd.a*
|
||||||
|
%{_libdir}/liblvm2cmd.so
|
||||||
|
%{_libdir}/pkgconfig/lvm2app.pc
|
||||||
|
%doc README WHATS_NEW
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Sun Dec 01 2013 Automatic Build System <autodist@mambasoft.it> 2.02.104-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Thu Oct 10 2013 Automatic Build System <autodist@mambasoft.it> 2.02.103-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Tue Oct 01 2013 Automatic Build System <autodist@mambasoft.it> 2.02.102-1mamba
|
||||||
|
- automatic update by autodist
|
||||||
|
|
||||||
|
* Tue Aug 27 2013 Automatic Build System <autodist@mambasoft.it> 2.02.100-1mamba
|
||||||
|
- automatic update by autodist
|
||||||
|
|
||||||
|
* Wed Jun 19 2013 Automatic Build System <autodist@mambasoft.it> 2.02.98-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Sat Aug 11 2012 Automatic Build System <autodist@mambasoft.it> 2.02.97-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Sun Oct 02 2011 Automatic Build System <autodist@mambasoft.it> 2.02.88-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Mon Jul 25 2011 Automatic Build System <autodist@mambasoft.it> 2.02.86-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Mon May 16 2011 Automatic Build System <autodist@mambasoft.it> 2.02.85-1mamba
|
||||||
|
- automatic update by autodist
|
||||||
|
|
||||||
|
* Thu Feb 24 2011 Automatic Build System <autodist@mambasoft.it> 2.02.84-1mamba
|
||||||
|
- automatic update by autodist
|
||||||
|
|
||||||
|
* Wed Feb 02 2011 Automatic Build System <autodist@mambasoft.it> 2.02.82-1mamba
|
||||||
|
- automatic update by autodist
|
||||||
|
|
||||||
|
* Fri Jan 14 2011 Automatic Build System <autodist@mambasoft.it> 2.02.80-1mamba
|
||||||
|
- automatic update by autodist
|
||||||
|
|
||||||
|
* Fri Dec 24 2010 Automatic Build System <autodist@mambasoft.it> 2.02.79-1mamba
|
||||||
|
- automatic update by autodist
|
||||||
|
|
||||||
|
* Thu Dec 09 2010 Automatic Build System <autodist@mambasoft.it> 2.02.78-1mamba
|
||||||
|
- automatic update by autodist
|
||||||
|
|
||||||
|
* Tue Nov 23 2010 Automatic Build System <autodist@mambasoft.it> 2.02.77-1mamba
|
||||||
|
- automatic update by autodist
|
||||||
|
|
||||||
|
* Wed Nov 10 2010 Automatic Build System <autodist@mambasoft.it> 2.02.76-1mamba
|
||||||
|
- automatic update by autodist
|
||||||
|
|
||||||
|
* Sat Sep 25 2010 Davide Madrisan <davide.madrisan@gmail.com> 2.02.74-1mamba
|
||||||
|
- update to 2.02.74
|
||||||
|
|
||||||
|
* Sun Jun 27 2010 Automatic Build System <autodist@mambasoft.it> 2.02.68-1mamba
|
||||||
|
- automatic update by autodist
|
||||||
|
|
||||||
|
* Fri Mar 12 2010 Davide Madrisan <davide.madrisan@gmail.com> 2.02.62-1mamba
|
||||||
|
- update to 2.02.62
|
||||||
|
|
||||||
|
* Sat Jan 16 2010 Davide Madrisan <davide.madrisan@gmail.com> 2.02.58-1mamba
|
||||||
|
- update to 2.02.58
|
||||||
|
- prepend %%config(noreplace) to the configuration file %{_sysconfdir}/lvm/lvm.conf as
|
||||||
|
- move %{_sysconfdir}/lvm/lvm.conf to main package
|
||||||
|
- new subpackages liblvm2 and liblvm2-devel
|
||||||
|
|
||||||
|
* Fri Jan 15 2010 Davide Madrisan <davide.madrisan@gmail.com> 2.02.57-2mamba
|
||||||
|
- own %{_sysconfdir}/lvm directory
|
||||||
|
- build application and shared command libraries
|
||||||
|
- move manpages of the lvm tools from devel to main package
|
||||||
|
- install pkgconfig support
|
||||||
|
- add WHATS_NEW to the package documentation
|
||||||
|
|
||||||
|
* Wed Jan 13 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 2.57-1mamba
|
||||||
|
- package created by autospec
|
Loading…
Reference in New Issue
Block a user