+++ /dev/null
-diff -ur transmission-2.00-orig//configure.ac transmission-2.00/configure.ac
---- transmission-2.00-orig//configure.ac 2010-06-17 10:45:12.000000000 -0600
-+++ transmission-2.00/configure.ac 2010-06-18 17:05:50.000000000 -0600
-@@ -21,16 +21,7 @@
- AM_INIT_AUTOMAKE([1.9 tar-ustar])
- AC_PROG_LIBTOOL
-
--if test m4_substr(peer_id_prefix,6,1) = "0"; then
-- supported_build=yes
-- CPPFLAGS="$CPPFLAGS -DNDEBUG"
--else
-- supported_build=no
-- if test "x$GCC" = "xyes" ; then
-- CFLAGS="$CFLAGS -g -O0"
-- CXXFLAGS="$CXXFLAGS -g -O0"
-- fi
--fi
-+CPPFLAGS="$CPPFLAGS -DNDEBUG"
- AM_CONDITIONAL(TR_UNSTABLE, test "x$supported_build" = "xno")
-
- ##
Summary(pl.UTF-8): Wszechstronny i wieloplatformowy klient BitTorrenta
Name: transmission
Version: 2.92
-Release: 1
+Release: 2
License: MIT
Group: Applications/Communications
Source0: https://download.transmissionbt.com/files/%{name}-%{version}.tar.xz
Source1: %{name}.sysconfig
Source2: %{name}.init
Patch0: %{name}-ckb_po.patch
-Patch1: %{name}-cflags.patch
Patch2: %{name}-version.patch
URL: http://transmissionbt.com/
BuildRequires: Qt5Core-devel
%setup -qc
mv %{name}-%{version}/* .
%patch0 -p1
-%patch1 -p1
%if %{with verchange}
%patch2 -p1
./update-version-h.sh
%{__sed} -i 's/\(^CONFIG.*\)\( debug\)/\1/' qt/qtr.pro
%build
-%{__libtoolize}
-%{__aclocal} -I m4
-%{__autoconf}
-%{__automake}
%configure \
--with-gtk \
--disable-silent-rules \