2018-01-19 00:23:24 +01:00
#
# spec file for package libblockdev
#
2018-02-22 17:44:30 +01:00
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
2018-01-19 00:23:24 +01:00
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
2018-04-05 05:57:30 +02:00
%define bcachetools_version 1.0.8
%define lvm2-clvm_version 2.02.156
%define somajor 2
%define libname %{name}%{somajor}
2018-05-04 15:13:42 +02:00
%bcond_with python2
2018-06-29 02:45:37 +02:00
2018-01-19 00:23:24 +01:00
Name : libblockdev
2018-06-29 02:45:37 +02:00
Version : 2.18
2018-05-04 15:13:42 +02:00
Release : 0
2018-01-19 00:23:24 +01:00
Summary : A library for low-level manipulation with block devices
2018-03-06 01:19:26 +01:00
License : LGPL-2.1-only
2018-01-19 00:23:24 +01:00
Group : Development/Libraries/C and C++
2018-03-06 01:19:26 +01:00
URL : https://github.com/storaged-project/libblockdev
2018-02-22 17:44:30 +01:00
Source0 : https://github.com/storaged-project/libblockdev/releases/download/%{version} -1/libblockdev-%{version} .tar.gz
2018-05-04 15:13:42 +02:00
# PATCH-FIX-OPENSUSE libblockdev-fix-libkmod-include.patch luc14n0@linuxmail.org -- openSUSE's libkmod.h file location is not under the expected /usr/include directory but /usr/include/kmod.
2018-02-22 17:44:30 +01:00
Patch0 : libblockdev-fix-libkmod-include.patch
2018-01-19 00:23:24 +01:00
BuildRequires : dmraid-devel
2018-02-22 17:44:30 +01:00
BuildRequires : gobject-introspection-devel >= 1.3.0
BuildRequires : gtk-doc
2018-05-04 15:13:42 +02:00
BuildRequires : pkgconfig
2018-02-22 17:44:30 +01:00
%{?with_python2:BuildRequires: python-devel}
2018-01-19 00:23:24 +01:00
BuildRequires : python3-devel
2018-02-22 17:44:30 +01:00
# There is a s390x plugin that, until vtoc.h is provided, can't be added.
#BuildRequires: s390-tools-devel
2018-01-19 00:23:24 +01:00
BuildRequires : pkgconfig(blkid) >= 2.23.0
BuildRequires : pkgconfig(bytesize) >= 0.1
BuildRequires : pkgconfig(devmapper) >= 1.02.93
BuildRequires : pkgconfig(gio-2.0) >= 2.42.2
BuildRequires : pkgconfig(glib-2.0) >= 2.42.2
BuildRequires : pkgconfig(gobject-2.0) >= 2.42.2
BuildRequires : pkgconfig(libcryptsetup) >= 1.6.7
BuildRequires : pkgconfig(libkmod) >= 19
BuildRequires : pkgconfig(libparted) >= 3.1
BuildRequires : pkgconfig(libudev) >= 216
BuildRequires : pkgconfig(mount) >= 2.23.0
2018-03-06 01:19:26 +01:00
Requires : %{libname} >= %{version}
2018-01-19 00:23:24 +01:00
%description
The LibBlockDev is a C library with GObject introspection support that can be
used for doing low-level operations with block devices like setting up LVM,
BTRFS, LUKS or MD RAID. The library uses plugins (LVM, BTRFS,...) and serves as
a thin wrapper around its plugins' functionality. All the plugins, however, can
be used as standalone libraries. One of the core principles of LibBlockDev is
that it is stateless from the storage configuration's perspective (e.g. it has
no information about VGs when creating an LV).
2018-04-05 05:57:30 +02:00
%package -n %{libname}
2018-01-19 00:23:24 +01:00
Summary : A library for low-level manipulation with block devices
Group : System/Libraries
%description -n %{libname}
The LibBlockDev is a C library with GObject introspection support that can be
used for doing low-level operations with block devices like setting up LVM,
BTRFS, LUKS or MD RAID. The library uses plugins (LVM, BTRFS,...) and serves as
a thin wrapper around its plugins' functionality. All the plugins, however, can
be used as standalone libraries. One of the core principles of LibBlockDev is
that it is stateless from the storage configuration's perspective (e.g. it has
no information about VGs when creating an LV).
2018-04-05 05:57:30 +02:00
%package -n typelib-1_0-BlockDev-2_0
2018-01-19 00:23:24 +01:00
Summary : Introspection bindings for the LibBlockDev library
Group : System/Libraries
%description -n typelib-1_0-BlockDev-2_0
This package provides the GObject Introspection bindings for LibBlockDev, which
provides low-level manipulation of block devices.
2018-04-05 05:57:30 +02:00
%package devel
2018-01-19 00:23:24 +01:00
Summary : Development files for the LibBlockDev library
Group : Development/Libraries/C and C++
2018-02-23 18:06:11 +01:00
Requires : %{libname} >= %{version}
2018-01-19 00:23:24 +01:00
Requires : glib2-devel
2018-04-05 05:57:30 +02:00
%description devel
2018-01-19 00:23:24 +01:00
This package provides header files, pkg-config modules and API documentation needed for
development with the LibBlockDev library.
2018-04-05 05:57:30 +02:00
%package -n python2-%{name}
2018-01-19 00:23:24 +01:00
Summary : Python2 gobject-introspection bindings for the LibBlockDev library
Group : Development/Libraries/Python
2018-02-23 18:06:11 +01:00
Requires : %{libname} >= %{version}
2018-01-19 00:23:24 +01:00
Requires : python2-gobject
%description -n python2-%{name}
This package contains enhancements to the gobject-introspection bindings for
LibBlockDev in Python2.
2018-04-05 05:57:30 +02:00
%package -n python3-%{name}
2018-01-19 00:23:24 +01:00
Summary : Python3 gobject-introspection bindings for the LibBlockDev library
Group : Development/Libraries/Python
2018-02-23 18:06:11 +01:00
Requires : %{libname} >= %{version}
2018-01-19 00:23:24 +01:00
Requires : python3-gobject
%description -n python3-%{name}
This package contains enhancements to the gobject-introspection bindings for
LibBlockDev in Python3.
2018-04-05 05:57:30 +02:00
%package -n libbd_btrfs%{somajor}
Summary : The BTRFS plugin for the LibBlockDev library
Group : System/Libraries
Requires : libbd_utils%{somajor} >= %{version}
Provides : libblockdev-btrfs = %{version}
%description -n libbd_btrfs%{somajor}
The LibBlockDev library plugin (and in the same time a standalone library)
providing the BTRFS-related functionality.
%package -n libbd_btrfs-devel
Summary : Development files for the libbd_btrfs plugin/library
Group : Development/Libraries/C and C++
Requires : glib2-devel
2018-05-04 15:13:42 +02:00
Requires : libbd_btrfs%{somajor} >= %{version}
2018-04-05 05:57:30 +02:00
Requires : libbd_utils-devel
Provides : libblockdev-btrfs-devel = %{version}
%description -n libbd_btrfs-devel
This package contains header files and pkg-config files needed for development
with the libbd_btrfs plugin/library.
%package -n libbd_crypto%{somajor}
Summary : The crypto plugin for the LibBlockDev library
Group : System/Libraries
Provides : libblockdev-crypto = %{version}
%description -n libbd_crypto%{somajor}
The LibBlockDev library plugin (and in the same time a standalone library)
providing the functionality related to encrypted devices (LUKS).
%package -n libbd_crypto-devel
Summary : Development files for the libbd_crypto plugin/library
Group : Development/Libraries/C and C++
Requires : glib2-devel
2018-05-04 15:13:42 +02:00
Requires : libbd_crypto%{somajor} >= %{version}
2018-04-05 05:57:30 +02:00
Provides : libblockdev-crypto-devel = %{version}
%description -n libbd_crypto-devel
This package contains header files and pkg-config files needed for development
with the libbd_crypto plugin/library..
%package -n libbd_dm%{somajor}
Summary : The Device Mapper plugin for the LibBlockDev library
Group : System/Libraries
Requires : device-mapper
Requires : dmraid
2018-05-04 15:13:42 +02:00
Requires : libbd_utils%{somajor} >= %{version}
2018-04-05 05:57:30 +02:00
Provides : libblockdev-dm = %{version}
%description -n libbd_dm%{somajor}
The LibBlockDev library plugin (and in the same time a standalone library)
providing the functionality related to Device Mapper.
%package -n libbd_dm-devel
Summary : Development files for the libbd_dm plugin/library
Group : Development/Libraries/C and C++
Requires : device-mapper-devel
Requires : dmraid-devel
2018-05-04 15:13:42 +02:00
Requires : glib2-devel
Requires : libbd_dm%{somajor} >= %{version}
2018-04-05 05:57:30 +02:00
Requires : libbd_utils-devel
2018-05-04 15:13:42 +02:00
Requires : systemd-devel
2018-04-05 05:57:30 +02:00
Provides : libblockdev-dm-devel = %{version}
%description -n libbd_dm-devel
This package contains header files and pkg-config files needed for development
with the libbd_dm plugin/library..
%package -n libbd_fs%{somajor}
Summary : The FS plugin for the LibBlockDev library
Group : System/Libraries
Requires : device-mapper
2018-05-04 15:13:42 +02:00
Requires : libbd_utils%{somajor} >= %{version}
2018-04-05 05:57:30 +02:00
Provides : libblockdev-fs = %{version}
%description -n libbd_fs%{somajor}
The LibBlockDev library plugin (and in the same time a standalone library)
providing the functionality related to operations with file systems.
%package -n libbd_fs-devel
Summary : Development files for the libbd_fs plugin/library
Group : Development/Libraries/C and C++
2018-05-04 15:13:42 +02:00
Requires : dosfstools
Requires : glib2-devel
2018-04-05 05:57:30 +02:00
Requires : libbd_fs%{somajor} >= %{version}
Requires : libbd_utils-devel
Requires : xfsprogs
Provides : libblockdev-fs-devel = %{version}
%description -n libbd_fs-devel
This package contains header files and pkg-config files needed for development
with the libbd_fs plugin/library..
%package -n libbd_kbd%{somajor}
Summary : The KBD plugin for the LibBlockDev library
Group : System/Libraries
Requires : bcache-tools >= %{bcachetools_version}
2018-05-04 15:13:42 +02:00
Requires : libbd_utils%{somajor} >= %{version}
2018-04-05 05:57:30 +02:00
Provides : libblockdev-kbd = %{version}
%description -n libbd_kbd%{somajor}
The LibBlockDev library plugin (and in the same time a standalone library)
providing the functionality related to kernel block devices (namely zRAM and
Bcache).
%package -n libbd_kbd-devel
Summary : Development files for the libbd_kbd plugin/library
Group : Development/Libraries/C and C++
2018-05-04 15:13:42 +02:00
Requires : glib2-devel
2018-04-05 05:57:30 +02:00
Requires : libbd_kbd%{somajor} >= %{version}
Requires : libbd_utils-devel >= %{version}
Provides : libblockdev-kbd-devel = %{version}
%description -n libbd_kbd-devel
This package contains header files and pkg-config files needed for development
with the libbd_kbd plugin/library..
%package -n libbd_loop%{somajor}
Summary : The loop plugin for the LibBlockDev library
Group : System/Libraries
Requires : libbd_utils%{somajor} >= %{version}
Provides : libblockdev-loop = %{version}
%description -n libbd_loop%{somajor}
The LibBlockDev library plugin (and in the same time a standalone library)
providing the functionality related to loop devices.
%package -n libbd_loop-devel
Summary : Development files for the libblockdev-loop plugin/library
Group : Development/Libraries/C and C++
2018-05-04 15:13:42 +02:00
Requires : glib2-devel
2018-04-05 05:57:30 +02:00
Requires : libbd_loop%{somajor} = %{version}
Requires : libbd_utils-devel >= %{version}
Provides : libblockdev-loop-devel = %{version}
%description -n libbd_loop-devel
This package contains header files and pkg-config files needed for development
with the libbd_loop plugin/library.
%package -n libbd_lvm%{somajor}
Summary : The LVM plugin for the LibBlockDev library
Group : System/Libraries
Requires : libbd_utils%{somajor} >= %{version}
Requires : lvm2
# For thin_metadata_size.
Requires : thin-provisioning-tools
Provides : libblockdev-lvm = %{version}
%description -n libbd_lvm%{somajor}
The LibBlockDev library plugin (and in the same time a standalone library)
providing the LVM-related functionality.
%package -n libbd_lvm-devel
Summary : Development files for the libblockdev-lvm plugin/library
Group : Development/Libraries/C and C++
2018-05-04 15:13:42 +02:00
Requires : glib2-devel
2018-04-05 05:57:30 +02:00
Requires : libbd_lvm%{somajor} = %{version}
Requires : libbd_utils-devel >= %{version}
Provides : libblockdev-lvm-devel = %{version}
%description -n libbd_lvm-devel
This package contains header files and pkg-config files needed for development
with the libbd_lvm plugin/library.
%package -n libbd_lvm-dbus%{somajor}
Summary : The LVM plugin for the LibBlockDev library
Group : System/Libraries
Requires : libbd_utils%{somajor} >= %{version}
Requires : lvm2-clvm >= 2.02.156
# For thin_metadata_size.
Requires : thin-provisioning-tools
Provides : libblockdev-lvm-dbus = %{version}
%description -n libbd_lvm-dbus%{somajor}
The LibBlockDev library plugin (and in the same time a standalone library)
providing the LVM-related functionality utilizing the LVM DBus API.
%package -n libbd_lvm-dbus-devel
Summary : Development files for the libblockdev-lvm-dbus plugin/library
Group : Development/Libraries/C and C++
2018-05-04 15:13:42 +02:00
Requires : glib2-devel
2018-04-05 05:57:30 +02:00
Requires : libbd_lvm-dbus%{somajor} = %{version}
Requires : libbd_lvm-devel >= %{version}
2018-05-04 15:13:42 +02:00
Requires : libbd_utils-devel >= %{version}
2018-04-05 05:57:30 +02:00
Provides : libblockdev-lvm-dbus-devel = %{version}
%description -n libbd_lvm-dbus-devel
This package contains header files and pkg-config files needed for development
with the libbd_lvm-dbus plugin/library.
%package -n libbd_mdraid%{somajor}
Summary : The MD RAID plugin for the LibBlockDev library
Group : System/Libraries
Requires : libbd_utils%{somajor} >= %{version}
Requires : mdadm
Provides : libblockdev-mdraid = %{version}
%description -n libbd_mdraid%{somajor}
The LibBlockDev library plugin (and in the same time a standalone library)
providing the functionality related to MD RAID.
%package -n libbd_mdraid-devel
Summary : Development files for the libblockdev-mdraid plugin/library
Group : Development/Libraries/C and C++
2018-05-04 15:13:42 +02:00
Requires : glib2-devel
2018-04-05 05:57:30 +02:00
Requires : libbd_mdraid%{somajor} = %{version}
Requires : libbd_utils-devel >= %{version}
Provides : libblockdev-mdraid-devel = %{version}
%description -n libbd_mdraid-devel
This package contains header files and pkg-config files needed for development
with the libbd_mdraid plugin/library.
%package -n libbd_mpath%{somajor}
Summary : The multipath plugin for the LibBlockDev library
Group : System/Libraries
Requires : libbd_utils%{somajor} >= %{version}
Requires : multipath-tools
Provides : libblockdev-mpath = %{version}
%description -n libbd_mpath%{somajor}
The LibBlockDev library plugin (and in the same time a standalone library)
providing the functionality related to multipath devices.
%package -n libbd_mpath-devel
Summary : Development files for the libblockdev-mpath plugin/library
Group : Development/Libraries/C and C++
2018-05-04 15:13:42 +02:00
Requires : glib2-devel
2018-04-05 05:57:30 +02:00
Requires : libbd_mpath%{somajor} = %{version}
Requires : libbd_utils-devel >= %{version}
Provides : libblockdev-mpath-devel = %{version}
%description -n libbd_mpath-devel
This package contains header files and pkg-config files needed for development
with the libbd_mpath plugin/library.
%package -n libbd_part%{somajor}
Summary : The partitioning plugin for the LibBlockDev library
Group : System/Libraries
2018-05-04 15:13:42 +02:00
Requires : gptfdisk
2018-04-05 05:57:30 +02:00
Requires : libbd_utils%{somajor} >= %{version}
Requires : multipath-tools
Requires : util-linux
Provides : libblockdev-part = %{version}
%description -n libbd_part%{somajor}
The LibBlockDev library plugin (and in the same time a standalone library)
providing the functionality related to partitioning.
%package -n libbd_part-devel
Summary : Development files for the libblockdev-part plugin/library
Group : Development/Libraries/C and C++
2018-05-04 15:13:42 +02:00
Requires : glib2-devel
2018-04-05 05:57:30 +02:00
Requires : libbd_part%{somajor} = %{version}
Requires : libbd_utils-devel >= %{version}
Provides : libblockdev-part-devel = %{version}
%description -n libbd_part-devel
This package contains header files and pkg-config files needed for development
with the libbd_part plugin/library.
%package -n libbd_swap%{somajor}
Summary : The swap plugin for the LibBlockDev library
Group : System/Libraries
Requires : libbd_utils%{somajor} >= %{version}
Requires : util-linux
Provides : libblockdev-swap = %{version}
%description -n libbd_swap%{somajor}
The LibBlockDev library plugin (and in the same time a standalone library)
providing the functionality related to swap devices.
%package -n libbd_swap-devel
Summary : Development files for the libblockdev-swap plugin/library
Group : Development/Libraries/C and C++
2018-05-04 15:13:42 +02:00
Requires : glib2-devel
2018-04-05 05:57:30 +02:00
Requires : libbd_swap%{somajor} = %{version}
Requires : libbd_utils-devel >= %{version}
Provides : libblockdev-swap-devel = %{version}
%description -n libbd_swap-devel
This package contains header files and pkg-config files needed for development
with the libbd_swap plugin/library.
%package -n libbd_utils%{somajor}
Summary : Utility functions library for the LibBlockDev library
Group : System/Libraries
%description -n libbd_utils%{somajor}
The libbd_utils is a library providing utility functions used by the
LibBlockDev library and its plugins.
%package -n libbd_utils-devel
Summary : Development files for libbd_utils
Group : Development/Libraries/C and C++
Requires : glib2-devel
2018-05-04 15:13:42 +02:00
Requires : libbd_utils%{somajor} >= %{version}
2018-04-05 05:57:30 +02:00
%description -n libbd_utils-devel
This package contains header files and pkg-config files needed for development
with the libbd_utils library.
2018-01-19 00:23:24 +01:00
%prep
2018-02-22 17:44:30 +01:00
%autosetup -p1
2018-01-19 00:23:24 +01:00
%build
%configure \
--disable-static \
2018-05-04 15:13:42 +02:00
--enable-introspection \
--with-bcache \
--with-btrfs \
--with-crypto \
--with-dm \
2018-06-29 02:45:37 +02:00
--with-dmraid \
2018-05-04 15:13:42 +02:00
--with-fs \
--with-gtk-doc \
--with-kbd \
--with-loop \
--with-lvm \
--with-lvm_dbus \
--with-mdraid \
--with-mpath \
--with-part \
--with-swap \
--without-escrow \
2018-06-29 02:45:37 +02:00
--without-nvdimm \
--without-vdo
2018-01-19 00:23:24 +01:00
%make_build
%install
%make_install
find %{buildroot} -name " * . l a " -print -type f -delete
%post -n %{libname} -p /sbin/ldconfig
%postun -n %{libname} -p /sbin/ldconfig
2018-04-05 05:57:30 +02:00
%post -n libbd_btrfs%{somajor} -p /sbin/ldconfig
%postun -n libbd_btrfs%{somajor} -p /sbin/ldconfig
%post -n libbd_crypto%{somajor} -p /sbin/ldconfig
%postun -n libbd_crypto%{somajor} -p /sbin/ldconfig
%post -n libbd_dm%{somajor} -p /sbin/ldconfig
%postun -n libbd_dm%{somajor} -p /sbin/ldconfig
%post -n libbd_fs%{somajor} -p /sbin/ldconfig
%postun -n libbd_fs%{somajor} -p /sbin/ldconfig
%post -n libbd_kbd%{somajor} -p /sbin/ldconfig
%postun -n libbd_kbd%{somajor} -p /sbin/ldconfig
%post -n libbd_loop%{somajor} -p /sbin/ldconfig
%postun -n libbd_loop%{somajor} -p /sbin/ldconfig
%post -n libbd_lvm%{somajor} -p /sbin/ldconfig
%postun -n libbd_lvm%{somajor} -p /sbin/ldconfig
%post -n libbd_lvm-dbus%{somajor} -p /sbin/ldconfig
%postun -n libbd_lvm-dbus%{somajor} -p /sbin/ldconfig
%post -n libbd_mdraid%{somajor} -p /sbin/ldconfig
%postun -n libbd_mdraid%{somajor} -p /sbin/ldconfig
%post -n libbd_mpath%{somajor} -p /sbin/ldconfig
%postun -n libbd_mpath%{somajor} -p /sbin/ldconfig
%post -n libbd_part%{somajor} -p /sbin/ldconfig
%postun -n libbd_part%{somajor} -p /sbin/ldconfig
%post -n libbd_swap%{somajor} -p /sbin/ldconfig
%postun -n libbd_swap%{somajor} -p /sbin/ldconfig
%post -n libbd_utils%{somajor} -p /sbin/ldconfig
%postun -n libbd_utils%{somajor} -p /sbin/ldconfig
2018-02-22 17:44:30 +01:00
%files
%dir %{_sysconfdir} /libblockdev
%dir %{_sysconfdir} /libblockdev/conf.d
%config %{_sysconfdir} /libblockdev/conf.d/00-default.cfg
2018-01-19 00:23:24 +01:00
%files -n %{libname}
%license LICENSE
%{_libdir} /libblockdev.so.%{somajor} *
%files -n typelib-1_0-BlockDev-2_0
%{_libdir} /girepository-1.0/BlockDev-2.0.typelib
%files devel
%doc features.rst specs.rst
%doc %{_datadir} /gtk-doc/html/libblockdev
%{_libdir} /libblockdev.so
2018-03-06 01:19:26 +01:00
%{_libdir} /pkgconfig/blockdev.pc
%{_datadir} /gir-1.0/BlockDev-2.0.gir
2018-01-19 00:23:24 +01:00
%dir %{_includedir} /blockdev
%{_includedir} /blockdev/blockdev.h
%{_includedir} /blockdev/plugins.h
2018-04-05 05:57:30 +02:00
%if %{with python2}
%files -n python2-%{name}
%dir %{python2_sitearch} /gi
%dir %{python2_sitearch} /gi/overrides
%{python2_sitearch} /gi/overrides/BlockDev.py
%endif
%files -n python3-%{name}
%dir %{python3_sitearch} /gi
%dir %{python3_sitearch} /gi/overrides
%{python3_sitearch} /gi/overrides/BlockDev.py
%files -n libbd_btrfs%{somajor}
%{_libdir} /libbd_btrfs.so.%{somajor} *
%files -n libbd_btrfs-devel
%{_libdir} /libbd_btrfs.so
%dir %{_includedir} /blockdev
2018-01-19 00:23:24 +01:00
%{_includedir} /blockdev/btrfs.h
2018-04-05 05:57:30 +02:00
%files -n libbd_crypto%{somajor}
%{_libdir} /libbd_crypto.so.%{somajor} *
%files -n libbd_crypto-devel
%{_libdir} /libbd_crypto.so
%dir %{_includedir} /blockdev
2018-01-19 00:23:24 +01:00
%{_includedir} /blockdev/crypto.h
2018-04-05 05:57:30 +02:00
%files -n libbd_dm%{somajor}
%{_libdir} /libbd_dm.so.%{somajor} *
%files -n libbd_dm-devel
%{_libdir} /libbd_dm.so
%dir %{_includedir} /blockdev
2018-01-19 00:23:24 +01:00
%{_includedir} /blockdev/dm.h
2018-04-05 05:57:30 +02:00
%files -n libbd_fs%{somajor}
%{_libdir} /libbd_fs.so.%{somajor} *
%files -n libbd_fs-devel
%{_libdir} /libbd_fs.so
%dir %{_includedir} /blockdev
%dir %{_includedir} /blockdev/fs
2018-01-19 00:23:24 +01:00
%{_includedir} /blockdev/fs.h
2018-02-22 17:44:30 +01:00
%{_includedir} /blockdev/fs/ext.h
%{_includedir} /blockdev/fs/generic.h
%{_includedir} /blockdev/fs/mount.h
%{_includedir} /blockdev/fs/ntfs.h
%{_includedir} /blockdev/fs/vfat.h
%{_includedir} /blockdev/fs/xfs.h
2018-04-05 05:57:30 +02:00
%files -n libbd_kbd%{somajor}
%{_libdir} /libbd_kbd.so.%{somajor} *
%files -n libbd_kbd-devel
%{_libdir} /libbd_kbd.so
%dir %{_includedir} /blockdev
2018-01-19 00:23:24 +01:00
%{_includedir} /blockdev/kbd.h
2018-04-05 05:57:30 +02:00
%files -n libbd_loop%{somajor}
%{_libdir} /libbd_loop.so.%{somajor} *
%files -n libbd_loop-devel
%{_libdir} /libbd_loop.so
%dir %{_includedir} /blockdev
2018-01-19 00:23:24 +01:00
%{_includedir} /blockdev/loop.h
2018-04-05 05:57:30 +02:00
%files -n libbd_lvm%{somajor}
%{_libdir} /libbd_lvm.so.%{somajor} *
%files -n libbd_lvm-devel
%{_libdir} /libbd_lvm.so
%dir %{_includedir} /blockdev
2018-01-19 00:23:24 +01:00
%{_includedir} /blockdev/lvm.h
2018-04-05 05:57:30 +02:00
%files -n libbd_lvm-dbus%{somajor}
%{_libdir} /libbd_lvm-dbus.so.%{somajor} *
%config %{_sysconfdir} /libblockdev/conf.d/10-lvm-dbus.cfg
%files -n libbd_lvm-dbus-devel
%{_libdir} /libbd_lvm-dbus.so
%files -n libbd_mdraid%{somajor}
%{_libdir} /libbd_mdraid.so.%{somajor} *
%files -n libbd_mdraid-devel
%{_libdir} /libbd_mdraid.so
%dir %{_includedir} /blockdev
2018-01-19 00:23:24 +01:00
%{_includedir} /blockdev/mdraid.h
2018-04-05 05:57:30 +02:00
%files -n libbd_mpath%{somajor}
%{_libdir} /libbd_mpath.so.%{somajor} *
%files -n libbd_mpath-devel
%{_libdir} /libbd_mpath.so
%dir %{_includedir} /blockdev
2018-01-19 00:23:24 +01:00
%{_includedir} /blockdev/mpath.h
2018-04-05 05:57:30 +02:00
%files -n libbd_part%{somajor}
%{_libdir} /libbd_part.so.%{somajor} *
%files -n libbd_part-devel
%{_libdir} /libbd_part.so
%dir %{_includedir} /blockdev
2018-01-19 00:23:24 +01:00
%{_includedir} /blockdev/part.h
2018-04-05 05:57:30 +02:00
%files -n libbd_swap%{somajor}
%{_libdir} /libbd_swap.so.%{somajor} *
%files -n libbd_swap-devel
%{_libdir} /libbd_swap.so
%dir %{_includedir} /blockdev
2018-03-06 01:19:26 +01:00
%{_includedir} /blockdev/swap.h
2018-01-19 00:23:24 +01:00
2018-04-05 05:57:30 +02:00
%files -n libbd_utils%{somajor}
%{_libdir} /libbd_part_err.so.%{somajor} *
%{_libdir} /libbd_utils.so.%{somajor} *
2018-01-19 00:23:24 +01:00
2018-04-05 05:57:30 +02:00
%files -n libbd_utils-devel
%{_libdir} /libbd_utils.so
%{_libdir} /libbd_part_err.so
%{_libdir} /pkgconfig/blockdev-utils.pc
%dir %{_includedir} /blockdev
%{_includedir} /blockdev/utils.h
%{_includedir} /blockdev/sizes.h
%{_includedir} /blockdev/exec.h
%{_includedir} /blockdev/extra_arg.h
%{_includedir} /blockdev/dev_utils.h
%{_includedir} /blockdev/module.h
2018-01-19 00:23:24 +01:00
%changelog