Accepting request 674700 from Base:System

OBS-URL: https://build.opensuse.org/request/show/674700
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/udisks2?expand=0&rev=34
This commit is contained in:
Stephan Kulow 2019-02-24 16:01:54 +00:00 committed by Git OBS Bridge
commit 073e303be7
2 changed files with 55 additions and 16 deletions

View File

@ -1,3 +1,20 @@
-------------------------------------------------------------------
Wed Feb 13 17:50:45 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
- Generalize VDO description.
- Fix faulty grammar.
-------------------------------------------------------------------
Tue Feb 12 07:53:01 UTC 2019 - bjorn.lie@gmail.com
- Add more info to description of vdo.
-------------------------------------------------------------------
Wed Jan 30 21:34:08 UTC 2019 - bjorn.lie@gmail.com
- Add libblockdev-vdo-devel BuildRequires: Build the new vdo
module. Following this, add new vdo sub-package.
-------------------------------------------------------------------
Thu Jan 24 21:17:14 UTC 2019 - bjorn.lie@gmail.com

View File

@ -43,6 +43,7 @@ BuildRequires: libblockdev-lvm-devel >= %{libblockdev_version}
BuildRequires: libblockdev-mdraid-devel >= %{libblockdev_version}
BuildRequires: libblockdev-part-devel >= %{libblockdev_version}
BuildRequires: libblockdev-swap-devel >= %{libblockdev_version}
BuildRequires: libblockdev-vdo-devel >= %{libblockdev_version}
BuildRequires: lvm2-devel
BuildRequires: pkgconfig
BuildRequires: xsltproc
@ -140,7 +141,7 @@ Requires: %{libudisks} >= %{version}
Requires: libblockdev-kbd >= %{libblockdev_version}
%description -n %{libudisks}_bcache
This package contains the UDisks' module for bcache support.
This package contains the UDisks module for bcache support.
%package -n %{libudisks}_btrfs
Summary: UDisks module for btrfs
@ -150,7 +151,7 @@ Requires: %{libudisks} >= %{version}
Requires: libblockdev-btrfs >= %{libblockdev_version}
%description -n %{libudisks}_btrfs
This package contains the UDisks' module for btrfs support.
This package contains the UDisks module for btrfs support.
%package -n %{libudisks}_lsm
Summary: UDisks module for LSM
@ -160,7 +161,7 @@ Requires: %{libudisks} >= %{version}
Requires: libstoragemgmt >= 1.3.0
%description -n %{libudisks}_lsm
This package contains the UDisks' module for lsm support.
This package contains the UDisks module for LSM support.
%package -n %{libudisks}_lvm2
Summary: UDisks module for LVM2
@ -171,7 +172,20 @@ Requires: libblockdev-lvm >= %{libblockdev_version}
Requires: lvm2
%description -n %{libudisks}_lvm2
This package contains the UDisks' module for LVM2 support.
This package contains the UDisks module for LVM2 support.
%package -n %{libudisks}_vdo
Summary: UDisks module for VDO
License: GPL-2.0-or-later
Group: System/Libraries
Requires: %{libudisks} >= %{version}
Requires: libblockdev-vdo >= %{libblockdev_version}
%description -n %{libudisks}_vdo
This package contains the UDisks module for VDO support.
Virtual Data Optimizer (VDO) is a block virtualization technology that allows
creating compressed and deduplicated pools of block storage.
%package -n %{libudisks}_zram
Summary: UDisks module for Zram
@ -182,24 +196,26 @@ Requires: libblockdev-kbd >= %{libblockdev_version}
Requires: libblockdev-swap >= %{libblockdev_version}
%description -n %{libudisks}_zram
This package contains the UDisks' module for zram support.
This package contains the UDisks module for zram support.
%lang_package
%prep
%setup -q -n udisks-%{version}
%autosetup -p1 -n udisks-%{version}
%build
%configure \
--disable-static \
--enable-gtk-doc \
--docdir=%{_docdir}/%{name} \
--enable-bcache \
--enable-btrfs \
--enable-lsm \
--enable-lvm2 \
--enable-lvmcache \
--enable-zram
%configure \
--disable-static \
--enable-gtk-doc \
--docdir=%{_docdir}/%{name} \
--enable-bcache \
--enable-btrfs \
--enable-lsm \
--enable-lvm2 \
--enable-lvmcache \
--enable-zram \
--enable-vdo \
%{nil}
%make_build
%install
@ -315,6 +331,12 @@ ln -sf %{_sbindir}/service %{buildroot}/%{_sbindir}/rc%{name}
%{_libdir}/udisks2/modules/libudisks2_lvm2.so
%{_datadir}/polkit-1/actions/org.freedesktop.UDisks2.lvm2.policy
%files -n %{libudisks}_vdo
%dir %{_libdir}/udisks2
%dir %{_libdir}/udisks2/modules
%{_libdir}/udisks2/modules/libudisks2_vdo.so
%{_datadir}/polkit-1/actions/org.freedesktop.UDisks2.vdo.policy
%files -n %{libudisks}_zram
%dir %{_libdir}/udisks2
%dir %{_libdir}/udisks2/modules