update to 4.0.6 [release 4.0.6-1mamba;Wed Jun 26 2024]

This commit is contained in:
Silvan Calarco 2024-06-27 09:24:49 +02:00
parent 139ab5a70d
commit cfce117cae
2 changed files with 53 additions and 56 deletions

View File

@ -0,0 +1,11 @@
--- transmission-4.0.6/libtransmission/port-forwarding-upnp.cc.orig 2024-06-26 21:30:48.914014308 +0200
+++ transmission-4.0.6/libtransmission/port-forwarding-upnp.cc 2024-06-26 21:25:58.681222830 +0200
@@ -275,7 +275,7 @@
FreeUPNPUrls(&handle->urls);
auto lanaddr = std::array<char, TR_ADDRSTRLEN>{};
- if (UPNP_GetValidIGD(devlist, &handle->urls, &handle->data, std::data(lanaddr), std::size(lanaddr) - 1) ==
+ if (UPNP_GetValidIGD(devlist, &handle->urls, &handle->data, std::data(lanaddr), std::size(lanaddr) - 1, NULL, 0) ==
UPNP_IGD_VALID_CONNECTED)
{
tr_logAddInfo(fmt::format(_("Found Internet Gateway Device '{url}'"), fmt::arg("url", handle->urls.controlURL)));

View File

@ -1,63 +1,43 @@
Name: transmission
Version: 3.00
Version: 4.0.6
Release: 1mamba
Summary: Transmission is a fast, easy, and free multi-platform BitTorrent client
Group: Graphical Desktop/Applications/Internet
Vendor: openmamba
Distribution: openmamba
Packager: Fabio Giani <fabio.giani@gmail.com>
URL: http://www.transmissionbt.com
Source: https://github.com/transmission/transmission-releases/raw/master/transmission-%{version}.tar.xz
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://transmissionbt.com/
Source: https://github.com/transmission/transmission.git/%{version}/transmission-%{version}.tar.bz2
Patch0: transmission-4.0.6-miniupnpc-2.2.8.patch
License: GPL2
BuildRoot: %{_tmppath}/%{name}-%{version}-root
## AUTOBUILDREQ-BEGIN
BuildRequires: curl
BuildRequires: glibc-devel
BuildRequires: libatk-devel
BuildRequires: libQt5Svg-devel
BuildRequires: libcairo-devel
BuildRequires: libcares-devel
BuildRequires: libcairomm-devel
BuildRequires: libcurl-devel
BuildRequires: libdbus-devel
BuildRequires: libdbus-glib-devel
BuildRequires: libe2fs-devel
BuildRequires: libevent
BuildRequires: libexpat-devel
BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel
BuildRequires: libgcrypt-devel
BuildRequires: libevent-devel
BuildRequires: libgcc
BuildRequires: libgdk-pixbuf-devel
BuildRequires: libglib-devel
BuildRequires: libglitz-devel
BuildRequires: libgpg-error-devel
BuildRequires: libglibmm-devel
BuildRequires: libgraphene-devel
BuildRequires: libgtk-devel
BuildRequires: libidn-devel
BuildRequires: libkrb5-devel
BuildRequires: libnotify-devel
BuildRequires: libopenldap-devel
BuildRequires: libgtkmm-devel
BuildRequires: libharfbuzz-devel
BuildRequires: libminiupnpc-devel
BuildRequires: libnatpmp-devel
BuildRequires: libopenssl-devel
BuildRequires: libpango-devel
BuildRequires: libpixman-devel
BuildRequires: libpng-devel
BuildRequires: libsasl-devel
BuildRequires: libselinux-devel
BuildRequires: libssh2-devel
BuildRequires: libpangomm-devel
BuildRequires: libpsl-devel
BuildRequires: libsigc++-devel
BuildRequires: libstdc++6-devel
BuildRequires: libX11-devel
BuildRequires: libXau-devel
BuildRequires: libxcb-devel
BuildRequires: libxcb-util-devel
BuildRequires: libXdmcp-devel
BuildRequires: libXrender-devel
BuildRequires: libz-devel
BuildRequires: openssl
BuildRequires: libsystemd-devel
BuildRequires: libvulkan-devel
BuildRequires: qt5-qtbase-devel
## AUTOBUILDREQ-END
BuildRequires: miniupnpc-devel >= 1.9.20150206-1mamba
Requires: curl
Requires: openssl
Requires: libglib
Requires: libgtk
Requires: libevent
Requires: libnotify
Requires: libdbus-glib
BuildRequires: libminiupnpc-devel >= 0:2.2.8-1mamba
%description
Transmission is a fast, easy, and free multi-platform BitTorrent client.
@ -67,14 +47,16 @@ Transmission is designed from the ground up to balance power with simplicity. We
%prep
%setup -q
%patch 0 -p1
%build
%configure --prefix=%{_prefix} --mandir=%{_mandir}
%make
%cmake
%cmake_build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall DESTDIR=%{buildroot}
%cmake_install
%find_lang %{name}-gtk
@ -83,19 +65,23 @@ Transmission is designed from the ground up to balance power with simplicity. We
%files -f %{name}-gtk.lang
%defattr(-,root,root)
%attr(755,root,root) %{_bindir}/%{name}*
%dir %{_datadir}/%{name}
%dir %{_datadir}/%{name}/web
%{_datadir}/%{name}/web/*
%{_datadir}/appdata/transmission-gtk.appdata.xml
%{_datadir}/applications/%{name}-gtk.desktop
%{_datadir}/pixmaps/*
%attr(755,root,root) %{_bindir}/transmission*
%{_datadir}/applications/transmission-gtk.desktop
%{_datadir}/applications/transmission-qt.desktop
%{_metainfodir}/transmission-gtk.metainfo.xml
%dir %{_datadir}/transmission
%{_datadir}/transmission/*
%{_datadir}/icons/*
%{_mandir}/man?/*
%dir %{_docdir}/transmission
%{_docdir}/transmission/*
%doc AUTHORS COPYING
#NEWS README
%changelog
* Wed Jun 26 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 4.0.6-1mamba
- update to 4.0.6
* Thu May 28 2020 Automatic Build System <autodist@mambasoft.it> 3.00-1mamba
- automatic version update by autodist