uget-vl.spec 2.7 KB

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