+++ /dev/null
-diff -ur transmission-2.30b1.orig/configure.ac transmission-2.30b1/configure.ac
---- transmission-2.30b1.orig/configure.ac 2011-04-01 03:28:41.000000000 +0200
-+++ transmission-2.30b1/configure.ac 2011-04-08 14:31:31.233502737 +0200
-@@ -108,6 +108,14 @@
- AC_HEADER_STDC
- AC_HEADER_TIME
-
-+AC_MSG_CHECKING([for SYS_fallocate])
-+AC_TRY_LINK([#include <sys/syscall.h>
-+#include <sys/types.h>],
-+ [return syscall(SYS_fallocate, 0, 0, (loff_t) 0, (loff_t) 0);],
-+ [AC_DEFINE([HAVE_SYS_FALLOCATE],[1],[Defined if you have the SYS_fallocate syscall number])
-+ AC_MSG_RESULT([yes])],
-+ [AC_MSG_RESULT([no])])
-+
- AC_CHECK_HEADERS([stdbool.h])
- AC_CHECK_FUNCS([iconv_open pread pwrite lrintf strlcpy daemon dirname basename strcasecmp localtime_r fallocate64 posix_fallocate memmem strsep strtold syslog valloc getpagesize posix_memalign statvfs htonll ntohll])
- AC_PROG_INSTALL
-diff -ur transmission-2.30b1.orig/libtransmission/fdlimit.c transmission-2.30b1/libtransmission/fdlimit.c
---- transmission-2.30b1.orig/libtransmission/fdlimit.c 2011-04-01 03:28:34.000000000 +0200
-+++ transmission-2.30b1/libtransmission/fdlimit.c 2011-04-08 14:34:14.120502738 +0200
-@@ -29,6 +29,10 @@
- #include <fcntl.h>
- #endif
-
-+#ifdef HAVE_SYS_FALLOCATE
-+ #include <sys/syscall.h>
-+#endif
-+
- #ifdef HAVE_FALLOCATE64
- /* FIXME can't find the right #include voodoo to pick up the declaration.. */
- extern int fallocate64( int fd, int mode, uint64_t offset, uint64_t len );
-@@ -150,6 +154,14 @@
- success = !fcntl( fd, F_PREALLOCATE, &fst );
- }
- # endif
-+
-+# ifdef HAVE_SYS_FALLOCATE
-+ if( !success )
-+ {
-+ success = !syscall( SYS_fallocate, fd, 0, (loff_t) 0, (loff_t) length );
-+ }
-+# endif
-+
- # ifdef HAVE_POSIX_FALLOCATE
- if( !success )
- {
+++ /dev/null
---- a/qt/details.cc
-+++ b/qt/details.cc
-@@ -165,6 +165,7 @@
- t->addTab (w = createOptionsTab (), tr ("Options"));
- myWidgets << w;
- layout->addWidget (t);
-+ resize(640, height());
-
- QDialogButtonBox * buttons = new QDialogButtonBox (QDialogButtonBox::Close, Qt::Horizontal, this);
- connect (buttons, SIGNAL (rejected ()), this, SLOT(close ()));
-@@ -1277,7 +1278,7 @@
- v->addWidget (myPeerTree, 1);
-
- const QFontMetrics m (font ());
-- QSize size = m.size (0, "1024 MiB/s");
-+ QSize size = m.size (0, " 1024,0 MiB/s");
- myPeerTree->setColumnWidth (COL_UP, size.width ());
- myPeerTree->setColumnWidth (COL_DOWN, size.width ());
- size = m.size (0, " 100% ");
# Conditional build:
-%bcond_with verchange # changes client version identifiaction to 2.42
+%bcond_with verchange # changes client version identification to 2.42
Summary: A versatile and multi-platform BitTorrent client
Summary(hu.UTF-8): Egy sokoldalú és multiplatformos BitTorrent kliens
Summary(pl.UTF-8): Wszechstronny i wieloplatformowy klient BitTorrenta
Name: transmission
-Version: 2.84
+Version: 2.92
Release: 1
License: MIT
Group: Applications/Communications
-Source0: http://download.m0k.org/transmission/files/%{name}-%{version}.tar.xz
-# Source0-md5: 411aec1c418c14f6765710d89743ae42
+Source0: https://download.transmissionbt.com/files/%{name}-%{version}.tar.xz
+# Source0-md5: 3fce404a436e3cd7fde80fb6ed61c264
Source1: %{name}.sysconfig
Source2: %{name}.init
Patch0: %{name}-ckb_po.patch
-Patch1: %{name}-qtr_details.patch
-Patch2: %{name}-cflags.patch
-Patch3: %{name}-preallocate_syscall.patch
-Patch4: %{name}-version.patch
+Patch1: %{name}-cflags.patch
+Patch2: %{name}-version.patch
URL: http://transmissionbt.com/
BuildRequires: Qt5Core-devel
BuildRequires: Qt5DBus-devel
BuildRequires: libstdc++-devel
BuildRequires: libtool
BuildRequires: lsb-release
-BuildRequires: openssl-devel >= 0.9.4
+BuildRequires: openssl-devel >= 0.9.7
BuildRequires: pkgconfig
BuildRequires: qt5-build
BuildRequires: qt5-qmake
BuildRequires: which
BuildRequires: xfsprogs-devel
BuildRequires: xz
+BuildRequires: zlib-devel >= 1.2.3
Obsoletes: Transmission <= 1.05
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
mv %{name}-%{version}/* .
%patch0 -p1
%patch1 -p1
-%patch2 -p1
-%patch3 -p1
%if %{with verchange}
-%patch4 -p1
+%patch2 -p1
./update-version-h.sh
%endif
%{__automake}
%configure \
--with-gtk \
- --disable-silent-rules
+ --disable-silent-rules \
+ --enable-cli
%{__make}
cd qt