[transmission-remote-cli] Update 0.9.4-1

d0g d0g at fedoraproject.org
Wed Dec 21 20:46:45 UTC 2011


commit a3b19a982fbbfd90150dba03436a4b869ebeb8d3
Author: d0g <bct at d0g.co.uk>
Date:   Tue Dec 20 20:47:09 2011 +0000

    Update 0.9.4-1

 .gitignore                   |    1 +
 sources                      |    2 +-
 transmission-remote-cli.1    |  102 ++++++++++++++++++++++++++++++++++++++++++
 transmission-remote-cli.spec |   22 +++++++--
 4 files changed, 121 insertions(+), 6 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 8126b9e..26879b8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
 transmission-remote-cli.py
 README.md
 /transmission-remote-cli-0.9.1.tar.gz
+/transmission-remote-cli-0.9.4.tar.gz
diff --git a/sources b/sources
index 4285208..11e828f 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-1fc2f4343bdb7a1e77e00c3b25a91d5d  transmission-remote-cli-0.9.1.tar.gz
+d4d50c119f4cf6a55e19aa9660209467  transmission-remote-cli-0.9.4.tar.gz
diff --git a/transmission-remote-cli.1 b/transmission-remote-cli.1
new file mode 100644
index 0000000..e58d313
--- /dev/null
+++ b/transmission-remote-cli.1
@@ -0,0 +1,102 @@
+.Dd Oct 25, 2011
+.Dt TRANSMISSION-REMOTE-CLI 1
+.Os
+.Sh NAME
+.Nm transmission-remote-cli
+.Nd a console client for the Transmission BitTorrent client
+.Sh SYNOPSIS
+.Nm
+.Op OPTION
+.Op Ar filename-or-URL
+.Sh DESCRIPTION
+.Nm
+is a console client for the Transmission BitTorrent client
+.Sh OPTIONS
+.Bl -tag -with Ds
+.It Fl -version
+Show version number and exit
+.It Fl h Fl -help
+Show this help message and exit
+.It Fl "c \fICONNECTION\fR" Fl -connect=\fICONNECTION\fR
+Point to the server using patter: [username:password@]host[:port]
+.It Fl "f \fICONFIGFILE\fR" Fl -config=\fICONFIGFILE\fR
+Path to configuration file
+.It Fl -create-config
+Create configuration file \fICONFIGFILE\fR with default values
+.It Fl n Fl -netrc
+Ger authentication info from your ~/.netrc file
+.It Fl -
+Send command after '--' to transmission-remote
+.Sh FILES
+Settings can be saved in ~/.config/transmission-remote-cli/settings.cfg, authentication settings in ~/.netrc
+.Sh EXAMPLES
+Connection information
+
+.Ed
+Authentication and host/port can be set via command line with one of these patterns:
+.Bd -literal -offset indent
+$ transmission-remote-cli \-c homeserver
+$ transmission-remote-cli \-c homeserver:1234
+$ transmission-remote-cli \-c johndoe:secretbirthday at homeserver
+$ transmission-remote-cli \-c johndoe:secretbirthday at homeserver:1234
+
+.Ed
+Configuration file
+
+.Ed
+You can write this (and other) stuff into a configuration file:
+.Bd -literal -offset indent
+$ transmission-remote-cli.py \-c johndoe:secretbirthday at homeserver:1234 \-\-create-config
+
+.Ed
+No configuration file is created automatically, you have to do this somehow. However, if the file exists, it is re-written when trcli exits to remember some settings. This means you shouldn't have trcli running when editing your configuration file.
+
+.Ed
+If you don't like the default configuration file path ~/.config/transmission-remote-cli/settings.cfg, change it:
+.Bd -literal -offset indent
+$ transmission-remote-cli.py -f ~/.trclirc --create-config
+
+.Ed
+Calling transmission-remote
+
+.Ed
+transmission-remote-cli forwards all arguments after '--' to transmission-remote. This is useful if your daemon requires authentication and/or doesn't listen on the default localhost:9091 for instructions. transmission-remote-cli reads HOST:PORT and authentication from the config file and forwards them on to transmission-remote, along with your arguments.
+
+.Ed
+Some examples:
+.Bd -literal -offset indent
+$ transmission-remote-cli.py -- -l
+$ transmission-remote-cli.py -- -t 2 -i
+$ transmission-remote-cli.py -- -as
+
+.Ed
+Add torrents
+
+.Pp
+If you provide only one command line argument and it doesn't start with '-', it's treated like a torrent file/URL and submitted to the daemon via transmission-remote.
+This is useful because you can instruct Firefox to open torrent files with transmission-remote-cli.py.
+.Bd -literal -offset indent
+$ transmission-remote-cli.py http://link/to/file.torrent
+$ transmission-remote-cli.py path/to/some/torrent-file
+.El
+.Sh AUTHOR
+.An -nosplit
+.An Benjamin (fagga),
+.An contributors .
+.Sh SEE ALSO
+.Xr transmission-create 1 ,
+.Xr transmission-daemon 1 ,
+.Xr transmission-edit 1 ,
+.Xr transmission-gtk 1 ,
+.Xr transmission-qt 1 ,
+.Xr transmission-remote 1 ,
+.Xr transmission-show 1
+.Sh COPYRIGHT
+Copyright (C) 2011 Ben Thompson.
+
+Permission is granted to copy, distribute and/or modify this document
+under the terms of the GNU Free Documentation License, Version 1.3
+or any later version published by the Free Software Foundation;
+with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
+A copy of the license is included in the section entitled "GNU
+Free Documentation License" <\fBhttp://www.gnu.org/copyleft/fdl.html\fR>.
diff --git a/transmission-remote-cli.spec b/transmission-remote-cli.spec
index a8d402f..e628390 100644
--- a/transmission-remote-cli.spec
+++ b/transmission-remote-cli.spec
@@ -1,5 +1,5 @@
 Name:       transmission-remote-cli
-Version:    0.9.1
+Version:    0.9.4
 Release:    1
 Summary:    A console interface for the Transmission BitTorrent client
 
@@ -8,12 +8,14 @@ License:    GPLv3+
 URL:        http://github.com/fagga/transmission-remote-cli
 # The source was pulled from the upstream git. The following is the direct
 # link to the required version.
-Source0:   %{name}-%{version}.tar.gz
+# https://raw.github.com/fagga/transmission-remote-cli/ec415e531cc5289fd2b5640beb94176b4ef7c8f2/transmission-remote-cli.py
+Source0:    %{name}-%{version}.tar.gz
+Source1:	%{name}.1
 
 #VCS: git://github.com/fagga/transmission-remote-cli.git
 BuildArch:  noarch
-Requires:   python-simplejson python-GeoIP python-adns python-IPy
-Requires:   transmission-daemon >= 2.30
+Requires:   python-simplejson python-GeoIP python-adns python-IPy python-libs
+Requires:   transmission-daemon >= 1.90
 
 %description
 Simple command line interface using ncurses for the Transmission BitTorrent
@@ -27,17 +29,27 @@ local and remote instances of the Transmission daemon.
 #empty build
 
 %install
-install -Dpm 755 transmission-remote-cli.py %{buildroot}%{_bindir}/transmission-remote-cli
+install -Dpm 755 %{name}.py %{buildroot}%{_bindir}/%{name}
 install -Dpm 644 README.md %{buildroot}%{_docdir}/%{name}-%{version}/README.md
 install -Dpm 644 screenshot.png %{buildroot}%{_docdir}/%{name}-%{version}/screenshot.png
+mkdir -p %{buildroot}%{_mandir}/man1/
+gzip %{name}.1
+install -Dpm 644 %{name}.1.gz %{buildroot}%{_mandir}/man1/%{name}.1.gz
 
 %files
 %defattr(-,root,root,-)
 %doc README.md screenshot.png
 %{_bindir}/transmission-remote-cli
+%{_mandir}/man1/%{name}.1.gz
 
 %changelog
 
+* Mon Oct 24 2011 Ben Thompson <d0g at fedoraproject.org> 0.9.4-1
+- New upstream release
+- Older versions of transmission-daemon are supported again (1.90)
+- python-libs dependancy added
+- Added man page
+
 * Mon Jun 20 2011 Satya Komaragiri <satyak at fedoraproject.org> 0.9.1-1
 - New upstream release
 - Modified transmission-daemon's minimum required version to 2.30


More information about the scm-commits mailing list