gwget-vl.spec 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. %define name gwget
  2. %define version 1.0.4
  3. %define release 2%{?_dist_release}
  4. Summary: Download manager for Gnome
  5. Summary(ja): Gnome 用ダウンロードマネージャ
  6. Name: %{name}
  7. Version: %{version}
  8. Release: %{release}
  9. Source0: http://ftp.gnome.org/pub/GNOME/sources/gwget/0.99/%{name}-%{version}.tar.bz2
  10. License: GPLv2+
  11. Group: Applications/Internet
  12. URL: http://www.gnome.org/projects/gwget/
  13. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  14. BuildRequires: gtk2-devel >= 2.10
  15. BuildRequires: libgnomeui-devel
  16. BuildRequires: libglade2-devel, gnome-vfs2-devel
  17. BuildRequires: dbus-devel
  18. BuildRequires: libnotify-devel
  19. BuildRequires: libSM-devel
  20. BuildRequires: intltool >= 0.35.0
  21. BuildRequires: gettext >= 0.14.1
  22. BuildRequires: desktop-file-utils
  23. Requires: wget, GConf2
  24. Requires(post): GConf2
  25. Requires(post): desktop-file-utils
  26. Requires(pre): GConf2
  27. Requires(preun): GConf2
  28. Requires(postun): desktop-file-utils
  29. %description
  30. Gwget it's a download manager for the Gnome Desktop.
  31. It supports resume, notification space, recursive download and
  32. drag & drop.
  33. %description -l ja
  34. Gwget は Gnome Desktop 向けのダウンロードマネージャです。
  35. レジュームや通知スペース、再帰ダウンロード、ドラッグ&ドロップ
  36. に対応しています。
  37. %prep
  38. %setup -q
  39. %build
  40. %configure --disable-epiphany-extension --disable-static
  41. make %{?_smp_mflags}
  42. %install
  43. %{__rm} -rf ${RPM_BUILD_ROOT}
  44. export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
  45. %makeinstall
  46. unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
  47. %find_lang %{name}
  48. #remove unnecessary files.
  49. %{__rm} -rf ${RPM_BUILD_ROOT}/%{_includedir}/gwget
  50. %clean
  51. %{__rm} -rf ${RPM_BUILD_ROOT}
  52. %post
  53. update-desktop-database -q
  54. export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  55. gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/gwget.schemas > /dev/null
  56. %pre
  57. if [ "$1" -gt 1 ]; then
  58. export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  59. gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/gwget.schemas > /dev/null
  60. fi
  61. %preun
  62. if [ "$1" = "0" ] ; then
  63. export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  64. gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/gwget.schemas > /dev/null
  65. fi
  66. %postun
  67. update-desktop-database -q
  68. %files -f %{name}.lang
  69. %defattr(-,root,root)
  70. %doc AUTHORS COPYING ChangeLog INSTALL NEWS README THANKS TODO
  71. %{_bindir}/gwget
  72. %{_sysconfdir}/gconf/schemas/gwget.schemas
  73. %{_datadir}/applications/gwget.desktop
  74. %{_datadir}/gwget
  75. %{_datadir}/pixmaps/gwget.png
  76. %{_datadir}/dbus-1/services/org.gnome.gwget.service
  77. %changelog
  78. * Sun Jan 24 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.0.4-2
  79. - added BuildRequires: libSM-devel (see [BTS:VineLinux:0900])
  80. * Tue Oct 20 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.0.4-1
  81. - new upstream release
  82. * Sun Oct 11 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.0.2-1
  83. - new upstream release
  84. - added --disable-static in configure option
  85. - changed make %{?_smp_mflags}
  86. - added BuildRequires: libnotify-devel, intltool >= 0.35.0, gettext >= 0.14.1, desktop-file-utils
  87. * Sat May 23 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.1-1
  88. - applied new versioning policy, spec in UTF-8
  89. - new upstream release
  90. * Wed Jul 25 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.99-0vl1
  91. - rebuild for Vine Seed.
  92. - add requried gtk2 version >= 2.10.
  93. * Wed Jul 25 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.98.2-0vl1
  94. - initial build for Vine Plus/4.0.