blob: a44aa96c20c2387d7fe102c340491c4e12796f1b (
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
|
Name: transmission-remote-gtk
Version: 1.0
Release: 1%{?dist}
Summary: Remotely manage 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 client for remote management of
the Transmission BitTorrent client using its HTTP RPC protocol.
%prep
%setup -q
for i in README COPYING AUTHORS ChangeLog; do
sed -i "s|\r||g" "$i";
done
%build
%configure
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$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
%posttrans
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%files -f %{name}.lang
%{_bindir}/%{name}
%{_datadir}/applications/*.desktop
%{_datadir}/icons/*
%doc README COPYING AUTHORS ChangeLog
%_mandir/man1/transmission-remote-gtk.1.gz
%changelog
* Fri Jan 15 2012 Alan Fitton <alan@eth0.org.uk> 1.0-1
- New release.
* 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
|