File gnome-multi-writer.spec of Package gnome-multi-writer

# spec file for package gnome-multi-writer
# Copyright (c) 2016 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

Name:           gnome-multi-writer
Version:        3.20.0
Release:        0
Summary:        Write an ISO file to multiple USB devices at once
License:        GPL-2.0+
Group:          System/GUI/GNOME
BuildRequires:  docbook-utils-minimal
BuildRequires:  gobject-introspection-devel >= 0.9.8
BuildRequires:  hicolor-icon-theme
BuildRequires:  intltool >= 0.50.0
BuildRequires:  update-desktop-files
BuildRequires:  yelp-tools
BuildRequires:  pkgconfig(gio-2.0) >= 2.25.9
BuildRequires:  pkgconfig(glib-2.0) >= 2.45.8
BuildRequires:  pkgconfig(gmodule-2.0)
BuildRequires:  pkgconfig(gobject-2.0)
BuildRequires:  pkgconfig(gtk+-3.0) >= 3.11.2
BuildRequires:  pkgconfig(gudev-1.0)
BuildRequires:  pkgconfig(gusb) >= 0.2.7
BuildRequires:  pkgconfig(libcanberra-gtk3) >= 0.10
BuildRequires:  pkgconfig(udisks2)
Recommends:     %{name}-lang
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

GNOME MultiWriter can be used to write an ISO file to multiple USB devices
at once.
Supported drive sizes are between 1Gb and 32Gb.

MultiWriter may be useful for QA testing, to create a GNOME Live image
or a code sprint or to create hundreds of LiveUSB drives for a trade show.


%setup -q

make %{?_smp_mflags}

make DESTDIR=%{buildroot} install %{?_smp_mflags}
%find_lang %{name} %{?no_lang_C}
%suse_update_desktop_file org.gnome.MultiWriter Filesystem X-GNOME-Utilities



%dir %{_datadir}/appdata
# Just own these dirs, no need to buildrequire polkit
%dir %{_datadir}/polkit-1
%dir %{_datadir}/polkit-1/actions

%files lang -f %{name}.lang