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

#
# spec file for package gnome-multi-writer
#
# Copyright (c) 2015 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-multi-writer
Version:        3.16.0
Release:        0
Summary:        Write an ISO file to multiple USB devices at once
License:        GPL-2.0+
Group:          System/GUI/GNOME
Url:            https://wiki.gnome.org/Apps/MultiWriter
Source:         http://download.gnome.org/sources/gnome-multi-writer/3.16/%{name}-%{version}.tar.xz
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.31.10
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.2
BuildRequires:  pkgconfig(libcanberra-gtk3) >= 0.10
BuildRequires:  pkgconfig(udisks2)
Recommends:     %{name}-lang
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
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.

%lang_package

%prep
%setup -q

%build
%configure
make %{?_smp_mflags}

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

%post
%{icon_theme_cache_post}
%{glib2_gsettings_schema_post}

%postun
%{icon_theme_cache_postun}
%{glib2_gsettings_schema_postun}

%files
%defattr(-,root,root)
%doc COPYING
%{_bindir}/%{name}
%{_bindir}/gnome-multi-writer-probe
%{_datadir}/glib-2.0/schemas/org.gnome.MultiWriter.gschema.xml
%{_datadir}/applications/org.gnome.MultiWriter.desktop
%dir %{_datadir}/appdata
%{_datadir}/appdata/org.gnome.MultiWriter.appdata.xml
%{_datadir}/icons/hicolor/*/apps/gnome-multi-writer.*
%{_datadir}/polkit-1/actions/org.gnome.MultiWriter.policy
%{_mandir}/man1/gnome-multi-writer.1%{?ext_man}

%files lang -f %{name}.lang
%defattr(-,root,root)

%changelog
openSUSE Build Service is sponsored by