diff --git a/.gitignore b/.gitignore index e69de29..ff0858f 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/transgui-3.2-src.zip diff --git a/sources b/sources index e69de29..09ceefb 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +39904b86e8772060758e0fae9215f777 transgui-3.2-src.zip diff --git a/transgui.1 b/transgui.1 new file mode 100644 index 0000000..049b234 --- /dev/null +++ b/transgui.1 @@ -0,0 +1,30 @@ +.TH TRANSGUI "1" "13 October 2010" + +.SH NAME +transgui \- GUI program to remotely control the Transmission daemon + +.SH SYNOPSIS +\fBtransgui\fR <\fBfilename\fR> + +.SH DESCRIPTION +\fBtransgui\fR connects to a remote or local Transmission deamon, and lets you +add, remove, monitor and do most other torrent actions from a nice friendly GUI. + +.SH OPTIONS +Optionally a the path or URI to a torrent file can be specified to be added as a new torrent. + +.SH EXAMPLE +.TP +transgui http://example.com/torrents/filename.torrent +Adds a new torrent from URI +.TP +transgui /home/user/downloads/filename.torrent +Adds a new torrent from file. + +.SH SEE ALSO +\fBtransmission-daemon\fR + +.SH AUTHOR +\fBTransmission Remote GUI\fR was written by Yury Sidorov, and this manual page by Andreas Noteng . + +Both are released under the GNU General Public License, version 2 or later. diff --git a/transgui.desktop b/transgui.desktop new file mode 100644 index 0000000..0613466 --- /dev/null +++ b/transgui.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Type=Application +Name=transmission-remote-gui +GenericName=A front end of crontab application +Comment=A crontab application +Icon=transgui +TryExec=transgui +Exec=transgui +Terminal=false +Categories=Network; diff --git a/transgui.spec b/transgui.spec new file mode 100644 index 0000000..cb6132e --- /dev/null +++ b/transgui.spec @@ -0,0 +1,72 @@ +# Stabs debuginfo not supported +# Not generate those debuginfo for which rpm is looking for +%global debug_package %{nil} + +Name: transgui +Version: 3.2 +Release: 5%{?dist} +Summary: An App to remotely control a Transmission Bit-Torrent client + +Group: Applications/Internet +License: GPLv2+ +URL: https://code.google.com/p/transmisson-remote-gui/ +Source0: https://transmisson-remote-gui.googlecode.com/files/%{name}-%{version}-src.zip +Source1: %{name}.desktop +Source2: %{name}.1 + +BuildRequires: fpc +BuildRequires: desktop-file-utils +BuildRequires: lazarus +BuildRequires: prelink + +%description +Transmission Remote GUI is a feature rich cross platform front-end to remotely +control a Transmission Bit-Torrent client daemon via its RPC protocol. It is +faster and has more functionality than the built-in Transmission web interface. + +%prep +%setup -q -n TransGUI +sed -i "s|\r||g" readme.txt +sed -i "s|\r||g" rpc-spec.txt +sed -i "s|\r||g" LICENSE.txt + + +%build +make %{?_smp_mflags} +execstack -c %{name} + +%install +install -pd $RPM_BUILD_ROOT/%{_bindir} +install -p %{name} $RPM_BUILD_ROOT/%{_bindir} + +#menu-entries +install -pdm 755 $RPM_BUILD_ROOT%{_datadir}/applications +install -pdm 755 $RPM_BUILD_ROOT%{_mandir}/man1 +desktop-file-install --dir=$RPM_BUILD_ROOT%{_datadir}/applications %{SOURCE1} +install -pd $RPM_BUILD_ROOT%{_datadir}/pixmaps +cp -p %{name}.png $RPM_BUILD_ROOT%{_datadir}/pixmaps +cp -p %{SOURCE2} $RPM_BUILD_ROOT%{_mandir}/man1 + +%files +%{_bindir}/%{name} +%{_datadir}/pixmaps/%{name}.png +%{_datadir}/applications/%{name}.desktop +%{_mandir}/man1/%{name}.1* +%doc readme.txt LICENSE.txt rpc-spec.txt VERSION.txt + + +%changelog +* Tue Nov 17 2011 Praveen Kumar 3.2-5 +- Added man page and disabled debuginfo package + +* Tue Nov 13 2011 Praveen Kumar 3.2-4 +- Updated to new version and made some changes according to review + +* Tue Oct 28 2011 Praveen Kumar 3.1-3.20111028svn638 +- Updated to new revision + +* Tue Apr 12 2011 Praveen Kumar 3.1-2.20110410svn604 +- Fix Snapshot issue + +* Sun Apr 10 2011 Praveen Kumar 3.1-1.20110410svn604 +- Initial version of the package