|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
Name: transmission
|
|
|
|
|
Version: 1.80
|
|
|
|
|
Release: 0.2.b4%{?dist}
|
|
|
|
|
Release: 0.4.b4%{?dist}
|
|
|
|
|
Summary: A lightweight GTK+ BitTorrent client
|
|
|
|
|
|
|
|
|
|
Group: Applications/Internet
|
|
|
|
@ -8,7 +8,7 @@ Group: Applications/Internet
|
|
|
|
|
License: MIT and GPLv2
|
|
|
|
|
URL: http://www.transmissionbt.com/
|
|
|
|
|
Source0: http://download.m0k.org/transmission/files/transmission-%{version}b4.tar.xz
|
|
|
|
|
|
|
|
|
|
Source1: qtr.desktop
|
|
|
|
|
BuildRequires: openssl-devel >= 0.9.4
|
|
|
|
|
BuildRequires: glib2-devel >= 2.15.5
|
|
|
|
|
BuildRequires: gtk2-devel >= 2.6.0
|
|
|
|
@ -20,32 +20,80 @@ BuildRequires: libevent-devel >= 1.4.5
|
|
|
|
|
BuildRequires: desktop-file-utils
|
|
|
|
|
BuildRequires: gettext intltool
|
|
|
|
|
BuildRequires: GConf2-devel
|
|
|
|
|
|
|
|
|
|
BuildRequires: qt-devel
|
|
|
|
|
# this modification applies to the Qt qtr.pro file
|
|
|
|
|
Patch1: use-system-libevent-fix-optflags-patch
|
|
|
|
|
Requires: transmission-cli
|
|
|
|
|
Requires: transmission-gtk
|
|
|
|
|
%description
|
|
|
|
|
Transmission is a free, lightweight BitTorrent client. It features a
|
|
|
|
|
simple, intuitive interface on top on an efficient, cross-platform
|
|
|
|
|
back-end.
|
|
|
|
|
|
|
|
|
|
%package common
|
|
|
|
|
Summary: Transmission common files
|
|
|
|
|
Conflicts: transmission < 1.80-0.3.b4
|
|
|
|
|
%description common
|
|
|
|
|
This package contains the common files necessary for other
|
|
|
|
|
transmission subpackages. It includes the web user interface
|
|
|
|
|
icons and transmission-remote
|
|
|
|
|
|
|
|
|
|
%package cli
|
|
|
|
|
Summary: Transmission command line implementation
|
|
|
|
|
Requires: transmission-common
|
|
|
|
|
Provides: transmission = %{version}-%{release}
|
|
|
|
|
%description cli
|
|
|
|
|
This package contains the files necessary to run the command line version of Transmission
|
|
|
|
|
|
|
|
|
|
%package daemon
|
|
|
|
|
Summary: Transmission daemon
|
|
|
|
|
Requires: transmission-common
|
|
|
|
|
Provides: transmission = %{version}-%{release}
|
|
|
|
|
%description daemon
|
|
|
|
|
This package contains the files necessary to run Transmission daemon
|
|
|
|
|
|
|
|
|
|
%package gtk
|
|
|
|
|
Summary: Transmission GTK interface
|
|
|
|
|
Requires: transmission-common
|
|
|
|
|
Obsoletes: transmission <= 1.80-0.3.b4
|
|
|
|
|
Provides: transmission = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description gtk
|
|
|
|
|
This package contains files needed for the GTK interface of Transmission.
|
|
|
|
|
|
|
|
|
|
%package qt
|
|
|
|
|
Summary: Transmission Qt interface
|
|
|
|
|
Requires: transmission-common
|
|
|
|
|
%description qt
|
|
|
|
|
This package contains files needed for the Qt interface of Transmission.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n transmission-1.80b4
|
|
|
|
|
%patch1 -p1
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%configure --disable-static --with-gtk --without-wx --enable-libcanberra
|
|
|
|
|
%configure --disable-static --with-gtk --without-wx --enable-libcanberra --enable-libnotify --enable-daemon
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
pushd qt
|
|
|
|
|
qmake-qt4 qtr.pro
|
|
|
|
|
make
|
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
|
%find_lang %{name}
|
|
|
|
|
make install DESTDIR=%{buildroot}
|
|
|
|
|
|
|
|
|
|
desktop-file-install --dir $RPM_BUILD_ROOT/%{_datadir}/applications/ \
|
|
|
|
|
$RPM_BUILD_ROOT/%{_datadir}/applications/%{name}.desktop
|
|
|
|
|
make install INSTALL_ROOT=%{buildroot}%{_prefix} -C qt
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
%find_lang %{name}
|
|
|
|
|
|
|
|
|
|
desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
|
|
|
|
|
desktop-file-install --dir=%{buildroot}%{_datadir}/applications/ %{SOURCE1}
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
|
|
%post
|
|
|
|
|
touch --no-create %{_datadir}/icons/hicolor || :
|
|
|
|
@ -58,19 +106,50 @@ touch --no-create %{_datadir}/icons/hicolor || :
|
|
|
|
|
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
|
|
|
|
|
update-desktop-database > /dev/null 2>&1 || :
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
|
|
|
|
|
%files -f %{name}.lang
|
|
|
|
|
%files common
|
|
|
|
|
%defattr(-, root, root, -)
|
|
|
|
|
%doc AUTHORS COPYING NEWS README
|
|
|
|
|
%{_bindir}/transmission*
|
|
|
|
|
%{_datadir}/transmission
|
|
|
|
|
%{_bindir}/transmission-remote
|
|
|
|
|
%{_datadir}/transmission/web/
|
|
|
|
|
%{_datadir}/pixmaps/*
|
|
|
|
|
%{_datadir}/icons/hicolor/*/apps/transmission.*
|
|
|
|
|
%{_datadir}/applications/*transmission.desktop
|
|
|
|
|
%doc %{_mandir}/man1/transmission*
|
|
|
|
|
%doc %{_mandir}/man1/transmission-remote
|
|
|
|
|
|
|
|
|
|
%files cli
|
|
|
|
|
%defattr(-, root, root, -)
|
|
|
|
|
%{_bindir}/transmissioncli
|
|
|
|
|
%doc %{_mandir}/man1/transmissioncli*
|
|
|
|
|
|
|
|
|
|
%files daemon
|
|
|
|
|
%defattr(-, root, root, -)
|
|
|
|
|
%{_bindir}/transmission-daemon
|
|
|
|
|
%doc %{_mandir}/man1/transmission-daemon
|
|
|
|
|
|
|
|
|
|
%files gtk -f %{name}.lang
|
|
|
|
|
%defattr(-, root, root, -)
|
|
|
|
|
%{_bindir}/transmission
|
|
|
|
|
%{_datadir}/applications/transmission.desktop
|
|
|
|
|
%doc %{_mandir}/man1/transmission.*
|
|
|
|
|
|
|
|
|
|
%files qt
|
|
|
|
|
%defattr(-, root, root, -)
|
|
|
|
|
%{_bindir}/qtr
|
|
|
|
|
%{_datadir}/applications/qtr.desktop
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
|
|
* Sat Jan 09 2010 Rahul Sundaram <sundaram@fedoraproject.org> - 1.80-0.4.b4
|
|
|
|
|
- Build the qt interface as a sub package
|
|
|
|
|
- Build daemon as a separate sub package
|
|
|
|
|
- Translations are for only the gtk sub package
|
|
|
|
|
- Fix obsoletes and add conflicts
|
|
|
|
|
|
|
|
|
|
* Thu Jan 07 2010 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 1.80-0.3.b4
|
|
|
|
|
- Split package to sub packages
|
|
|
|
|
|
|
|
|
|
* Tue Jan 05 2010 Rahul Sundaram <sundaram@fedoraproject.org> - 1.80-0.2.b4
|
|
|
|
|
- Add BR GConf2-devel
|
|
|
|
|
|
|
|
|
|