File transmission-remote-gtk.spec of Package transmission-remote-gtk

#
# spec file for package transmission-remote-gtk
#
# Copyright (c) 2012 Adam Mizerski <adam@mizerski.pl>
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

Name:           transmission-remote-gtk
Version:        1.2
Release:        0
License:        GPL-2.0+
Summary:        GTK remote control for the Transmission BitTorrent client
Url:            https://github.com/transmission-remote-gtk
Group:          Productivity/Networking/Other
Source0:        https://github.com/transmission-remote-gtk/transmission-remote-gtk/releases/download/%{version}/transmission-remote-gtk-%{version}.tar.gz
BuildRequires:  hicolor-icon-theme
BuildRequires:  intltool
BuildRequires:  update-desktop-files
BuildRequires:  libGeoIP-devel
BuildRequires:  pkgconfig(gtk+-3.0)
BuildRequires:  pkgconfig(json-glib-1.0)
BuildRequires:  pkgconfig(libcurl)
BuildRequires:  pkgconfig(libnotify)
BuildRequires:  pkgconfig(libproxy-1.0)
BuildRequires:  libGeoIP-devel

%lang_package

%description
transmission-remote-gtk is a cross-platform application for remote management of the Transmission BitTorrent client using its RPC interface.
- Remotely add (file/url), start, stop, remove, remove & delete, verify, reannounce torrents.
- Works as a .torrent handler (eg. from a web browser).
- Set torrent properties such as speed, seed, peer limits, file priorities, add/edit/remove trackers.
- Change remote settings like global limits, download directory, and connectivity preferences.
- Brazilian Portuguese, French, German, Italian, Korean, Lithuanian, Polish, Russian, Spanish, Swedish, Turkish, Ukranian translations.

%prep
%setup -q

%build
%configure \
    --disable-silent-rules \
    --enable-gtk3 \
    --without-libappindicator
make %{?_smp_mflags}

%install
%make_install
%find_lang %{name}

%post
%desktop_database_post
%icon_theme_cache_post

%postun
%desktop_database_postun
%icon_theme_cache_postun

%files
%defattr(-,root,root,-)
%{_bindir}/%{name}
%{_datadir}/appdata/%{name}.appdata.xml
%{_datadir}/applications/%{name}.desktop
%{_datadir}/icons/hicolor/*/apps/%{name}.*
%{_mandir}/man1/%{name}*


%files lang -f %{name}.lang
%defattr(-,root,root)

%changelog
openSUSE Build Service is sponsored by