File gnome-disk-utility.spec of Package gnome-disk-utility
#
# spec file for package gnome-disk-utility
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# 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/
#
Name: gnome-disk-utility
Version: 3.26.2
Release: 0
Summary: Disks application for dealing with storage devices
License: GPL-2.0+
Group: Hardware/Other
Url: https://wiki.gnome.org/Apps/Disks
Source: http://download.gnome.org/sources/gnome-disk-utility/3.26/%{name}-%{version}.tar.xz
BuildRequires: docbook-xsl-stylesheets
BuildRequires: meson
BuildRequires: pkgconfig
BuildRequires: update-desktop-files
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.12.0
BuildRequires: pkgconfig(libcanberra-gtk3) >= 0.1
BuildRequires: pkgconfig(liblzma) >= 5.0.5
BuildRequires: pkgconfig(libnotify) >= 0.7
BuildRequires: pkgconfig(libsecret-1) >= 0.7
BuildRequires: pkgconfig(libsystemd)
BuildRequires: pkgconfig(pwquality) >= 1.0.0
BuildRequires: pkgconfig(udisks2) >= 2.1.1
Requires: udisks2
Recommends: %{name}-lang
BuildRequires: translation-update-upstream
%description
The gnome-disk-utility project provides the Disks application for
dealing with storage devices.
%lang_package
%prep
%setup -q
translation-update-upstream po gnome-disk-utility
%build
%{meson}
%{meson_build}
%install
%{meson_install}
%suse_update_desktop_file -r -G "Disk Utility" org.gnome.DiskUtility GNOME GTK System HardwareSettings
%suse_update_desktop_file -r -G "Disk Utility" gnome-disk-image-mounter GNOME GTK System HardwareSettings
%suse_update_desktop_file -r -G "Disk utility" gnome-disk-image-writer GNOME GTK System HardwareSettings
%find_lang %{name} %{?no_lang_C}
%files
%doc README AUTHORS NEWS COPYING
%{_bindir}/gnome-disks
%{_bindir}/gnome-disk-image-mounter
%{_datadir}/applications/*.desktop
%{_datadir}/glib-2.0/schemas/org.gnome.Disks.gschema.xml
%{_datadir}/icons/hicolor/*/apps/gnome-disks*
%{_mandir}/man1/gnome-disk-image-mounter.1%{?ext_man}
%{_mandir}/man1/gnome-disks.1%{?ext_man}
%dir %{_datadir}/metainfo
%{_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
%{_sysconfdir}/xdg/autostart/org.gnome.SettingsDaemon.DiskUtilityNotify.desktop
%files lang -f %{name}.lang
%changelog