diff --git a/libblockdev.spec b/libblockdev.spec index 9527055..dd30d10 100644 --- a/libblockdev.spec +++ b/libblockdev.spec @@ -1,5 +1,8 @@ +%define MAJver %(echo %version | cut -d. -f1) +%define majver %(echo %version | cut -d. -f1-2) + Name: libblockdev -Version: 2.28 +Version: 3.0.3 Release: 1mamba Summary: A C library supporting GObject Introspection for manipulation of block devices Group: System/Libraries @@ -11,35 +14,28 @@ Source: https://github.com/storaged-project/libblockdev.git/%{version}-1/ License: LGPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel -BuildRequires: libassuan-devel BuildRequires: libblkid-devel BuildRequires: libbytesize-devel BuildRequires: libcryptsetup-devel BuildRequires: libdevmapper-devel -BuildRequires: libdmraid-devel +BuildRequires: libe2fs-devel +BuildRequires: libfdisk-devel BuildRequires: libglib-devel -BuildRequires: libgmp-devel -BuildRequires: libgpg-error-devel BuildRequires: libgpgme-devel +BuildRequires: libkeyutils-devel BuildRequires: libkmod-devel BuildRequires: libmount-devel -BuildRequires: libmpfr-devel BuildRequires: libndctl-devel BuildRequires: libnspr-devel BuildRequires: libnss-devel +BuildRequires: libnvme-devel BuildRequires: libparted-devel -BuildRequires: libpython27-devel BuildRequires: libpython3-devel -BuildRequires: libselinux-devel BuildRequires: libudev-devel BuildRequires: libuuid-devel BuildRequires: libvolume_key-devel -BuildRequires: libyaml-devel ## AUTOBUILDREQ-END -BuildRequires: libdmraid-devel -BuildRequires: libvolume_key-devel -BuildRequires: libbytesize-devel -BuildRequires: libndctl-devel +BuildRequires: libnvme-devel %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). @@ -84,29 +80,14 @@ This package contains utility applications for %{name}. %files %defattr(-,root,root) %dir %{_sysconfdir}/libblockdev -%dir %{_sysconfdir}/libblockdev/conf.d -%{_sysconfdir}/libblockdev/conf.d/00-default.cfg -%{_sysconfdir}/libblockdev/conf.d/10-lvm-dbus.cfg -%{_libdir}/libbd_btrfs.so.* -%{_libdir}/libbd_crypto.so.* -%{_libdir}/libbd_dm.so.* -%{_libdir}/libbd_fs.so.* -%{_libdir}/libbd_kbd.so.* -%{_libdir}/libbd_loop.so.* -%{_libdir}/libbd_lvm-dbus.so.* -%{_libdir}/libbd_lvm.so.* -%{_libdir}/libbd_mdraid.so.* -%{_libdir}/libbd_mpath.so.* -%{_libdir}/libbd_nvdimm.so.* -%{_libdir}/libbd_part.so.* -%{_libdir}/libbd_part_err.so.* -%{_libdir}/libbd_swap.so.* -%{_libdir}/libbd_utils.so.* -%{_libdir}/libbd_vdo.so.* +%dir %{_sysconfdir}/libblockdev/%{MAJver} +%dir %{_sysconfdir}/libblockdev/%{MAJver}/conf.d +%{_sysconfdir}/libblockdev/%{MAJver}/conf.d/00-default.cfg +%{_sysconfdir}/libblockdev/%{MAJver}/conf.d/10-lvm-dbus.cfg +%{_libdir}/libbd_*.so.* %{_libdir}/libblockdev.so.* -%{_libdir}/girepository-1.0/BlockDev-2.0.typelib -%{python27_sitearch}/gi/overrides/BlockDev.py -%{python3_sitelib}/gi/overrides/BlockDev.py +%{_libdir}/girepository-1.0/BlockDev-%{majver}.typelib +%{python3_sitearch}/gi/overrides/BlockDev.py %doc LICENSE %files devel @@ -117,15 +98,22 @@ This package contains utility applications for %{name}. %{_libdir}/libbd_*.so %{_libdir}/pkgconfig/blockdev-utils.pc %{_libdir}/pkgconfig/blockdev.pc -%{_datadir}/gir-1.0/BlockDev-2.0.gir +%{_datadir}/gir-1.0/BlockDev-%{majver}.gir %dir %{_datadir}/gtk-doc/html/libblockdev %{_datadir}/gtk-doc/html/libblockdev/* %files tools %defattr(-,root,root) +%{_bindir}/vfat-resize %{_bindir}/lvm-cache-stats %changelog +* Thu Aug 31 2023 Automatic Build System 3.0.3-1mamba +- automatic version update by autodist + +* Fri Aug 25 2023 Automatic Build System 3.0.2-1mamba +- automatic version update by autodist + * Thu Sep 15 2022 Automatic Build System 2.28-1mamba - automatic version update by autodist