[transmission-remote-cli/f15] Update 0.9.4-1

d0g d0g at fedoraproject.org
Wed Dec 21 22:55:12 UTC 2011


commit ac2cda3c8d3d565a843dbea0a2307abcfec85529
Author: d0g <bct at d0g.co.uk>
Date:   Wed Dec 21 22:55:07 2011 +0000

    Update 0.9.4-1

 transmission-remote-cli.1    |  102 ++++++++++++++++++++++++++++++++++++++++++
 transmission-remote-cli.spec |   40 ++++++++++++----
 2 files changed, 132 insertions(+), 10 deletions(-)
---
diff --git a/transmission-remote-cli.1 b/transmission-remote-cli.1
new file mode 100644
index 0000000..bf83ecd
--- /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 pattern: [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
+.It Fl n Fl -netrc
+Get authentication info from your ~/.netrc file
+.It Fl -
+Forward options after '--' and auth info 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) to 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 79f31b9..e628390 100644
--- a/transmission-remote-cli.spec
+++ b/transmission-remote-cli.spec
@@ -1,5 +1,5 @@
 Name:       transmission-remote-cli
-Version:    0.8.2
+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:    http://github.com/fagga/transmission-remote-cli/blob/master/transmission-remote-cli.py
-Source1:    http://github.com/fagga/transmission-remote-cli/raw/master/README.md
+# 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
-Requires:   transmission-daemon >= 1.80
+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
@@ -21,21 +23,39 @@ client. It is an alternative to Transmission cli and can be used to control
 local and remote instances of the Transmission daemon.
 
 %prep
-#empty prep
+%setup -q
 
 %build
 #empty build
 
 %install
-install -Dpm 755  %{SOURCE0} %{buildroot}%{_bindir}/transmission-remote-cli
-install -Dpm 644 %{SOURCE1} %{buildroot}%{_docdir}/%{name}-%{version}/README.md
+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 %{_docdir}/%{name}-%{version}/README.md
+%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
+- Added python-IPy as a new dependency
+- Changed the sources to a tarball.
+
 * Sat Mar 05 2011 Rahul Sundaram <sundaram at fedoraproject.org> -0.8.2-1
 - New upstream release
 
@@ -51,7 +71,7 @@ install -Dpm 644 %{SOURCE1} %{buildroot}%{_docdir}/%{name}-%{version}/README.md
 * Wed Jun 23 2010 Satya Komaragiri <satyak at fedoraproject.org> 0.6.5-1
 - New upstream release
 
-* Sat Apr 24 2010 Rahul Sundaram <sundaram at fedoraproject.org> 0.5.6-1
+* Sat Apr 24 2010 Rahul Sunaram <sundaram at fedoraproject.org> 0.5.6-1
 - New upstream release
 - Fix requires
 


More information about the scm-commits mailing list