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

#
# spec file for package gnome-disk-utility
#
# Copyright (c) 2012 SUSE LINUX Products 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.4.1
Release:        0
Summary:        Disks application for dealing with storage devices
License:        LGPL-2.0+ and GPL-2.0+
Group:          Hardware/Other
Url:            http://hal.freedesktop.org/releases/
Source:         http://download.gnome.org/sources/gnome-disk-utility/3.4/%{name}-%{version}.tar.xz
BuildRequires:  intltool
BuildRequires:  translation-update-upstream
BuildRequires:  update-desktop-files
BuildRequires:  pkgconfig(gio-unix-2.0) >= 2.31.0
BuildRequires:  pkgconfig(gtk+-3.0) >= 3.3.11
BuildRequires:  pkgconfig(udisks2) >= 1.90.0
Requires:       udisks2
Recommends:     %{name}-lang
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

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

%lang_package
%prep
%setup -q
translation-update-upstream

%build
%configure \
        --disable-static
make %{?_smp_mflags} V=1

%install
%make_install
%suse_update_desktop_file -r -G "Disk Utility" palimpsest GNOME GTK System HardwareSettings
%find_lang %{name} %{?no_lang_C}

%clean
rm -rf %{buildroot}

%post
%desktop_database_post
%icon_theme_cache_post

%postun
%desktop_database_postun
%icon_theme_cache_postun

%files
%defattr(-,root,root,-)
%doc README AUTHORS NEWS COPYING
%{_bindir}/palimpsest
%{_datadir}/applications/palimpsest.desktop
%{_datadir}/gnome-disk-utility/
%{_datadir}/icons/hicolor/*/apps/palimpsest.*

%files lang -f %{name}.lang

%changelog
openSUSE Build Service is sponsored by