File uget.spec of Package uget

# spec file for package uget
# Copyright (c) 2011 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

Name:           uget
Version:        1.6.2
Release:        2
# FIXME: check if SUSE_ASNEEDED=0 is still needed (last checked: 1.6.2)
License:        LGPLv2.1+
Summary:        Easy-to-use GTK+ Download Manager
Group:          Productivity/Networking/Web/Utilities
Source:         %{name}-%{version}.tar.bz2
BuildRequires:  glib2-devel >= 2.22
BuildRequires:  gstreamer-0_10-devel
BuildRequires:  gtk2-devel >= 2.22
BuildRequires:  intltool
BuildRequires:  libcurl-devel
BuildRequires:  libnotify-devel
BuildRequires:  update-desktop-files
Recommends:     %{name}-lang
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

Uget is a easy-to-use download manager written in GTK+. It supports
pause and resume, and the ability to classify download, with every
category having an independent configuration.

%setup -q

%__make %{?_smp_mflags}

%suse_update_desktop_file %{name}-gtk
%find_lang %{name} %{?no_lang_C}

rm -rf %{buildroot}

%if 0%{?suse_version} > 1130
gtk-update-icon-cache %{_datadir}/icons/hicolor || true

%if 0%{?suse_version} > 1130
gtk-update-icon-cache %{_datadir}/icons/hicolor || true


%files lang -f %{name}.lang