2012-02-28 09:35:04 +01:00
|
|
|
#
|
|
|
|
# spec file for package udisks2
|
|
|
|
#
|
2023-08-29 17:02:34 +02:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
2012-02-28 09:35:04 +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.
|
|
|
|
|
2019-01-11 14:51:31 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2012-02-28 09:35:04 +01:00
|
|
|
#
|
|
|
|
|
2012-04-11 11:59:56 +02:00
|
|
|
|
2023-08-29 17:02:34 +02:00
|
|
|
%define soversion 0
|
|
|
|
%define libblockdev_version 3.0
|
2020-12-21 13:11:50 +01:00
|
|
|
|
2015-03-10 13:47:26 +01:00
|
|
|
Name: udisks2
|
2023-08-29 17:02:34 +02:00
|
|
|
Version: 2.10.0
|
2018-03-06 13:29:10 +01:00
|
|
|
Release: 0
|
2017-09-11 14:32:35 +02:00
|
|
|
Summary: Disk Manager
|
2018-03-02 12:44:28 +01:00
|
|
|
License: GPL-2.0-or-later AND LGPL-2.0-or-later
|
2018-02-27 10:15:52 +01:00
|
|
|
Group: System/Daemons
|
2018-03-06 13:29:10 +01:00
|
|
|
URL: https://github.com/storaged-project/udisks
|
2020-12-21 13:11:50 +01:00
|
|
|
Source0: %{url}/releases/download/udisks-%{version}/udisks-%{version}.tar.bz2
|
2023-08-29 17:02:34 +02:00
|
|
|
|
|
|
|
Patch0: harden_udisks2.service.patch
|
|
|
|
|
2017-09-11 14:32:35 +02:00
|
|
|
BuildRequires: chrpath
|
2012-02-28 09:35:04 +01:00
|
|
|
BuildRequires: docbook-xsl-stylesheets
|
2018-04-16 18:53:51 +02:00
|
|
|
BuildRequires: gobject-introspection-devel >= 0.6.2
|
2012-05-24 00:21:10 +02:00
|
|
|
BuildRequires: libacl-devel
|
2018-04-16 18:53:51 +02:00
|
|
|
BuildRequires: libblockdev-crypto-devel >= %{libblockdev_version}
|
|
|
|
BuildRequires: libblockdev-fs-devel >= %{libblockdev_version}
|
|
|
|
BuildRequires: libblockdev-loop-devel >= %{libblockdev_version}
|
|
|
|
BuildRequires: libblockdev-mdraid-devel >= %{libblockdev_version}
|
2023-08-29 17:02:34 +02:00
|
|
|
BuildRequires: libblockdev-nvme-devel >= %{libblockdev_version}
|
2018-04-16 18:53:51 +02:00
|
|
|
BuildRequires: libblockdev-part-devel >= %{libblockdev_version}
|
|
|
|
BuildRequires: libblockdev-swap-devel >= %{libblockdev_version}
|
2018-02-27 10:15:52 +01:00
|
|
|
BuildRequires: lvm2-devel
|
2018-03-06 13:29:10 +01:00
|
|
|
BuildRequires: pkgconfig
|
2012-10-10 09:14:49 +02:00
|
|
|
BuildRequires: xsltproc
|
2018-02-27 10:15:52 +01:00
|
|
|
BuildRequires: pkgconfig(blkid) >= 2.17.0
|
2019-01-28 09:23:03 +01:00
|
|
|
BuildRequires: pkgconfig(blockdev) >= 2.19
|
2018-02-27 10:15:52 +01:00
|
|
|
BuildRequires: pkgconfig(gio-unix-2.0) >= 2.50
|
|
|
|
BuildRequires: pkgconfig(glib-2.0) >= 2.50
|
|
|
|
BuildRequires: pkgconfig(gmodule-2.0)
|
|
|
|
BuildRequires: pkgconfig(gudev-1.0) >= 165
|
2012-02-28 09:35:04 +01:00
|
|
|
BuildRequires: pkgconfig(libatasmart) >= 0.17
|
2018-02-27 10:15:52 +01:00
|
|
|
BuildRequires: pkgconfig(libsystemd) >= 209
|
|
|
|
BuildRequires: pkgconfig(mount) >= 2.30
|
|
|
|
BuildRequires: pkgconfig(polkit-agent-1) >= 0.102
|
|
|
|
BuildRequires: pkgconfig(polkit-gobject-1) >= 0.102
|
2012-02-28 09:35:04 +01:00
|
|
|
BuildRequires: pkgconfig(systemd)
|
|
|
|
BuildRequires: pkgconfig(udev)
|
Accepting request 832602 from home:milsav92:branches:Base:System
- Update to version 2.9.1:
+ This is mostly a bugfix release, notable changes include:
- active modules are now tracked in a daemon state file and
are automatically reloaded on next startup in case of
previous unclean daemon shutdown
- further improvements in object property updates while
handling method calls
- zram module fixes:
+ compatibility improvements with existing zram generators
and toolkits
+ the zram-setup@.service systemd unit has been renamed to
udisks2-zram-setup@.service
+ related udev rules have been separated into
90-udisks2-zram.rules
+ the zram.conf.d path is now configurable and defaults to
/usr/lib/zram.conf.d
- Update to version 2.9.0:
+ This 2.9.0 release brings many changes to the daemon core,
internal modularity and the libudisks2 library.
No public API has been removed, there is a couple of
deprecations however.
+ There's a major change in how and when D-Bus object properties
are updated. As a general rule when a method call returns
affected objects should now have their properties updated by
that moment. This is an ongoing task and while majority of the
daemon API has been covered, there are pending issues in some
of the modules.
+ Configurable mount options is a new big feature for this
release, allowing sysadmins to re-define default mount options
for each filesystem type. Extensive documentation is available
at http://storaged.org/doc/udisks2-api/latest/mount_options.html
+ Internal module API has been reworked, modules should now be
enabled separately via the new EnableModule() call that also
reports initialization failures.
The old org.freedesktop.UDisks2.Manager.EnableModules() call
has been deprecated.
+ Additional feature highlights:
- building the daemon can now be disabled via configure switch,
only libudisks2 will be built
- removed the systemd mount cleanup service, mount state is now
tracked separately for persistent and non-persistent mount
points and cleanup of lingering persistent mount points is
performed on daemon startup (e.g. on system boot)
- new LVM-VDO integration, deprecated the standalone VDO module
- added support for (un)locking BitLocker devices
- libudisks2 now includes generated GDBus code for compiled-in
modules, separate pkg-config files are provided as well
OBS-URL: https://build.opensuse.org/request/show/832602
OBS-URL: https://build.opensuse.org/package/show/Base:System/udisks2?expand=0&rev=85
2020-09-25 12:57:26 +02:00
|
|
|
BuildRequires: pkgconfig(uuid)
|
2023-08-29 17:02:34 +02:00
|
|
|
|
|
|
|
Requires: libudisks2-%{soversion} = %{version}
|
2018-03-06 13:29:10 +01:00
|
|
|
# For LUKS devices
|
|
|
|
Requires: cryptsetup
|
2017-09-11 14:32:35 +02:00
|
|
|
# Needed to pull in the system bus daemon
|
2018-03-06 13:29:10 +01:00
|
|
|
Requires: dbus-1 >= 1.4.0
|
|
|
|
# For mkfs.vfat
|
|
|
|
Requires: dosfstools
|
|
|
|
# For mkfs.ext3, mkfs.ext3, e2label
|
|
|
|
Requires: e2fsprogs
|
|
|
|
# For ejecting removable disks
|
|
|
|
Requires: eject
|
|
|
|
# sgdisk is called by udisksd to modify the partition tables... thus a needed tool.
|
|
|
|
Requires: gptfdisk
|
|
|
|
# We need at least this version for bugfixes/features etc.
|
|
|
|
Requires: libatasmart-utils >= 0.17
|
2018-04-16 18:53:51 +02:00
|
|
|
Requires: libblockdev >= %{libblockdev_version}
|
|
|
|
Requires: libblockdev-crypto >= %{libblockdev_version}
|
|
|
|
Requires: libblockdev-fs >= %{libblockdev_version}
|
2018-04-26 10:38:02 +02:00
|
|
|
Requires: libblockdev-loop >= %{libblockdev_version}
|
2018-04-16 18:53:51 +02:00
|
|
|
Requires: libblockdev-mdraid >= %{libblockdev_version}
|
2023-08-29 17:02:34 +02:00
|
|
|
Requires: libblockdev-nvme >= %{libblockdev_version}
|
2018-04-16 18:53:51 +02:00
|
|
|
Requires: libblockdev-part >= %{libblockdev_version}
|
|
|
|
Requires: libblockdev-swap >= %{libblockdev_version}
|
2018-02-27 10:15:52 +01:00
|
|
|
# Needed to pull in the udev daemon
|
|
|
|
Requires: udev >= 208
|
2017-09-11 14:32:35 +02:00
|
|
|
# For mount, umount, mkswap
|
|
|
|
Requires: util-linux
|
2018-02-27 10:15:52 +01:00
|
|
|
# For mkfs.xfs, xfs_admin
|
|
|
|
Requires: xfsprogs
|
2023-08-29 17:02:34 +02:00
|
|
|
|
|
|
|
Recommends: libudisks2-%{soversion}_btrfs
|
2022-01-27 15:37:50 +01:00
|
|
|
# Add Obsoletes to ease removal of deprecated standalone vdo module
|
|
|
|
Obsoletes: libudisks2-0_vdo <= 2.9.4
|
2012-02-28 09:35:04 +01:00
|
|
|
%{?systemd_requires}
|
|
|
|
# Upstream First - Policy:
|
|
|
|
# Never add any patches to this package without the upstream commit id
|
|
|
|
# in the patch. Any patches added here without a very good reason to make
|
|
|
|
# an exception will be silently removed with the next version update.
|
|
|
|
|
|
|
|
%description
|
2017-09-11 14:32:35 +02:00
|
|
|
The Udisks project provides a daemon, tools and libraries to access and
|
|
|
|
manipulate disks, storage devices and technologies.
|
2012-02-28 09:35:04 +01:00
|
|
|
|
2023-08-29 17:02:34 +02:00
|
|
|
%package -n libudisks2-%{soversion}
|
2018-02-27 10:15:52 +01:00
|
|
|
Summary: Dynamic library to access the UDisksd daemon
|
2018-03-02 12:44:28 +01:00
|
|
|
License: LGPL-2.0-or-later
|
2012-02-28 09:35:04 +01:00
|
|
|
Group: System/Libraries
|
|
|
|
|
2023-08-29 17:02:34 +02:00
|
|
|
%description -n libudisks2-%{soversion}
|
2017-09-11 14:32:35 +02:00
|
|
|
This package contains the dynamic library, which provides
|
2018-02-27 10:15:52 +01:00
|
|
|
access to the UDisksd daemon.
|
2012-02-28 09:35:04 +01:00
|
|
|
|
|
|
|
%package -n typelib-1_0-UDisks-2_0
|
2018-03-02 12:44:28 +01:00
|
|
|
Summary: Introspection bindings for the UDisks Client Library version 2
|
|
|
|
License: LGPL-2.0-or-later
|
2012-02-28 09:35:04 +01:00
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n typelib-1_0-UDisks-2_0
|
2018-02-27 10:15:52 +01:00
|
|
|
UDisks provides a daemon, D-Bus API and command line tools
|
2012-02-28 09:35:04 +01:00
|
|
|
for managing disks and storage devices.
|
|
|
|
|
|
|
|
This package provides the GObject Introspection bindings for
|
|
|
|
the UDisks client library.
|
|
|
|
|
2023-08-29 17:02:34 +02:00
|
|
|
%package -n libudisks2-%{soversion}-devel
|
2018-04-16 18:53:51 +02:00
|
|
|
Summary: Development files for UDisks
|
2018-03-02 12:44:28 +01:00
|
|
|
License: LGPL-2.0-or-later
|
2012-02-28 09:35:04 +01:00
|
|
|
Group: Development/Libraries/C and C++
|
2023-08-29 17:02:34 +02:00
|
|
|
Requires: libudisks2-%{soversion} >= %{version}
|
2018-02-27 10:15:52 +01:00
|
|
|
|
2023-08-29 17:02:34 +02:00
|
|
|
%description -n libudisks2-%{soversion}-devel
|
2018-02-27 10:15:52 +01:00
|
|
|
This package contains the development files for the library libUDisks2, a
|
|
|
|
dynamic library, which provides access to the UDisksd daemon.
|
2012-02-28 09:35:04 +01:00
|
|
|
|
2022-01-27 15:37:50 +01:00
|
|
|
%package docs
|
|
|
|
Summary: Developer documentation for %{name}
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description docs
|
|
|
|
This package contains developer documentation for %{name}.
|
|
|
|
|
2023-08-29 17:02:34 +02:00
|
|
|
%package -n libudisks2-%{soversion}_btrfs
|
2018-03-02 12:44:28 +01:00
|
|
|
Summary: UDisks module for btrfs
|
2023-08-29 17:02:34 +02:00
|
|
|
License: LGPL-2.0-or-later
|
2018-02-27 10:15:52 +01:00
|
|
|
Group: System/Libraries
|
2023-08-29 17:02:34 +02:00
|
|
|
BuildRequires: libblockdev-btrfs-devel >= %{libblockdev_version}
|
2018-04-16 18:53:51 +02:00
|
|
|
Requires: libblockdev-btrfs >= %{libblockdev_version}
|
2023-08-29 17:02:34 +02:00
|
|
|
Requires: libudisks2-%{soversion} >= %{version}
|
2018-02-27 10:15:52 +01:00
|
|
|
|
2023-08-29 17:02:34 +02:00
|
|
|
%description -n libudisks2-%{soversion}_btrfs
|
2019-02-13 19:16:49 +01:00
|
|
|
This package contains the UDisks module for btrfs support.
|
2018-02-27 10:15:52 +01:00
|
|
|
|
2023-08-29 17:02:34 +02:00
|
|
|
%package -n libudisks2-%{soversion}_lsm
|
2018-03-02 12:44:28 +01:00
|
|
|
Summary: UDisks module for LSM
|
2023-08-29 17:02:34 +02:00
|
|
|
License: LGPL-2.0-or-later
|
2018-02-27 10:15:52 +01:00
|
|
|
Group: System/Libraries
|
2023-08-29 17:02:34 +02:00
|
|
|
BuildRequires: pkgconfig(libconfig) >= 1.3.2
|
|
|
|
BuildRequires: pkgconfig(libstoragemgmt) >= 1.3.0
|
2018-02-27 10:15:52 +01:00
|
|
|
Requires: libstoragemgmt >= 1.3.0
|
2023-08-29 17:02:34 +02:00
|
|
|
Requires: libudisks2-%{soversion} >= %{version}
|
2018-02-27 10:15:52 +01:00
|
|
|
|
2023-08-29 17:02:34 +02:00
|
|
|
%description -n libudisks2-%{soversion}_lsm
|
2019-02-13 19:16:49 +01:00
|
|
|
This package contains the UDisks module for LSM support.
|
2018-02-27 10:15:52 +01:00
|
|
|
|
2023-08-29 17:02:34 +02:00
|
|
|
%package -n libudisks2-%{soversion}_lvm2
|
2018-03-02 12:44:28 +01:00
|
|
|
Summary: UDisks module for LVM2
|
2023-08-29 17:02:34 +02:00
|
|
|
License: LGPL-2.0-or-later
|
2018-02-27 10:15:52 +01:00
|
|
|
Group: System/Libraries
|
2023-08-29 17:02:34 +02:00
|
|
|
BuildRequires: libblockdev-lvm-devel >= %{libblockdev_version}
|
2018-04-16 18:53:51 +02:00
|
|
|
Requires: libblockdev-lvm >= %{libblockdev_version}
|
2023-08-29 17:02:34 +02:00
|
|
|
Requires: libudisks2-%{soversion} >= %{version}
|
2018-02-27 10:15:52 +01:00
|
|
|
Requires: lvm2
|
|
|
|
|
2023-08-29 17:02:34 +02:00
|
|
|
%description -n libudisks2-%{soversion}_lvm2
|
2019-02-13 19:16:49 +01:00
|
|
|
This package contains the UDisks module for LVM2 support.
|
2018-02-27 10:15:52 +01:00
|
|
|
|
2023-08-29 17:02:34 +02:00
|
|
|
%package bash-completion
|
|
|
|
Summary: Bash Completion for udisksctl
|
|
|
|
BuildRequires: bash-completion
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
Requires: bash-completion
|
|
|
|
Supplements: (%{name} and bash-completion)
|
|
|
|
BuildArch: noarch
|
2018-02-27 10:15:52 +01:00
|
|
|
|
2023-08-29 17:02:34 +02:00
|
|
|
%description bash-completion
|
|
|
|
Bash command line completion support for the udisksctl command.
|
|
|
|
|
|
|
|
%package zsh-completion
|
|
|
|
Summary: Zsh Completion for udisksctl
|
|
|
|
BuildRequires: zsh
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
Requires: zsh
|
|
|
|
Supplements: (%{name} and zsh)
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description zsh-completion
|
|
|
|
Zsh command line completion support for the udisksctl command.
|
2012-02-28 09:35:04 +01:00
|
|
|
|
|
|
|
%lang_package
|
2015-03-10 13:47:26 +01:00
|
|
|
|
2012-02-28 09:35:04 +01:00
|
|
|
%prep
|
2019-02-11 18:07:24 +01:00
|
|
|
%autosetup -p1 -n udisks-%{version}
|
2012-02-28 09:35:04 +01:00
|
|
|
|
|
|
|
%build
|
2019-02-11 18:07:24 +01:00
|
|
|
%configure \
|
|
|
|
--disable-static \
|
2022-02-16 16:49:36 +01:00
|
|
|
--disable-gtk-doc \
|
2019-02-11 18:07:24 +01:00
|
|
|
--docdir=%{_docdir}/%{name} \
|
|
|
|
--enable-btrfs \
|
|
|
|
--enable-lsm \
|
|
|
|
--enable-lvm2 \
|
|
|
|
%{nil}
|
2018-02-27 10:15:52 +01:00
|
|
|
%make_build
|
2012-02-28 09:35:04 +01:00
|
|
|
|
|
|
|
%install
|
2018-02-27 10:15:52 +01:00
|
|
|
%make_install
|
|
|
|
find %{buildroot} -name "*.la" -print -type f -delete
|
2017-09-11 14:32:35 +02:00
|
|
|
chrpath --delete %{buildroot}/%{_sbindir}/umount.udisks2
|
|
|
|
chrpath --delete %{buildroot}/%{_bindir}/udisksctl
|
|
|
|
chrpath --delete %{buildroot}/%{_libexecdir}/udisks2/udisksd
|
|
|
|
%find_lang udisks2
|
|
|
|
|
2018-02-27 10:15:52 +01:00
|
|
|
# Create udisks2 rclink
|
|
|
|
mkdir -p %{buildroot}/%{_sbindir}
|
|
|
|
ln -sf %{_sbindir}/service %{buildroot}/%{_sbindir}/rc%{name}
|
|
|
|
|
2022-01-27 15:37:50 +01:00
|
|
|
# Move example config file to docs
|
|
|
|
mkdir -p %{buildroot}%{_docdir}/%{name}
|
2023-08-29 17:02:34 +02:00
|
|
|
mv -v %{buildroot}%{_sysconfdir}/udisks2/mount_options.conf.example \
|
|
|
|
%{buildroot}%{_docdir}/%{name}/mount_options.conf.example
|
2022-01-27 15:37:50 +01:00
|
|
|
|
2023-08-29 17:02:34 +02:00
|
|
|
%post -n libudisks2-%{soversion} -p /sbin/ldconfig
|
|
|
|
%postun -n libudisks2-%{soversion} -p /sbin/ldconfig
|
2018-02-27 10:15:52 +01:00
|
|
|
|
|
|
|
%pre -n %{name}
|
2012-02-28 09:35:04 +01:00
|
|
|
%service_add_pre udisks2.service
|
|
|
|
|
2017-09-11 14:32:35 +02:00
|
|
|
%post -n %{name}
|
|
|
|
%{?udev_rules_update:%udev_rules_update}
|
2012-02-28 09:35:04 +01:00
|
|
|
%service_add_post udisks2.service
|
2021-12-07 11:25:14 +01:00
|
|
|
%tmpfiles_create %{_tmpfilesdir}/udisks2.conf
|
2012-02-28 09:35:04 +01:00
|
|
|
|
2018-02-27 10:15:52 +01:00
|
|
|
%preun -n %{name}
|
2012-02-28 09:35:04 +01:00
|
|
|
%service_del_preun udisks2.service
|
|
|
|
|
2018-02-27 10:15:52 +01:00
|
|
|
%postun -n %{name}
|
2012-02-28 09:35:04 +01:00
|
|
|
%service_del_postun udisks2.service
|
2018-02-27 10:15:52 +01:00
|
|
|
|
2012-02-28 09:35:04 +01:00
|
|
|
%files
|
2018-02-27 10:15:52 +01:00
|
|
|
%doc AUTHORS NEWS
|
|
|
|
%{_bindir}/udisksctl
|
2022-01-27 15:37:50 +01:00
|
|
|
%{_datadir}/dbus-1/system.d/org.freedesktop.UDisks2.conf
|
|
|
|
%dir %{_sysconfdir}/udisks2
|
|
|
|
%dir %{_sysconfdir}/udisks2/modules.conf.d
|
|
|
|
%config %{_sysconfdir}/udisks2/udisks2.conf
|
|
|
|
%doc %{_docdir}/%{name}/mount_options.conf.example
|
2021-12-07 11:25:14 +01:00
|
|
|
%{_tmpfilesdir}/udisks2.conf
|
2022-01-27 15:37:50 +01:00
|
|
|
%ghost %{_rundir}/media
|
2015-03-10 13:47:26 +01:00
|
|
|
%{_unitdir}/udisks2.service
|
2017-09-11 14:32:35 +02:00
|
|
|
%dir %{_udevrulesdir}
|
2015-03-10 13:47:26 +01:00
|
|
|
%{_udevrulesdir}/80-udisks2.rules
|
2018-02-27 10:15:52 +01:00
|
|
|
%{_sbindir}/rc%{name}
|
2017-09-11 14:32:35 +02:00
|
|
|
%{_sbindir}/umount.udisks2
|
|
|
|
%dir %{_libexecdir}/udisks2
|
|
|
|
%{_libexecdir}/udisks2/udisksd
|
2018-02-27 10:15:52 +01:00
|
|
|
%{_mandir}/man1/udisksctl.1%{?ext_man}
|
|
|
|
%{_mandir}/man5/udisks2.conf.5%{?ext_man}
|
|
|
|
%{_mandir}/man8/udisksd.8%{?ext_man}
|
|
|
|
%{_mandir}/man8/udisks.8%{?ext_man}
|
|
|
|
%{_mandir}/man8/umount.udisks2.8%{?ext_man}
|
2017-09-11 14:32:35 +02:00
|
|
|
%{_datadir}/polkit-1/actions/org.freedesktop.UDisks2.policy
|
2012-02-28 09:35:04 +01:00
|
|
|
%{_datadir}/dbus-1/system-services/org.freedesktop.UDisks2.service
|
2017-09-11 14:32:35 +02:00
|
|
|
# Permissions for local state data are 0700 to avoid leaking information
|
|
|
|
# about e.g. mounts to unprivileged users
|
|
|
|
%attr(0700,root,root) %dir %{_localstatedir}/lib/udisks2
|
2012-02-28 09:35:04 +01:00
|
|
|
|
2023-08-29 17:02:34 +02:00
|
|
|
%files -n libudisks2-%{soversion}
|
2018-02-27 10:15:52 +01:00
|
|
|
%license COPYING
|
2012-02-28 09:35:04 +01:00
|
|
|
%{_libdir}/libudisks2.so.*
|
|
|
|
|
|
|
|
%files -n typelib-1_0-UDisks-2_0
|
|
|
|
%{_libdir}/girepository-1.0/UDisks-2.0.typelib
|
|
|
|
|
2023-08-29 17:02:34 +02:00
|
|
|
%files -n libudisks2-%{soversion}-devel
|
2018-02-27 10:15:52 +01:00
|
|
|
%doc HACKING README.md
|
2012-02-28 09:35:04 +01:00
|
|
|
%{_libdir}/libudisks2.so
|
2017-09-11 14:32:35 +02:00
|
|
|
%dir %{_includedir}/udisks2
|
|
|
|
%dir %{_includedir}/udisks2/udisks
|
|
|
|
%{_includedir}/udisks2/udisks/*.h
|
2018-02-27 10:15:52 +01:00
|
|
|
%{_libdir}/pkgconfig/udisks2.pc
|
Accepting request 832602 from home:milsav92:branches:Base:System
- Update to version 2.9.1:
+ This is mostly a bugfix release, notable changes include:
- active modules are now tracked in a daemon state file and
are automatically reloaded on next startup in case of
previous unclean daemon shutdown
- further improvements in object property updates while
handling method calls
- zram module fixes:
+ compatibility improvements with existing zram generators
and toolkits
+ the zram-setup@.service systemd unit has been renamed to
udisks2-zram-setup@.service
+ related udev rules have been separated into
90-udisks2-zram.rules
+ the zram.conf.d path is now configurable and defaults to
/usr/lib/zram.conf.d
- Update to version 2.9.0:
+ This 2.9.0 release brings many changes to the daemon core,
internal modularity and the libudisks2 library.
No public API has been removed, there is a couple of
deprecations however.
+ There's a major change in how and when D-Bus object properties
are updated. As a general rule when a method call returns
affected objects should now have their properties updated by
that moment. This is an ongoing task and while majority of the
daemon API has been covered, there are pending issues in some
of the modules.
+ Configurable mount options is a new big feature for this
release, allowing sysadmins to re-define default mount options
for each filesystem type. Extensive documentation is available
at http://storaged.org/doc/udisks2-api/latest/mount_options.html
+ Internal module API has been reworked, modules should now be
enabled separately via the new EnableModule() call that also
reports initialization failures.
The old org.freedesktop.UDisks2.Manager.EnableModules() call
has been deprecated.
+ Additional feature highlights:
- building the daemon can now be disabled via configure switch,
only libudisks2 will be built
- removed the systemd mount cleanup service, mount state is now
tracked separately for persistent and non-persistent mount
points and cleanup of lingering persistent mount points is
performed on daemon startup (e.g. on system boot)
- new LVM-VDO integration, deprecated the standalone VDO module
- added support for (un)locking BitLocker devices
- libudisks2 now includes generated GDBus code for compiled-in
modules, separate pkg-config files are provided as well
OBS-URL: https://build.opensuse.org/request/show/832602
OBS-URL: https://build.opensuse.org/package/show/Base:System/udisks2?expand=0&rev=85
2020-09-25 12:57:26 +02:00
|
|
|
%{_libdir}/pkgconfig/udisks2-btrfs.pc
|
|
|
|
%{_libdir}/pkgconfig/udisks2-lsm.pc
|
|
|
|
%{_libdir}/pkgconfig/udisks2-lvm2.pc
|
2012-02-28 09:35:04 +01:00
|
|
|
%{_datadir}/gir-1.0/UDisks-2.0.gir
|
2017-09-11 14:32:35 +02:00
|
|
|
|
2022-01-27 15:37:50 +01:00
|
|
|
%files docs
|
|
|
|
%doc %{_datadir}/gtk-doc/html/udisks2/
|
|
|
|
|
2023-08-29 17:02:34 +02:00
|
|
|
%files -n libudisks2-%{soversion}_btrfs
|
2018-02-27 10:15:52 +01:00
|
|
|
%dir %{_libdir}/udisks2
|
|
|
|
%dir %{_libdir}/udisks2/modules
|
|
|
|
%{_libdir}/udisks2/modules/libudisks2_btrfs.so
|
|
|
|
%{_datadir}/polkit-1/actions/org.freedesktop.UDisks2.btrfs.policy
|
|
|
|
|
2023-08-29 17:02:34 +02:00
|
|
|
%files -n libudisks2-%{soversion}_lsm
|
2022-01-27 15:37:50 +01:00
|
|
|
%dir %{_sysconfdir}/udisks2/modules.conf.d
|
|
|
|
%attr(0600,root,root) %config %{_sysconfdir}/udisks2/modules.conf.d/udisks2_lsm.conf
|
2018-02-27 10:15:52 +01:00
|
|
|
%dir %{_libdir}/udisks2
|
|
|
|
%dir %{_libdir}/udisks2/modules
|
|
|
|
%{_libdir}/udisks2/modules/libudisks2_lsm.so
|
|
|
|
%{_datadir}/polkit-1/actions/org.freedesktop.UDisks2.lsm.policy
|
|
|
|
%{_mandir}/man5/udisks2_lsm.conf.5%{?ext_man}
|
|
|
|
|
2023-08-29 17:02:34 +02:00
|
|
|
%files -n libudisks2-%{soversion}_lvm2
|
2018-02-27 10:15:52 +01:00
|
|
|
%dir %{_libdir}/udisks2
|
|
|
|
%dir %{_libdir}/udisks2/modules
|
|
|
|
%{_libdir}/udisks2/modules/libudisks2_lvm2.so
|
|
|
|
%{_datadir}/polkit-1/actions/org.freedesktop.UDisks2.lvm2.policy
|
|
|
|
|
2023-08-29 17:02:34 +02:00
|
|
|
%files bash-completion
|
|
|
|
%{_datadir}/bash-completion/completions/udisksctl
|
|
|
|
|
|
|
|
%files zsh-completion
|
|
|
|
%dir %{_datadir}/zsh/site-functions
|
|
|
|
%{_datadir}/zsh/site-functions/_udisks2
|
2012-02-28 09:35:04 +01:00
|
|
|
|
2017-09-11 14:32:35 +02:00
|
|
|
%files lang -f udisks2.lang
|
2012-02-28 09:35:04 +01:00
|
|
|
|
|
|
|
%changelog
|