Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37526143
en ru br
Репозитории ALT
S:1.0.4-alt5
5.1: 1.0.4-alt1
4.1: 0.99-alt2.svn20080309
4.0: 0.98.2-alt2
3.0: 0.95-alt1
www.altlinux.org/Changes

Группа :: Сети/Передача файлов
Пакет: gwget

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

##%%set_verify_elf_method relaxed
%define svnver svn20080309
%def_enable svn
%def_enable epiphany

Name: gwget
Version: 0.99

%if_enabled svn
Release: alt2.%svnver
%else
Release: alt3
%endif

Summary: Gwget - Gnome2 wget Front-end
License: GPLv2+
Group: Networking/File transfer
URL: http://gnome.org/projects/gwget

%if_enabled svn
Source: %name-%version-%svnver.tar.bz2
%else
Source: http://ftp.gnome.org/pub/GNOME/sources/gwget/%version/%name-%version.tar.bz2
%endif

Patch1: %name-0.99-epiphany.patch
Patch2: %name-0.99-svn-epiphany.patch
Patch3: %name-0.99-alt-fix-build.patch

Provides: gwget2

BuildRequires: epiphany-devel gcc-c++ libgnomeui-devel libnotify-devel
BuildRequires: libgtk+2-devel fontconfig gcc-c++ GConf libavahi-glib libdbus-devel libdbus-glib-devel libbonoboui-devel
BuildRequires: libICE-devel libX11-devel libSM-devel perl-XML-Parser zlib-devel libGConf-devel

Requires(post,postun): desktop-file-utils
BuildPreReq: desktop-file-utils

Requires: wget
PreReq: GConf

%description
Gwget: Gnome2 wget Front-end.
Gwget it's a download manager for the Gnome Desktop. The main features are:
* Resume: By default, gwget tries to continue any download.
* Notification: Gwget tries to use the Gnome notification area support,
 if available. You can close the main window and gwget runs in the background.
* Recursivity: Gwget detects when you put a html, php, asp or a web page dir
 in the url to download, and ask you
 to only download certain files (multimedia, only the index, and so on).
* Drag & Drop: You can d&d a url to the main gwget window or
 the notification area icon to add a new download.

%if_enabled epiphany

%package -n epiphany-extension-gwget
Summary: Gwget extention for Epiphany browser
Group: Networking/File transfer
Requires:       %name = %version-%release
Requires:       epiphany epiphany-extensions
BuildRequires: epiphany-devel

%description -n epiphany-extension-gwget
Extention Gwget for Epiphany browser
%endif

%prep
%setup -q

%if_enabled svn
%patch2 -p1
%else
%patch1 -p1
%endif
%patch3 -p1

%build
%if_enabled svn
intltoolize --force
%__libtoolize
%__aclocal
%__autoconf
%__autoheader
%__automake -a -c --foreign
%endif

intltoolize --force
%autoreconf



%configure  \
%if_enabled epiphany
   --enable-epiphany-extension \
%endif
   --disable-static

%make_build

%install
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
%make_install install DESTDIR=%buildroot
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL

# remove none-packaged files

%__rm -f %buildroot%_libdir/epiphany/*/extensions/*.{a,la}

# menus

## %__mkdir_p %buildroot/%_menudir
## freedesktop2menu.pl %name "Applications/Network" \
## %buildroot/%_datadir/applications/%name.desktop \
## %buildroot/%_menudir/%name

%find_lang --with-gnome %name

%post
%gconf2_install %name
%update_menus
%update_desktopdb

%preun
if [ $1 = 0 ]; then
   %gconf2_uninstall %name
fi
   
   
%postun
%clean_menus
%clean_desktopdb

%files -f %name.lang
%doc AUTHORS ChangeLog COPYING INSTALL NEWS README TODO
%_bindir/*
%_datadir/%name
%_datadir/pixmaps/*
%_datadir/applications/*
%config %_sysconfdir/gconf/schemas/*
%_datadir/dbus-1/services/*.service

%if_enabled epiphany
%files -n epiphany-extension-gwget
%_libdir/epiphany/*/extensions/*
%endif

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin