c12172
Name:		uget
a3a201
Version:	1.5.0.1
ee4416
Release:	2%{?dist}
c12172
Summary:	Download manager using GTK+ and libcurl
c12172
c12172
Group:		Applications/Internet
c12172
License:	LGPLv2+
c12172
URL:		http://urlget.sourceforge.net/
c12172
Source0:	http://downloads.sourceforge.net/urlget/%{name}-%{version}.tar.gz
ee4416
# The following change already appears in upstream trunk/src/ug_uri.c
ee4416
# rev 273
ee4416
# Patch to fix bug 556907
ee4416
Patch0:		uget-1.5.0.1-crash-with-invalid-uri.patch
c12172
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
c12172
c12172
BuildRequires:	desktop-file-utils
4f6dfc
BuildRequires:	gstreamer-devel
c12172
BuildRequires:	gtk2-devel
540fcd
BuildRequires:	intltool
c12172
BuildRequires:	libcurl-devel
9a71b8
BuildRequires:	libnotify-devel
c12172
c12172
Obsoletes:	urlgfe < 1.0.4
c12172
Provides:	urlgfe = %{name}-%{version}
c12172
c12172
%description
c12172
Uget is a download manager that allows you to import downloads
c12172
from HTML files and classify them by categories. Every category has an
c12172
independent configuration that can be inherited by each download in that
c12172
category.
c12172
Uget is the successor of urlgfe, which was called URLget before.
c12172
c12172
%prep
c12172
%setup -q
ee4416
%patch0 -p1 -b .invalid_uri
c12172
c12172
%build
c12172
%configure
c12172
make -k %{?_smp_mflags}
c12172
c12172
%install
c12172
rm -rf $RPM_BUILD_ROOT
c12172
make install \
c12172
	DESTDIR=$RPM_BUILD_ROOT \
c12172
	INSTALL="install -p"
c12172
desktop-file-install \
c12172
	--dir $RPM_BUILD_ROOT%{_datadir}/applications \
20f795
	--delete-original \
20f795
	$RPM_BUILD_ROOT%{_datadir}/applications/%{name}-gtk.desktop
20f795
4f6dfc
%find_lang %{name}
4f6dfc
c12172
%clean
c12172
rm -rf $RPM_BUILD_ROOT
c12172
20f795
%post
20f795
touch --no-create %{_datadir}/icons/hicolor
20f795
exit 0
20f795
20f795
%postun
20f795
[ $1 -eq 0 ] || exit 0
20f795
touch --no-create %{_datadir}/icons/hicolor
20f795
gtk-update-icon-cache -q %{_datadir}/icons/hicolor
20f795
exit 0
20f795
20f795
%posttrans
20f795
gtk-update-icon-cache -q %{_datadir}/icons/hicolor
20f795
exit 0
20f795
4f6dfc
%files -f %{name}.lang
c12172
%defattr(-,root,root,-)
6efb4f
%doc	AUTHORS
c12172
%doc	COPYING
c12172
%doc	ChangeLog
c12172
%doc	README
c12172
%{_bindir}/%{name}-gtk
20f795
20f795
%{_datadir}/applications/%{name}-gtk.desktop
77648a
%{_datadir}/icons/hicolor/*/apps/%{name}-icon.*
4f6dfc
%{_datadir}/sounds/%{name}/
c12172
c12172
%changelog
ee4416
* Fri Jan 22 2010 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.5.0.1-2
ee4416
- Fix segv when invalid uri is passed to the argument (bug 556907)
ee4416
a3a201
* Wed Dec 23 2009 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.5.0.1-1
a3a201
- 1.5.0.1 (which should fix bug 546289)
a3a201
a3a201
* Fri Oct  2 2009 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.5.0-1
77648a
- 1.5.0
77648a
c3db4d
* Thu Sep  3 2009 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.4.9.3-1
c3db4d
- 1.4.9.3
c3db4d
4f6dfc
* Wed Aug  5 2009 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.4.9.2-1
4f6dfc
- 1.4.9.2
4f6dfc
8176dd
* Sat Jul 25 2009 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.4.9.1-2
8176dd
- F-12: Mass rebuild
8176dd
9a71b8
* Wed Jul 23 2009 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.4.9.1-1
9a71b8
- 1.4.9.1
9a71b8
9a71b8
* Wed Jul  8 2009 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.4.9-1
2c296b
- 1.4.9
2c296b
ed619d
* Wed Jun 17 2009 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.4.8.5-2
ed619d
- F-12: Rebuild to create valid debuginfo rpm again (ref: 505774)
ed619d
93cc34
* Mon Jun 15 2009 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.4.8.5-1
93cc34
- 1.4.8.5
93cc34
6efb4f
* Wed Jun 10 2009 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.4.8.4-1
6efb4f
- 1.4.8.4
6efb4f
8cbc9b
* Mon May 25 2009 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.4.8.3-1
8cbc9b
- 1.4.8.3
8cbc9b
806ae3
* Sun May 17 2009 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.4.8.2-1
806ae3
- 1.4.8.2
806ae3
20f795
* Thu May 14 2009 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.4.8.1-1
20f795
- 1.4.8.1
20f795
c12172
* Mon May  4 2009 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.4.7-2
c12172
- More detailed summary/description suggested by Christoph Wickert
c12172
  <fedora@christoph-wickert.de>
c12172
c12172
* Sat May  2 2009 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.4.7-1
c12172
- Initial packaging