forked from pool/gnome-disk-utility
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-disk-utility?expand=0&rev=174
100 lines
3.0 KiB
RPMSpec
100 lines
3.0 KiB
RPMSpec
#
|
|
# 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 https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: gnome-disk-utility
|
|
Version: 46.1
|
|
Release: 0
|
|
Summary: Disks application for dealing with storage devices
|
|
License: GPL-2.0-or-later
|
|
Group: Hardware/Other
|
|
URL: https://wiki.gnome.org/Apps/Disks
|
|
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
|
|
|
|
%description
|
|
The gnome-disk-utility project provides the Disks application for
|
|
dealing with storage devices.
|
|
|
|
%lang_package
|
|
|
|
%prep
|
|
%autosetup -p1
|
|
|
|
%build
|
|
%meson \
|
|
%if !0%{?sle_version}
|
|
--sysconfdir=%{_distconfdir} \
|
|
%endif
|
|
-Dlogind=libsystemd \
|
|
-Dgsd_plugin=true \
|
|
-Dman=true \
|
|
%{nil}
|
|
%meson_build
|
|
|
|
%install
|
|
%meson_install
|
|
|
|
%find_lang %{name} %{?no_lang_C}
|
|
|
|
%check
|
|
appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/org.gnome.DiskUtility.appdata.xml
|
|
desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
|
|
|
|
%files
|
|
%license COPYING
|
|
%doc AUTHORS HACKING NEWS README.md TODO
|
|
%{_bindir}/gnome-disks
|
|
%{_bindir}/gnome-disk-image-mounter
|
|
%{_datadir}/applications/*.desktop
|
|
%{_datadir}/glib-2.0/schemas/org.gnome.Disks.gschema.xml
|
|
%{_datadir}/icons/hicolor/
|
|
%{_mandir}/man1/gnome-disk-image-mounter.1%{?ext_man}
|
|
%{_mandir}/man1/gnome-disks.1%{?ext_man}
|
|
%{_datadir}/metainfo/org.gnome.DiskUtility.appdata.xml
|
|
%{_datadir}/dbus-1/services/org.gnome.DiskUtility.service
|
|
# The session / settings daemon plugin:
|
|
%{_libexecdir}/gsd-disk-utility-notify
|
|
%if !0%{?sle_version}
|
|
%{_distconfdir}/xdg/autostart/org.gnome.SettingsDaemon.DiskUtilityNotify.desktop
|
|
%else
|
|
%{_sysconfdir}/xdg/autostart/org.gnome.SettingsDaemon.DiskUtilityNotify.desktop
|
|
%endif
|
|
|
|
%files lang -f %{name}.lang
|
|
|
|
%changelog
|