uget-vl.spec 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. %define _version 1.10.3
  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}/pixmaps/*
  53. %{_datadir}/sounds/*
  54. %changelog
  55. * Sat Feb 09 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.10.3-1
  56. - new upstream release
  57. * Sun Oct 28 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.10.2-1
  58. - new upstream release
  59. * Sat Sep 29 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.10.1-1
  60. - new upstream release
  61. * Sat Sep 08 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.10-1
  62. - new upstream release
  63. - changed BuildRequires: gtk3-devel to >= 3.4, glib2-devel => 2.22 to 2.32
  64. - disabled conditional branch
  65. - because needed gtk3-3.4+
  66. - delted %%configure option --with-gtk3
  67. * Tue May 29 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.8.2-1
  68. - new upstream release
  69. * Sat Apr 28 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.8.1-1
  70. - new upstream release
  71. - set conditional branch for VineSeed and other
  72. * Thu Jun 09 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.8.0-1
  73. - new upstream release
  74. - added %%configure option --disable-plugin-aria2 --enable-appindicator=no
  75. * Thu May 5 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.6.4-1
  76. - new upstream release
  77. * Sun Dec 19 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.6.2a-1
  78. - new upstream release
  79. * Sat Oct 30 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.6.1-1
  80. - new upstream release
  81. * Thu Sep 2 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.6.0-1
  82. - new upstream release
  83. - dropt Pacth1
  84. - changed BuildRequires: gtk2-devel => 2.18, glib2-devel => 2.22, curl-devel => 7.19.1
  85. * Sat Mar 20 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.5.0.3-1
  86. - new upstream release
  87. * Thu Mar 18 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.5.0.2-1
  88. - new upstream release
  89. - applied new naming policy to spec
  90. * Sun Jan 17 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.5.0.1-2
  91. - added Patch1 from Fedora to fix segv when invalid uri is passed to the argument
  92. * Wed Dec 23 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.5.0.1-1
  93. - new upstream release
  94. - added BuildRequires: gstreamer-devel libnotify-devel
  95. * Thu Oct 8 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.5.0-1
  96. - initial build for VineSeed
  97. * Sat May 2 2009 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.4.7-1
  98. - Initial packaging