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