summaryrefslogtreecommitdiff
path: root/redhat
diff options
context:
space:
mode:
authorGravatar Alan Fitton <ajf@eth0.org.uk>2011-12-09 13:55:45 +0000
committerGravatar Alan Fitton <ajf@eth0.org.uk>2011-12-09 13:55:45 +0000
commit34b25b5e63666ef5de06ce8e4313e98c24b59fb7 (patch)
tree7c0e131f6129267f166910b21e3474495251f83c /redhat
parent10b8cad6f28e1fbd44708914633523df60269e8b (diff)
some improvements and fixes to the destination combo. don't add existing directories if they are already labels.
Diffstat (limited to 'redhat')
-rw-r--r--redhat/transmission-remote-gtk.spec194
1 files changed, 51 insertions, 143 deletions
diff --git a/redhat/transmission-remote-gtk.spec b/redhat/transmission-remote-gtk.spec
index 4a0a50e..3fb00c9 100644
--- a/redhat/transmission-remote-gtk.spec
+++ b/redhat/transmission-remote-gtk.spec
@@ -1,172 +1,80 @@
-Name: transmission-remote-gtk
-Version: 0.7.2
-Release: 1%{?dist:%{dist}}
-Summary: Remote control client for Transmission BitTorrent
-
-Group: Applications/Internet
-License: GPLv2+
-URL: http://code.google.com/p/transmission-remote-gtk/
-Source0: %{name}-%{version}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-Requires: gtk2 >= 2.16
-Requires: GeoIP
-Requires: glib2 >= 2.22
-Requires: unique
-Requires: libnotify
-Requires: libproxy
-Requires: json-glib >= 0.8
-Requires: libcurl
-
-BuildRequires: gtk2-devel
-BuildRequires: GeoIP-devel
-BuildRequires: libproxy-devel
-BuildRequires: glib2-devel
-BuildRequires: unique-devel
-BuildRequires: json-glib-devel
-BuildRequires: libcurl-devel
-BuildRequires: libnotify-devel
+Name: transmission-remote-gtk
+Version: 0.8
+Release: 1%{?dist}
+Summary: GTK remote control for the Transmission BitTorrent client
+
+License: GPLv2+
+URL: http://code.google.com/p/%{name}
+Source0: http://%{name}.googlecode.com/files/%{name}-%{version}.tar.gz
+
+BuildRequires: gettext
+BuildRequires: json-glib-devel
+BuildRequires: intltool
+BuildRequires: gtk2-devel
+BuildRequires: libproxy-devel
+BuildRequires: glib2-devel
+BuildRequires: unique-devel
+BuildRequires: libcurl-devel
+BuildRequires: libnotify-devel
+BuildRequires: GeoIP-devel
+
+Requires(post): info
+Requires(preun): info
%description
-transmission-remote-gtk is a GTK application for remote management of the
-Transmission BitTorrent client via its RPC interface.
+transmission-remote-gtk is a GTK client for remote management of
+the Transmission BitTorrent client, using its HTTP RPC protocol.
%prep
%setup -q
+sed -i "s|\r||g" README
+sed -i "s|\r||g" COPYING
+
%build
%configure
make %{?_smp_mflags}
+
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
-%clean
-rm -rf $RPM_BUILD_ROOT
+%find_lang %{name}
%post
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
+%preun
+if [ $1 = 0 ] ; then
+ /sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir || :
+fi
+
%postun
if [ $1 -eq 0 ] ; then
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
fi
-%postrans
+%posttrans
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
-%files
-%defattr(-,root,root,-)
-%doc README COPYING AUTHORS
+%files -f %{name}.lang
%{_bindir}/%{name}
-%{_datadir}/applications/%{name}.desktop
-%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
-%{_datadir}/icons/hicolor/16x16/apps/%{name}.png
-%{_datadir}/icons/hicolor/22x22/apps/%{name}.png
-%{_datadir}/icons/hicolor/24x24/apps/%{name}.png
-%{_datadir}/icons/hicolor/32x32/apps/%{name}.png
-%{_datadir}/icons/hicolor/48x48/apps/%{name}.png
-%{_datadir}/locale/de/LC_MESSAGES/%{name}.mo
-%{_datadir}/locale/ko/LC_MESSAGES/%{name}.mo
-%{_datadir}/locale/es/LC_MESSAGES/%{name}.mo
-%{_datadir}/locale/pl/LC_MESSAGES/%{name}.mo
-%{_datadir}/locale/ru/LC_MESSAGES/%{name}.mo
-%{_datadir}/locale/uk/LC_MESSAGES/%{name}.mo
-%{_datadir}/man/man1/transmission-remote-gtk.1
+%{_datadir}/applications/*.desktop
+%{_datadir}/icons/*
+%doc README COPYING AUTHORS
+
%changelog
-* Tue Oct 11 2011 Alan Fitton <alan@eth0.org.uk> 0.7
-- Remote exec.
-- Win32 Support.
-- Connect button menus for profiles.
-- Fix a memory leak on disconnect.
-- Use icon for wanted/unwanted files.
-- Handle URLs and non-existing files in file handler.
-- IPv6 GeoIP support.
-- Upload files on app open.
-- Display public/private tracker status.
-- Show file icons based on MIME types.
-- Shortern tracker filters.
-- Hide state selector if no error torrents.
-- Fix warning caused by zero length files in torrents.
-- Bencoder crash fix.
-- Detect and drop requests from previous connections.
-- Toolbar tooltips.
-- Spanish translation.
-
-* Sat Aug 27 2011 Alan Fitton <alan@eth0.org.uk> 0.6
-- Profiles support.
-- New JSON based configuration backend.
-- Support new Transmission torrent status values.
-- Populate destination combo in move dialog.
-- Ukranian translation from ROR191.
-- Lots of new columns and info.
-- More options in view menu.
-- Supports for queues.
-- Improved status bar and add a free space indicator.
-- Persist/restore filter selection, + notebook/selector visibility.
-- Reuse http clients and keep sessions open.
-- Start in tray argument (-m --minimized)
-- Fix timezone display issue.
-- Fix bencoder parser bug (parsing empty lists).
-- Make columns fully shrinkable.
-- Many other fixes/improvements.
-
-* Fri May 6 2011 Alan Fitton <alan@eth0.org.uk> - 0.5.1
-- Use libproxy pkg-config CFLAGS in build, for older versions.
-- Fix updates inside the GtkNotebook.
-- Fix crash reported by atommixz.
-
-* Fri Apr 22 2011 Alan Fitton <alan@eth0.org.uk> - 0.5
-- Fix a few of small memory leaks.
-- Sync single torrent when file/trackers are changed.
-- Update efficiency improvement.
-- Customisable columns, new optional columns.
-
-* Tue Apr 12 2011 Alan Fitton <alan@eth0.org.uk> - 0.4
-- Torrent add dialog.
-- Support for active only updates.
-- Other update performance improvements.
-- Pause/Resume all.
-- Polish and Russian translation.
-- Torrent added date/time column.
-- Fix gconf ints defaulting to one in prefs dialog.
-- Fix crash disconnecting with graph disabled.
-- Fix crash disabling tracker/dir filters while disconnected.
-
-* Sat Mar 11 2011 Alan Fitton <alan@eth0.org.uk> - 0.3
-- Case insensitive text filtering.
-- Speed graph.
-- i18n support (currently German and Korean).
-- Use table layout instead of fixed for general panel.
-- libproxy support.
-- Fix torrent bandwidth priority setting.
-- Better suspending of tracker/files update until ack.
-- Put versions in some spec/configure deps.
-- Include libcurl.m4.
-- Better (easier) FreeBSD compilation.
-- Remove 5px window border (much better on some dark themes).
-- Fix hardcoded path to Transmission icon in about dialog.
-- Fix a leak from gtk_tree_selection_get_selected_rows().
-- TRG_NOUNIQUE env variable to start multiple instances.
-
-* Mon Feb 21 2011 Alan Fitton <alan@eth0.org.uk> - 0.2.1
-- Fix crash in update-blocklist/port-test callbacks.
-- Menu bar mnemonics.
-
-* Sat Feb 19 2011 Alan Fitton <alan@eth0.org.uk> - 0.2
-- SSL support.
-- Statistics dialog.
-- Fix for setting low priority files.
-- Port testing.
-- Blocklist settings and updates.
-- Torrent reannounce.
-- Tracker add/edit/delete.
-
-* Mon Feb 07 2011 Alan Fitton <alan@eth0.org.uk> - 0.1.1
-- Squash a couple of nasty first release bugs.
-
-* Sun Jan 30 2011 Alan Fitton <alan@eth0.org.uk> - 0.1.0
-- Initial RPM Build.
+* Fri Dec 09 2011 Alan Fitton <alan@eth0.org.uk> 0.8-1
+- New release.
+
+* Thu Nov 20 2011 Praveen Kumar <kumarpraveen.nitdgp@gmail.com> 0.7-3
+- Minor changes according to review
+
+* Thu Oct 27 2011 Praveen Kumar <kumarpraveen.nitdgp@gmail.com> 0.7-2
+- Added icon cache
+
+* Tue Oct 18 2011 Praveen Kumar <kumarpraveen.nitdgp@gmail.com> 0.7-1
+- Initial version of the package