libblockdev/libblockdev.spec

152 lines
4.6 KiB
RPMSpec

Name: libblockdev
Version: 2.28
Release: 1mamba
Summary: A C library supporting GObject Introspection for manipulation of block devices
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/storaged-project/libblockdev
Source: https://github.com/storaged-project/libblockdev.git/%{version}-1/libblockdev-%{version}.tar.bz2
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: libglib-devel
BuildRequires: libgmp-devel
BuildRequires: libgpg-error-devel
BuildRequires: libgpgme-devel
BuildRequires: libkmod-devel
BuildRequires: libmount-devel
BuildRequires: libmpfr-devel
BuildRequires: libndctl-devel
BuildRequires: libnspr-devel
BuildRequires: libnss-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
%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
Group: Development/Libraries
Summary: Development files for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: pkg-config
%description devel
This package contains libraries and header files for developing applications that use %{name}.
%package tools
Group: System/Tools
Summary: Utility applications for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description tools
This package contains utility applications for %{name}.
%debug_package
%prep
%setup -q
%build
./autogen.sh
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%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.*
%{_libdir}/libblockdev.so.*
%{_libdir}/girepository-1.0/BlockDev-2.0.typelib
%{python27_sitearch}/gi/overrides/BlockDev.py
%{python3_sitelib}/gi/overrides/BlockDev.py
%doc LICENSE
%files devel
%defattr(-,root,root)
%dir %{_includedir}/blockdev
%{_includedir}/blockdev/*
%{_libdir}/libblockdev.so
%{_libdir}/libbd_*.so
%{_libdir}/pkgconfig/blockdev-utils.pc
%{_libdir}/pkgconfig/blockdev.pc
%{_datadir}/gir-1.0/BlockDev-2.0.gir
%dir %{_datadir}/gtk-doc/html/libblockdev
%{_datadir}/gtk-doc/html/libblockdev/*
%files tools
%defattr(-,root,root)
%{_bindir}/lvm-cache-stats
%changelog
* Thu Sep 15 2022 Automatic Build System <autodist@mambasoft.it> 2.28-1mamba
- automatic version update by autodist
* Sun Jun 05 2022 Automatic Build System <autodist@mambasoft.it> 2.27-1mamba
- automatic version update by autodist
* Wed Jul 28 2021 Automatic Build System <autodist@mambasoft.it> 2.26-1mamba
- automatic version update by autodist
* Sun Jan 17 2021 Automatic Build System <autodist@mambasoft.it> 2.25-1mamba
- automatic version update by autodist
* Fri Jun 05 2020 Automatic Build System <autodist@mambasoft.it> 2.24-1mamba
- automatic version update by autodist
* Tue Oct 22 2019 Automatic Build System <autodist@mambasoft.it> 2.23-1mamba
- automatic version update by autodist
* Wed Jun 26 2019 Automatic Build System <autodist@mambasoft.it> 2.22-1mamba
- automatic version update by autodist
* Thu Feb 28 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 2.21-1mamba
- package created using the webbuild interface