uget-vl.spec 3.7 KB

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