uget-vl.spec 3.9 KB

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