Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2
uget
uget.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File uget.spec of Package uget
# # spec file for package uget # # 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: uget Version: 1.8.2 Release: 0 Summary: Easy-to-use GTK+ Download Manager License: LGPL-2.1+ Group: Productivity/Networking/Web/Utilities Url: http://urlget.sourceforge.net/ Source: http://downloads.sourceforge.net/project/urlget/uget%20%28stable%29/1.8.2/%{name}-%{version}.tar.gz # PATCH-FIX-UPSTREAM uget-gtk-deprecation.patch sf#3388226 dimstar@opensuse.org -- Replace deprecated gtk_[hv].*_new with current equivalents. Patch0: uget-gtk-deprecation.patch BuildRequires: glib2-devel BuildRequires: gstreamer-0_10-devel BuildRequires: intltool %if 0%{?WITH_APPINDICATOR} BuildRequires: libappindicator-devel %endif BuildRequires: libcurl-devel BuildRequires: libnotify-devel BuildRequires: update-desktop-files %if 0%{?favor_gtk2} BuildRequires: gtk2-devel %else BuildRequires: pkgconfig(gtk+-3.0) %endif Requires: aria2 Recommends: %{name}-lang BuildRoot: %{_tmppath}/%{name}-%{version}-build %description 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. %lang_package %prep %setup -q %if ! (0%{?favor_gtk2}) %patch0 -p1 %endif %build %configure \ %if ! (0%{?favor_gtk2}) --with-gtk3 \ %endif %if 0%{?WITH_APPINDICATOR} --enable-appindicator=yes %endif %__make %{?_smp_mflags} V=1 %install %make_install %suse_update_desktop_file %{name}-gtk %find_lang %{name} %{?no_lang_C} %clean rm -rf %{buildroot} %post %if 0%{?suse_version} > 1130 %desktop_database_post %icon_theme_cache_post %else gtk-update-icon-cache %{_datadir}/icons/hicolor || true %endif %postun %if 0%{?suse_version} > 1130 %desktop_database_postun %icon_theme_cache_postun %else gtk-update-icon-cache %{_datadir}/icons/hicolor || true %endif %files %defattr(-,root,root) %doc AUTHORS ChangeLog README COPYING %{_bindir}/%{name}-gtk %{_datadir}/applications/%{name}-gtk.desktop %{_datadir}/sounds/%{name}/ %{_datadir}/icons/hicolor/*/apps/%{name}-downloading.* %{_datadir}/icons/hicolor/*/apps/%{name}-error.* %{_datadir}/icons/hicolor/*/apps/%{name}-icon.* %files lang -f %{name}.lang %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor