2024-01-06 06:33:02 +01:00
|
|
|
Name: lvm2
|
2024-01-06 06:33:03 +01:00
|
|
|
Version: 2.02.133
|
2024-01-06 06:33:03 +01:00
|
|
|
Release: 1mamba
|
2024-01-06 06:33:02 +01:00
|
|
|
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
|
2024-01-06 06:33:03 +01:00
|
|
|
Patch1: lvm2-2.02.114-udevadm_fix_path.patch
|
2024-01-06 06:33:02 +01:00
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
2024-01-06 06:33:02 +01:00
|
|
|
BuildRequires: libblkid-devel
|
2024-01-06 06:33:02 +01:00
|
|
|
BuildRequires: libpcre-devel
|
|
|
|
BuildRequires: libreadline-devel
|
|
|
|
BuildRequires: libselinux-devel
|
2024-01-06 06:33:02 +01:00
|
|
|
BuildRequires: libsepol-devel
|
2024-01-06 06:33:03 +01:00
|
|
|
BuildRequires: libtermcap-devel
|
2024-01-06 06:33:02 +01:00
|
|
|
BuildRequires: libudev-devel
|
|
|
|
BuildRequires: libuuid-devel
|
2024-01-06 06:33:02 +01:00
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
Provides: device-mapper
|
|
|
|
Obsoletes: device-mapper
|
|
|
|
Requires: libdevmapper = %{?epoch:%epoch:}%{version}-%{release}
|
2024-01-06 06:33:03 +01:00
|
|
|
%systemd_requires
|
2024-01-06 06:33:02 +01:00
|
|
|
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
|
2024-01-06 06:33:03 +01:00
|
|
|
%patch1 -p1
|
2024-01-06 06:33:02 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
%configure \
|
|
|
|
--with-usrlibdir=%{_libdir} \
|
|
|
|
--enable-applib \
|
|
|
|
--enable-cmdlib \
|
|
|
|
--enable-pkgconfig \
|
|
|
|
--enable-lvm1_fallback \
|
2024-01-06 06:33:02 +01:00
|
|
|
--enable-udev_sync \
|
|
|
|
--with-udevdir=/lib/udev/rules.d \
|
|
|
|
--enable-dmeventd \
|
|
|
|
--enable-lvmetad \
|
|
|
|
--with-systemdsystemunitdir=%{_unitdir} \
|
2024-01-06 06:33:03 +01:00
|
|
|
--with-default-dm-run-dir=/run \
|
|
|
|
--with-default-run-dir=/run/lvm \
|
2024-01-06 06:33:02 +01:00
|
|
|
%if "%{_host}" != "%{_build}"
|
|
|
|
ac_cv_func_malloc_0_nonnull=yes
|
|
|
|
%endif
|
2024-01-06 06:33:02 +01:00
|
|
|
|
2024-01-06 06:33:03 +01:00
|
|
|
%make \
|
|
|
|
SELINUX_LIBS="`pkg-config --libs libselinux`" \
|
|
|
|
READLINE_LIBS="-lreadline -ltermcap"
|
2024-01-06 06:33:02 +01:00
|
|
|
|
|
|
|
#% 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}"
|
2024-01-06 06:33:03 +01:00
|
|
|
%makeinstall \
|
|
|
|
install_systemd_generators \
|
|
|
|
install_systemd_units \
|
|
|
|
install_tmpfiles_configuration
|
2024-01-06 06:33:02 +01:00
|
|
|
|
2024-01-06 06:33:02 +01:00
|
|
|
#cd libdm
|
|
|
|
#% makeinstall INSTALL_TYPE="install_pkgconfig install_static"
|
2024-01-06 06:33:02 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
2024-01-06 06:33:03 +01:00
|
|
|
%post
|
|
|
|
%systemd_post lvm2-monitor
|
|
|
|
:
|
|
|
|
|
|
|
|
%preun
|
|
|
|
%systemd_preun_cups lvm2-monitor
|
|
|
|
:
|
|
|
|
|
|
|
|
%postun
|
|
|
|
%systemd_postun_with_restart lvm2-monitor
|
|
|
|
:
|
|
|
|
|
|
|
|
%post -n lib%{name} -p /sbin/ldconfig
|
|
|
|
%postun -n lib%{name} -p /sbin/ldconfig
|
|
|
|
|
2024-01-06 06:33:02 +01:00
|
|
|
%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
|
2024-01-06 06:33:03 +01:00
|
|
|
%config(noreplace) %{_sysconfdir}/lvm/lvmlocal.conf
|
2024-01-06 06:33:02 +01:00
|
|
|
%dir %{_sysconfdir}/lvm/profile
|
2024-01-06 06:33:03 +01:00
|
|
|
%{_sysconfdir}/lvm/profile/cache-mq.profile
|
|
|
|
%{_sysconfdir}/lvm/profile/cache-smq.profile
|
2024-01-06 06:33:02 +01:00
|
|
|
#%{_sysconfdir}/lvm/profile/default.profile
|
2024-01-06 06:33:02 +01:00
|
|
|
%{_sysconfdir}/lvm/profile/thin-performance.profile
|
2024-01-06 06:33:02 +01:00
|
|
|
%{_sysconfdir}/lvm/profile/command_profile_template.profile
|
|
|
|
%{_sysconfdir}/lvm/profile/metadata_profile_template.profile
|
|
|
|
%{_sysconfdir}/lvm/profile/thin-generic.profile
|
2024-01-06 06:33:03 +01:00
|
|
|
%{_sbindir}/*
|
2024-01-06 06:33:02 +01:00
|
|
|
/lib/udev/rules.d/10-dm.rules
|
|
|
|
/lib/udev/rules.d/11-dm-lvm.rules
|
|
|
|
/lib/udev/rules.d/13-dm-disk.rules
|
|
|
|
/lib/udev/rules.d/69-dm-lvm-metad.rules
|
|
|
|
/lib/udev/rules.d/95-dm-notify.rules
|
2024-01-06 06:33:03 +01:00
|
|
|
%{_tmpfilesdir}/lvm2.conf
|
|
|
|
%{_unitdir}/blk-availability.service
|
|
|
|
%{_unitdir}/dm-event.service
|
|
|
|
%{_unitdir}/dm-event.socket
|
|
|
|
%{_unitdir}/lvm2-lvmetad.service
|
|
|
|
%{_unitdir}/lvm2-lvmetad.socket
|
|
|
|
%{_unitdir}/lvm2-monitor.service
|
|
|
|
%{_unitdir}/lvm2-pvscan@.service
|
|
|
|
/lib/systemd/system-generators/lvm2-activation-generator
|
2024-01-06 06:33:02 +01:00
|
|
|
%{_mandir}/man5/lvm.conf.5.*
|
2024-01-06 06:33:03 +01:00
|
|
|
%{_mandir}/man7/lv*.7*
|
2024-01-06 06:33:02 +01:00
|
|
|
%{_mandir}/man8/blkdeactivate.8*
|
|
|
|
%{_mandir}/man8/dmeventd.8*
|
2024-01-06 06:33:03 +01:00
|
|
|
%{_mandir}/man8/dmsetup.8*
|
2024-01-06 06:33:03 +01:00
|
|
|
%{_mandir}/man8/dmstats.8*
|
2024-01-06 06:33:03 +01:00
|
|
|
%{_mandir}/man8/fsadm.8*
|
|
|
|
%{_mandir}/man8/lv*.8*
|
|
|
|
%{_mandir}/man8/pv*.8*
|
|
|
|
%{_mandir}/man8/vg*.8*
|
2024-01-06 06:33:02 +01:00
|
|
|
%doc COPYING COPYING.LIB
|
|
|
|
|
|
|
|
%files -n libdevmapper
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_sysconfdir}/lvm
|
|
|
|
%{_libdir}/libdevmapper.so.*
|
2024-01-06 06:33:02 +01:00
|
|
|
%{_libdir}/libdevmapper-event-lvm2.so.*
|
|
|
|
%{_libdir}/libdevmapper-event.so.*
|
|
|
|
%dir %{_libdir}/device-mapper
|
|
|
|
%{_libdir}/device-mapper/libdevmapper-event-lvm2mirror.so
|
|
|
|
%{_libdir}/device-mapper/libdevmapper-event-lvm2raid.so
|
|
|
|
%{_libdir}/device-mapper/libdevmapper-event-lvm2snapshot.so
|
|
|
|
%{_libdir}/device-mapper/libdevmapper-event-lvm2thin.so
|
2024-01-06 06:33:02 +01:00
|
|
|
|
|
|
|
%files -n libdevmapper-devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_includedir}/libdevmapper.h
|
2024-01-06 06:33:02 +01:00
|
|
|
%{_includedir}/libdevmapper-event.h
|
2024-01-06 06:33:02 +01:00
|
|
|
%{_libdir}/libdevmapper.so
|
2024-01-06 06:33:02 +01:00
|
|
|
%{_libdir}/libdevmapper-event.so
|
|
|
|
%{_libdir}/libdevmapper-event-lvm2.so
|
|
|
|
%{_libdir}/libdevmapper-event-lvm2mirror.so
|
|
|
|
%{_libdir}/libdevmapper-event-lvm2raid.so
|
|
|
|
%{_libdir}/libdevmapper-event-lvm2snapshot.so
|
|
|
|
%{_libdir}/libdevmapper-event-lvm2thin.so
|
2024-01-06 06:33:02 +01:00
|
|
|
%{_libdir}/pkgconfig/devmapper.pc
|
2024-01-06 06:33:02 +01:00
|
|
|
%{_libdir}/pkgconfig/devmapper-event.pc
|
2024-01-06 06:33:02 +01:00
|
|
|
|
|
|
|
%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.so
|
|
|
|
%{_libdir}/liblvm2cmd.so
|
|
|
|
%{_libdir}/pkgconfig/lvm2app.pc
|
2024-01-06 06:33:02 +01:00
|
|
|
#%doc README WHATS_NEW
|
2024-01-06 06:33:02 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-06 06:33:03 +01:00
|
|
|
* Wed Nov 11 2015 Automatic Build System <autodist@mambasoft.it> 2.02.133-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 06:33:03 +01:00
|
|
|
* Tue Oct 27 2015 Automatic Build System <autodist@mambasoft.it> 2.02.132-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 06:33:03 +01:00
|
|
|
* Thu Jul 23 2015 Automatic Build System <autodist@mambasoft.it> 2.02.125-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 06:33:03 +01:00
|
|
|
* Sun Jul 12 2015 Automatic Build System <autodist@mambasoft.it> 2.02.123-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 06:33:03 +01:00
|
|
|
* Wed Jul 01 2015 Automatic Build System <autodist@mambasoft.it> 2.02.122-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 06:33:03 +01:00
|
|
|
* Wed Jul 01 2015 Automatic Build System <autodist@mambasoft.it> 2.02.120-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 06:33:03 +01:00
|
|
|
* Thu Feb 12 2015 Automatic Build System <autodist@mambasoft.it> 2.02.116-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 06:33:03 +01:00
|
|
|
* Sat Jan 17 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 2.02.114-4mamba
|
|
|
|
- added a patch to fix path of udevadm
|
|
|
|
|
|
|
|
* Sat Jan 17 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 2.02.114-3mamba
|
|
|
|
- explicity install systemd files
|
|
|
|
- move /var/run/* to /run
|
|
|
|
|
2024-01-06 06:33:03 +01:00
|
|
|
* Tue Dec 16 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 2.02.114-2mamba
|
|
|
|
- force linking readline with termcap
|
|
|
|
|
2024-01-06 06:33:02 +01:00
|
|
|
* Wed Dec 03 2014 Automatic Build System <autodist@mambasoft.it> 2.02.114-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 06:33:02 +01:00
|
|
|
* Sat Nov 22 2014 Automatic Build System <autodist@mambasoft.it> 2.02.112-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 06:33:02 +01:00
|
|
|
* Wed Sep 03 2014 Automatic Build System <autodist@mambasoft.it> 2.02.111-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 06:33:02 +01:00
|
|
|
* Mon Aug 18 2014 Automatic Build System <autodist@mambasoft.it> 2.02.109-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 06:33:02 +01:00
|
|
|
* Mon Aug 04 2014 Automatic Build System <autodist@mambasoft.it> 2.02.108-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 06:33:02 +01:00
|
|
|
* Wed Jun 25 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 2.02.107-1mamba
|
|
|
|
- update to 2.02.107
|
|
|
|
- rebuilt with --enable-udev_sync, --enable-dmeventd and --enable-lvmetad
|
|
|
|
- disable static builds of dmsetup and lvm
|
|
|
|
|
2024-01-06 06:33:02 +01:00
|
|
|
* 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
|