File gnome-disk-utility.spec of Package gnome-disk-utility

# spec file for package gnome-disk-utility
# Copyright (c) 2024 SUSE LLC
# 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

Name:           gnome-disk-utility
Version:        46.0
Release:        0
Summary:        Disks application for dealing with storage devices
License:        GPL-2.0-or-later
Group:          Hardware/Other
Source0:        %{name}-%{version}.tar.zst

BuildRequires:  appstream-glib
BuildRequires:  desktop-file-utils
BuildRequires:  docbook-xsl-stylesheets
BuildRequires:  meson >= 0.50.0
BuildRequires:  pkgconfig
BuildRequires:  xsltproc
BuildRequires:  pkgconfig(dvdread) >= 4.2.0
BuildRequires:  pkgconfig(gio-unix-2.0) >= 2.31.0
BuildRequires:  pkgconfig(gmodule-2.0)
BuildRequires:  pkgconfig(gtk+-3.0) >= 3.16.0
BuildRequires:  pkgconfig(libcanberra-gtk3) >= 0.1
BuildRequires:  pkgconfig(libhandy-1) >= 1.5.0
BuildRequires:  pkgconfig(liblzma) >= 5.0.5
BuildRequires:  pkgconfig(libnotify) >= 0.7
BuildRequires:  pkgconfig(libsecret-1) >= 0.7
BuildRequires:  pkgconfig(libsystemd) >= 209
BuildRequires:  pkgconfig(pwquality) >= 1.0.0
BuildRequires:  pkgconfig(udisks2) >= 2.7.6
Requires:       udisks2

The gnome-disk-utility project provides the Disks application for
dealing with storage devices.


%autosetup -p1

%meson \
%if !0%{?sle_version}
	--sysconfdir=%{_distconfdir} \
	-Dlogind=libsystemd \
	-Dgsd_plugin=true \
	-Dman=true \


%find_lang %{name} %{?no_lang_C}

appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/org.gnome.DiskUtility.appdata.xml
desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop

%license COPYING
# The session / settings daemon plugin:
%if !0%{?sle_version}

%files lang -f %{name}.lang

openSUSE Build Service is sponsored by