代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/libblockdev 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
Name: libblockdev
Version: 2.24
Release: 6
Summary: libblockdev is a C library supporting GObject introspection for manipulation of block devices
License: LGPLv2+
URL: https://github.com/storaged-project/libblockdev
Source0: https://github.com/storaged-project/libblockdev/releases/download/%{version}-1/%{name}-%{version}.tar.gz
Patch1: 0001-lvm-Add-missing-attribute-to-bd_lvm_pvdata_copy-in-L.patch
Patch2: 0002-module.c-Fix-error-message-when-loading-module-witho.patch
Patch3: 0003-exec-Fix-setting-locale-for-util-calls.patch
Patch4: 0004-lvm-Fix-checking-for-LVM-VDO-dependencies.patch
Patch5: 0005-lvm-dbus-Fix-memory-leak-in-bd_lvm_cache_attach.patch
Patch6: 0006-lvm-Fix-memory-leak-bd_lvm_cache_create_cached_lv.patch
Patch7: 0007-fs-Fix-return-values-in-bd_fs_ntfs_get_info.patch
Patch8: 0008-fs-Fix-return-values-in-bd_fs_xfs_get_info.patch
Patch9: 0009-dm-Fix-comparing-DM-RAID-member-devices-UUID.patch
Patch10: 0010-dm-Fix-memory-leak-in-the-DM-plugin-and-DM-logging-r.patch
Patch11: 0011-fs-Fix-memory-leak.patch
Patch12: 0012-kbd-Fix-memory-leak.patch
Patch13: 0013-lvm-dbus-Fix-memory-leak.patch
Patch14: 0014-mdraid-Fix-memory-leak.patch
Patch15: 0015-swap-Fix-memory-leak.patch
BuildRequires: git glib2-devel libyaml-devel libbytesize-devel parted-devel libuuid-devel ndctl-devel device-mapper-devel
BuildRequires: device-mapper-devel dmraid-devel systemd-devel nss-devel volume_key-devel >= 0.3.9-7 libblkid-devel libmount-devel
BuildRequires: cryptsetup-devel kmod-devel libxslt glib2-doc gtk-doc python3-devel gobject-introspection-devel
BuildRequires: autoconf-archive
Requires: btrfs-progs device-mapper dmraid device-mapper-multipath lvm2 mdadm
Requires: device-mapper-persistent-data lvm2-dbusd >= 2.02.156 ndctl gdisk util-linux
Recommends: vdo kmod-kvdo
Provides: %{name}-utils%{?_isa} %{name}-utils
Obsoletes: %{name}-utils < %{version}
Provides: %{name}-btrfs%{?_isa} %{name}-btrfs
Obsoletes: %{name}-btrfs < %{version}
Provides: %{name}-crypto%{?_isa} %{name}-crypto
Obsoletes: %{name}-crypto < %{version}
Provides: %{name}-dm%{?_isa} %{name}-dm
Obsoletes: %{name}-dm < %{version}
Provides: %{name}-fs%{?_isa} %{name}-fs
Obsoletes: %{name}-fs < %{version}
Provides: %{name}-kbd%{?_isa} %{name}-kbd
Obsoletes: %{name}-kbd < %{version}
Provides: %{name}-vdo%{?_isa} %{name}-vdo
Obsoletes: %{name}-vdo < %{version}
Provides: %{name}-loop%{?_isa} %{name}-loop
Obsoletes: %{name}-loop < %{version}
Provides: %{name}-lvm%{?_isa} %{name}-lvm
Obsoletes: %{name}-lvm < %{version}
Provides: %{name}-lvm-dbus%{?_isa} %{name}-lvm-dbus
Obsoletes: %{name}-lvm-dbus < %{version}
Provides: %{name}-mdraid%{?_isa} %{name}-mdraid
Obsoletes: %{name}-mdraid < %{version}
Provides: %{name}-mpath%{?_isa} %{name}-mpath
Obsoletes: %{name}-mpath < %{version}
Provides: %{name}-nvdimm%{?_isa} %{name}-nvdimm
Obsoletes: %{name}-nvdimm < %{version}
Provides: %{name}-part%{?_isa} %{name}-part
Obsoletes: %{name}-part < %{version}
Provides: %{name}-swap%{?_isa} %{name}-swap
Obsoletes: %{name}-swap < %{version}
Provides: %{name}-plugins-all%{?_isa} %{name}-plugins-all
Obsoletes: %{name}-plugins-all < %{version}
%description
libblockdev is a C library supporting GObject introspection for manipulation of block devices.
It has a plugin-based architecture where each technology (like LVM, Btrfs, MD RAID, Swap,...) is implemented in a separate plugin,
possibly with multiple implementations (e.g. using LVM CLI or the new LVM DBus API).
%package devel
Summary: Libraries and header files for libblockdev
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: glib2-devel device-mapper-devel xfsprogs dosfstools dmraid-devel systemd-devel
Provides: %{name}-btrfs-devel%{?_isa} %{name}-btrfs-devel
Obsoletes: %{name}-btrfs-devel < %{version}
Provides: %{name}-crypto-devel%{?_isa} %{name}-crypto-devel
Obsoletes: %{name}-crypto-devel < %{version}
Provides: %{name}-dm-devel%{?_isa} %{name}-dm-devel
Obsoletes: %{name}-dm-devel < %{version}
Provides: %{name}-fs-devel%{?_isa} %{name}-fs-devel
Obsoletes: %{name}-fs-devel < %{version}
Provides: %{name}-kbd-devel%{?_isa} %{name}-kbd-devel
Obsoletes: %{name}-kbd-devel < %{version}
Provides: %{name}-loop-devel%{?_isa} %{name}-loop-devel
Obsoletes: %{name}-loop-devel < %{version}
Provides: %{name}-lvm-devel%{?_isa} %{name}-lvm-devel
Obsoletes: %{name}-lvm-devel < %{version}
Provides: %{name}-lvm-dbus-devel%{?_isa} %{name}-lvm-dbus-devel
Obsoletes: %{name}-lvm-dbus-devel < %{version}
Provides: %{name}-mdraid-devel%{?_isa} %{name}-mdraid-devel
Obsoletes: %{name}-mdraid-devel < %{version}
Provides: %{name}-mpath-devel%{?_isa} %{name}-mpath-devel
Obsoletes: %{name}-mpath-devel < %{version}
Provides: %{name}-nvdimm-devel%{?_isa} %{name}-nvdimm-devel
Obsoletes: %{name}-nvdimm-devel < %{version}
Provides: %{name}-part-devel%{?_isa} %{name}-part-devel
Obsoletes: %{name}-part-devel < %{version}
Provides: %{name}-swap-devel%{?_isa} %{name}-swap-devel
Obsoletes: %{name}-swap-devel < %{version}
Provides: %{name}-vdo-devel%{?_isa} %{name}-vdo-devel
Obsoletes: %{name}-vdo-devel < %{version}
Provides: %{name}-utils-devel%{?_isa} %{name}-utils-devel
Obsoletes: %{name}-utils-devel < %{version}
%description devel
Libraries and header files for a set for utils(libblockdev,libblockdev-btrfs,libblockdev-crypto,
libblockdev-dm,libblockdev-fs,libblockdev-kbd,libblockdev-loop,libblockdev-lvm,
libblockdev-lvm-dbus,libblockdev-mdraid,libblockdev-mpath,libblockdev-nvdimm,libblockdev-part,
libblockdev-swap,libblockdev-utils,libblockdev-vdo
%package tools
Summary: Various nice tools based on libblockdev
Requires: %{name}
Requires: %{name}-lvm
BuildRequires: libbytesize-devel
Recommends: %{name}-lvm-dbus
%description tools
Various nice storage-related tools based on libblockdev.
%package -n python3-blockdev
Summary: Python3 bindings for libblockdev
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: python3-gobject-base
%{?python_provide:%python_provide python3-blockdev}
%description -n python3-blockdev
Python3 bindings for libblockdev
%prep
%autosetup -n %{name}-%{version} -p1 -Sgit
%build
autoreconf -ivf
%configure %{?configure_opts}
%make_build
%check
make check
%install
%make_install
find %{buildroot} -type f -name "*.la" | xargs %{__rm}
%ldconfig_scriptlets
%files
%license LICENSE
%{_libdir}/libblockdev.so.*
%{_libdir}/girepository*/BlockDev*.typelib
%{_libdir}/libbd_*.so.*
%dir %{_sysconfdir}/libblockdev
%dir %{_sysconfdir}/libblockdev/conf.d
%config %{_sysconfdir}/libblockdev/conf.d/00-default.cfg
%config %{_sysconfdir}/libblockdev/conf.d/10-lvm-dbus.cfg
%files devel
%doc features.rst specs.rst
%{_libdir}/libbd_*.so
%{_libdir}/libblockdev.so
%{_libdir}/pkgconfig/*.pc
%{_datadir}/gtk-doc/html/libblockdev
%{_datadir}/gir*/BlockDev*.gir
%dir %{_includedir}/blockdev
%{_includedir}/blockdev/*
%files tools
%{_bindir}/lvm-cache-stats
%files -n python3-blockdev
%{python3_sitearch}/gi/overrides/*
%changelog
* Wed Nov 4 2020 lixiaokeng<lixiaokeng@huawei.com> - 2.24-6
- add make check
* Sat Oct 31 2020 Zhiqiang Liu <liuzhiqiang26@huawei.com> - 2.24-5
- backport upstream patches-epoch2 to fix serveral problems
* Fri Oct 30 2020 yanglongkang <yanglongkang@huawei.com> - 2.24-4
- remove python2 dependency
* Tue Jul 28 2020 Ruijun Ge <geruijun@huawei.com> - 2.24-3
- backport upstream patches
* Wed Jul 15 2020 Zhiqiang Liu <lzhq28@mail.ustc.edu.cn> - 2.24-2
- download tar file from source0 in spec
* Mon Jun 29 2020 lixiaokeng<lixiaokeng@huawei.com> - 2.24-1
- Upgrade to 2.24.1
* Mon Sep 16 2019 wubo<wubo40@huawei.com> - 2.20.4
- Package init
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。