From cfce117cae0297f9b1bc2255f764392311ac883b Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Thu, 27 Jun 2024 09:24:49 +0200 Subject: [PATCH] update to 4.0.6 [release 4.0.6-1mamba;Wed Jun 26 2024] --- transmission-4.0.6-miniupnpc-2.2.8.patch | 11 +++ transmission.spec | 98 ++++++++++-------------- 2 files changed, 53 insertions(+), 56 deletions(-) create mode 100644 transmission-4.0.6-miniupnpc-2.2.8.patch diff --git a/transmission-4.0.6-miniupnpc-2.2.8.patch b/transmission-4.0.6-miniupnpc-2.2.8.patch new file mode 100644 index 0000000..d1a3e50 --- /dev/null +++ b/transmission-4.0.6-miniupnpc-2.2.8.patch @@ -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{}; +- 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))); diff --git a/transmission.spec b/transmission.spec index 00a9612..77f5440 100644 --- a/transmission.spec +++ b/transmission.spec @@ -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 -URL: http://www.transmissionbt.com -Source: https://github.com/transmission/transmission-releases/raw/master/transmission-%{version}.tar.xz +Packager: Silvan Calarco +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: libcairo-devel -BuildRequires: libcares-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: glibc-devel +BuildRequires: libQt5Svg-devel +BuildRequires: libcairo-devel +BuildRequires: libcairomm-devel +BuildRequires: libcurl-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 4.0.6-1mamba +- update to 4.0.6 + * Thu May 28 2020 Automatic Build System 3.00-1mamba - automatic version update by autodist