%define name gwget %define version 1.0.4 %define release 3%{?_dist_release} Summary: Download manager for Gnome Summary(ja): Gnome 用ダウンロードマネージャ Name: %{name} Version: %{version} Release: %{release} Source0: http://ftp.gnome.org/pub/GNOME/sources/gwget/0.99/%{name}-%{version}.tar.bz2 License: GPLv2+ Group: Applications/Internet URL: http://www.gnome.org/projects/gwget/ BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRequires: gtk2-devel >= 2.10 BuildRequires: libgnomeui-devel BuildRequires: libglade2-devel, gnome-vfs2-devel BuildRequires: dbus-devel BuildRequires: libnotify-devel BuildRequires: libSM-devel BuildRequires: intltool >= 0.35.0 BuildRequires: gettext >= 0.14.1 BuildRequires: desktop-file-utils Requires: wget, GConf2 Requires(post): GConf2 Requires(post): desktop-file-utils Requires(pre): GConf2 Requires(preun): GConf2 Requires(postun): desktop-file-utils %description Gwget it's a download manager for the Gnome Desktop. It supports resume, notification space, recursive download and drag & drop. %description -l ja Gwget は Gnome Desktop 向けのダウンロードマネージャです。 レジュームや通知スペース、再帰ダウンロード、ドラッグ&ドロップ に対応しています。 %prep %setup -q %build %configure --disable-epiphany-extension --disable-static make %{?_smp_mflags} %install %{__rm} -rf ${RPM_BUILD_ROOT} export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 %makeinstall unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL %find_lang %{name} #remove unnecessary files. %{__rm} -rf ${RPM_BUILD_ROOT}/%{_includedir}/gwget %clean %{__rm} -rf ${RPM_BUILD_ROOT} %post update-desktop-database -q export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/gwget.schemas > /dev/null %pre if [ "$1" -gt 1 ]; then export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/gwget.schemas > /dev/null fi %preun if [ "$1" = "0" ] ; then export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/gwget.schemas > /dev/null fi %postun update-desktop-database -q %files -f %{name}.lang %defattr(-,root,root) %doc AUTHORS COPYING ChangeLog INSTALL NEWS README THANKS TODO %{_bindir}/gwget %{_sysconfdir}/gconf/schemas/gwget.schemas %{_datadir}/applications/gwget.desktop %{_datadir}/gwget %{_datadir}/pixmaps/gwget.png %{_datadir}/dbus-1/services/org.gnome.gwget.service %changelog * Sun Feb 12 2012 Toshiharu Kudoh 1.0.4-3 - rebuilt with rpm-4.8.1 * Sun Jan 24 2010 Toshiharu Kudoh 1.0.4-2 - added BuildRequires: libSM-devel (see [BTS:VineLinux:0900]) * Tue Oct 20 2009 Toshiharu Kudoh 1.0.4-1 - new upstream release * Sun Oct 11 2009 Toshiharu Kudoh 1.0.2-1 - new upstream release - added --disable-static in configure option - changed make %{?_smp_mflags} - added BuildRequires: libnotify-devel, intltool >= 0.35.0, gettext >= 0.14.1, desktop-file-utils * Sat May 23 2009 Ryoichi INAGAKI 1.0.1-1 - applied new versioning policy, spec in UTF-8 - new upstream release * Wed Jul 25 2007 Kazutaka HARADA 0.99-0vl1 - rebuild for Vine Seed. - add requried gtk2 version >= 2.10. * Wed Jul 25 2007 Kazutaka HARADA 0.98.2-0vl1 - initial build for Vine Plus/4.0.