[1747] | 1 | %define _version 1.6.0 |
---|
[521] | 2 | Name: uget |
---|
| 3 | Version: %{_version} |
---|
[607] | 4 | Release: 1%{?_dist_release} |
---|
[521] | 5 | Summary: Uget is a download manager that using gtk+2 and curl |
---|
| 6 | Summary(ja): Uget - gtk+2 と curl を用いたダウンロードマネージャ |
---|
| 7 | |
---|
| 8 | Group: Applications/Internet |
---|
| 9 | License: LGPLv2+ |
---|
| 10 | URL: http://urlget.sourceforge.net/ |
---|
| 11 | Source0: http://downloads.sourceforge.net/urlget/%{name}-%{_version}.tar.gz |
---|
[1747] | 12 | #Patch0: uget-1.5.0.1-crash-with-invalid-uri.patch |
---|
[521] | 13 | |
---|
| 14 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 15 | |
---|
| 16 | BuildRequires: desktop-file-utils gettext |
---|
[1747] | 17 | BuildRequires: gtk2-devel => 2.18 glib2-devel => 2.22 openldap-devel |
---|
| 18 | BuildRequires: curl-devel => 7.19.1 |
---|
| 19 | BuildRequires: perl-XML-Parser |
---|
[521] | 20 | BuildRequires: gstreamer-devel libnotify-devel |
---|
| 21 | |
---|
| 22 | %description |
---|
| 23 | Uget is a download manager that using gtk+2 and curl. |
---|
| 24 | |
---|
| 25 | %description -l ja |
---|
| 26 | Uget は gtk+2 と curl を用いたダウンロードマネージャです。 |
---|
| 27 | |
---|
| 28 | %prep |
---|
| 29 | %setup -q -n %{name}-%{_version} |
---|
[1747] | 30 | #%patch0 -p1 -b .invalid_uri |
---|
[521] | 31 | |
---|
| 32 | %build |
---|
| 33 | %configure |
---|
| 34 | make -k %{?_smp_mflags} |
---|
| 35 | |
---|
| 36 | %install |
---|
| 37 | rm -rf $RPM_BUILD_ROOT |
---|
| 38 | make install \ |
---|
| 39 | DESTDIR=$RPM_BUILD_ROOT \ |
---|
| 40 | INSTALL="install -p" |
---|
| 41 | |
---|
| 42 | %find_lang %{name} |
---|
| 43 | |
---|
| 44 | desktop-file-install \ |
---|
| 45 | --dir $RPM_BUILD_ROOT%{_datadir}/applications/ \ |
---|
| 46 | %{name}-gtk.desktop |
---|
| 47 | |
---|
| 48 | %clean |
---|
| 49 | rm -rf $RPM_BUILD_ROOT |
---|
| 50 | |
---|
| 51 | %post |
---|
| 52 | touch --no-create %{_datadir}/icons/hicolor || : |
---|
| 53 | %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : |
---|
| 54 | update-desktop-database > /dev/null 2>&1 || : |
---|
| 55 | |
---|
| 56 | |
---|
| 57 | %postun |
---|
| 58 | touch --no-create %{_datadir}/icons/hicolor || : |
---|
| 59 | %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : |
---|
| 60 | update-desktop-database > /dev/null 2>&1 || : |
---|
| 61 | |
---|
| 62 | %files -f %{name}.lang |
---|
| 63 | %defattr(-,root,root,-) |
---|
| 64 | %doc COPYING ChangeLog README |
---|
| 65 | %{_bindir}/%{name}-gtk |
---|
| 66 | %{_datadir}/applications/%{name}-gtk.desktop |
---|
| 67 | %{_datadir}/icons/* |
---|
| 68 | %{_datadir}/sounds/* |
---|
| 69 | |
---|
| 70 | %changelog |
---|
[1747] | 71 | * Thu Sep 2 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.6.0-1 |
---|
| 72 | - new upstream release |
---|
| 73 | - dropt Pacth1 |
---|
| 74 | - changed BuildRequires: gtk2-devel => 2.18, glib2-devel => 2.22, curl-devel => 7.19.1 |
---|
| 75 | |
---|
[617] | 76 | * Sat Mar 20 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.5.0.3-1 |
---|
| 77 | - new upstream release |
---|
| 78 | |
---|
[607] | 79 | * Thu Mar 18 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.5.0.2-1 |
---|
| 80 | - new upstream release |
---|
| 81 | - applied new naming policy to spec |
---|
| 82 | |
---|
[521] | 83 | * Wed Jan 17 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.5.0.1-2 |
---|
| 84 | - added Patch1 from Fedora to fix segv when invalid uri is passed to the argument |
---|
| 85 | |
---|
| 86 | * Wed Dec 23 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.5.0.1-1 |
---|
| 87 | - new upstream release |
---|
| 88 | - added BuildRequires: gstreamer-devel libnotify-devel |
---|
| 89 | |
---|
| 90 | * Thu Oct 8 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.5.0-1 |
---|
| 91 | - initial build for VineSeed |
---|
| 92 | |
---|
| 93 | * Sat May 2 2009 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.4.7-1 |
---|
| 94 | - Initial packaging |
---|