Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37038315
en ru br
Репозитории ALT
S:3.00-alt2.1
5.1: 2.04-alt0.M51.1
4.1: 1.61-alt0.M41.1
4.0: 2.12-alt0.M40.1
www.altlinux.org/Changes

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

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

%define _optlevel s
%def_disable wxgtk

%define rname Transmission
Name: transmission
Version: 1.61
Release: alt0.M41.1

Group: Networking/File transfer
Summary: Llightweight BitTorrent client
License: GPLv2 + MIT
Url: http://www.transmissionbt.com/

Provides: %rname = %version-%release

Obsoletes: %name-benc2php
Obsoletes: %name-proxy

Requires: %name-gtk = %version-%release
%if_enabled wxgtk
Requires: %name-wxgtk = %version-%release
%endif
Requires: %name-cli = %version-%release
Requires: %name-remote = %version-%release
Requires: %name-daemon = %version-%release

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

Source: http://download.m0k.org/%name/files/%name-%version.tar
Patch0: %name-%version-%release.patch

BuildPreReq: desktop-file-utils

# Automatically added by buildreq on Tue Feb 17 2009

BuildRequires: gcc-c++ gcc-fortran glibc-devel-static intltool libcurl-devel libevent1.4-devel libnotify-devel

%if_enabled wxgtk
BuildRequires: wxGTK2u-devel
%endif

%description
Transmission has been built from the ground up to be a lightweight,
yet powerful BitTorrent client. Its simple, intuitive interface
strikes a balance between providing useful functionality without
feature bloat. Furthermore, it is free for anyone to use or modify.

%package common
Group: Networking/File transfer
Summary: Common files for %name
Conflicts: %name < 1.00-alt10
%description common
Common files for %name

%package gtk
Group: Networking/File transfer
Summary: Graphical BitTorrent client
Provides: %name-gui = %version-%release
Requires: %name-common = %version-%release
%description gtk
GTK-based graphical BitTorrent client

%if_enabled wxgtk
%package wxgtk
Group: Networking/File transfer
Summary: Graphical BitTorrent client
Provides: %name-gui = %version-%release
Requires: %name-common = %version-%release
%description wxgtk
WxGTK-based graphical BitTorrent client
%endif

%package cli
Group: Networking/File transfer
Summary: Command line BitTorrent client
Requires: %name-common = %version-%release
%description cli
Command line BitTorrent client

%package remote
Group: Networking/Remote access
Summary: Command line remote interface to %name-daemon
Requires: %name-common = %version-%release
Requires: %name-daemon = %version-%release
%description remote
Command line remote interface to %name-daemon

%package daemon
Group: Networking/File transfer
Summary: Daemonised BitTorrent client
Requires: %name-common = %version-%release
%description daemon
Daemonised BitTorrent client

%prep
%setup -q
%patch0 -p1

%build
./autogen.sh
%configure \
   --verbose \
   %{subst_enable wx} \
   --enable-gtk

%make_build

%install
%make DESTDIR=%buildroot install

%find_lang %name

%files common
%dir %_datadir/%name
%_datadir/%name/web/

%files

%files gtk -f %name.lang
%doc AUTHORS COPYING NEWS README ChangeLog
%_bindir/%name
%_datadir/applications/*.desktop
%_iconsdir/hicolor/*/*/*
%_datadir/pixmaps/*
%_man1dir/%name.1.*

%if_enabled wxgtk
%files wxgtk
%doc AUTHORS COPYING NEWS README ChangeLog
%_bindir/Xmission
%endif

%files cli
%doc AUTHORS COPYING NEWS README ChangeLog
%_bindir/%{name}cli
%_man1dir/%{name}cli.1.*

%files remote
%doc AUTHORS COPYING NEWS README ChangeLog
%_bindir/%name-remote
%_man1dir/%name-remote.1.*

%files daemon
%doc AUTHORS COPYING NEWS README ChangeLog
%_bindir/%name-daemon
%_man1dir/%name-daemon.1.*

%changelog

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

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