c0abba
Name:		uget
c0abba
Version:	1.4.7
c0abba
Release:	1%{?dist}
c0abba
Summary:	Download manager using GTK+ and libcurl
c0abba
c0abba
Group:		Applications/Internet
c0abba
License:	LGPLv2+
c0abba
URL:		http://urlget.sourceforge.net/
c0abba
Source0:	http://downloads.sourceforge.net/urlget/%{name}-%{version}.tar.gz
c0abba
Source1:	uget.desktop
c0abba
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
c0abba
c0abba
BuildRequires:	desktop-file-utils
c0abba
BuildRequires:	gtk2-devel
c0abba
BuildRequires:	libcurl-devel
c0abba
c0abba
%if 0%{?fedora} >= 11
c0abba
# Let's obsolete urlgfe on F-11+
c0abba
Obsoletes:	urlgfe < 1.0.4
c0abba
Provides:	urlgfe = %{name}-%{version}
c0abba
%endif
c0abba
c0abba
%description
c0abba
Uget is a download manager that allows you to import downloads
c0abba
from HTML files and classify them by categories. Every category has an
c0abba
independent configuration that can be inherited by each download in that
c0abba
category.
c0abba
Uget is the successor of urlgfe, which was called URLget before.
c0abba
c0abba
%prep
c0abba
%setup -q
c0abba
chmod 0644 [A-Z]*
c0abba
c0abba
%build
c0abba
%configure
c0abba
make -k %{?_smp_mflags}
c0abba
c0abba
%install
c0abba
rm -rf $RPM_BUILD_ROOT
c0abba
make install \
c0abba
	DESTDIR=$RPM_BUILD_ROOT \
c0abba
	INSTALL="install -p"
c0abba
desktop-file-install \
c0abba
	--dir $RPM_BUILD_ROOT%{_datadir}/applications \
c0abba
	%{SOURCE1}
c0abba
c0abba
%clean
c0abba
rm -rf $RPM_BUILD_ROOT
c0abba
c0abba
%files
c0abba
%defattr(-,root,root,-)
c0abba
%doc	COPYING
c0abba
%doc	ChangeLog
c0abba
%doc	README
c0abba
%{_bindir}/%{name}-gtk
c0abba
%{_datadir}/applications/%{name}.desktop
c0abba
c0abba
%changelog
c0abba
* Mon May  4 2009 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.4.7-2
c0abba
- More detailed summary/description suggested by Christoph Wickert
c0abba
  <fedora@christoph-wickert.de>
c0abba
c0abba
* Sat May  2 2009 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.4.7-1
c0abba
- Initial packaging