summaryrefslogtreecommitdiff
path: root/redhat/transmission-remote-gtk.spec
blob: 4a0a50e3e36d04674d02811e74a8fa81b3c0f68e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
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

%description
transmission-remote-gtk is a GTK application for remote management of the
Transmission BitTorrent client via its RPC interface. 

%prep
%setup -q

%build
%configure
make %{?_smp_mflags}

%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT

%clean
rm -rf $RPM_BUILD_ROOT

%post
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :

%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
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :

%files
%defattr(-,root,root,-)
%doc README COPYING AUTHORS
%{_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

%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.