diff --git a/.gitignore b/.gitignore index 7011864..d7f71c7 100644 --- a/.gitignore +++ b/.gitignore @@ -38,3 +38,4 @@ uget-1.5.9.3.tar.gz /uget-2.2.0.tar.gz /uget-2.2.1.tar.gz /uget-2.2.2.tar.gz +/uget-2.2.3-1.tar.gz diff --git a/sources b/sources index 6e299d0..464fbf8 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (uget-2.2.2.tar.gz) = 57b295d4cf9626140db41f256462238c40a254e6387fc67bfc016384a7fdfbbdc635f233de1196a0ef7a83f0626a445dad80a0e7ea9d6d8a6d085fbda7d1b1ef +SHA512 (uget-2.2.3-1.tar.gz) = a2359200486c60a79d53083f25c627d70f969880765e5c38897e7d35e94540c59e45f294dc10b0863ae812c449d232ad230cae90bb5e0ebded9bcabf2b4b7725 diff --git a/uget-2.2.3-c23-function-proto.patch b/uget-2.2.3-c23-function-proto.patch new file mode 100644 index 0000000..0689684 --- /dev/null +++ b/uget-2.2.3-c23-function-proto.patch @@ -0,0 +1,13 @@ +diff --git a/ui-gtk/UgtkSettingDialog.h b/ui-gtk/UgtkSettingDialog.h +index 750949e..0e82638 100644 +--- a/ui-gtk/UgtkSettingDialog.h ++++ b/ui-gtk/UgtkSettingDialog.h +@@ -75,7 +75,7 @@ struct UgtkSettingDialog + struct UgtkMediaWebsiteForm media_website; + }; + +-UgtkSettingDialog* ugtk_setting_dialog_new (); ++UgtkSettingDialog* ugtk_setting_dialog_new (const gchar* title, GtkWindow* parent); + void ugtk_setting_dialog_free (UgtkSettingDialog* sdialog); + + void ugtk_setting_dialog_run (UgtkSettingDialog* dialog, UgtkApp* app); diff --git a/uget-2.2.3-gcc10-fno-common.patch b/uget-2.2.3-gcc10-fno-common.patch new file mode 100644 index 0000000..ab89e72 --- /dev/null +++ b/uget-2.2.3-gcc10-fno-common.patch @@ -0,0 +1,11 @@ +--- uget-2.2.3/ui-gtk/UgtkBanner.h.gcc10 2020-01-01 06:04:04.000000000 +0900 ++++ uget-2.2.3/ui-gtk/UgtkBanner.h 2020-01-23 16:15:32.428196583 +0900 +@@ -64,7 +64,7 @@ + UgetRssFeed* feed; + UgetRssItem* item; + } rss; +-} banner; ++}; + + void ugtk_banner_init (UgtkBanner* banner); + diff --git a/uget.spec b/uget.spec index 3c9f74b..0c53f4c 100644 --- a/uget.spec +++ b/uget.spec @@ -1,15 +1,21 @@ -%global mainver 2.2.2 -#%%global minorver 2 +%global mainver 2.2.3 +%global minorver 1 Name: uget Version: %{mainver} -Release: 1%{?minorver:.respin%minorver}%{?dist} +Release: 17%{?minorver:.respin%minorver}%{?dist} Summary: Download manager using GTK+ and libcurl -License: LGPLv2+ +# Overall LGPL-2.1-or-later +# uget/pwmd.c GPL-2.0-or-later (unused) +# SPDX confirmed +License: LGPL-2.1-or-later URL: http://ugetdm.com/ Source0: http://downloads.sourceforge.net/urlget/%{name}-%{mainver}%{?minorver:-%minorver}.tar.gz +Patch0: uget-2.2.3-gcc10-fno-common.patch +Patch1: uget-2.2.3-c23-function-proto.patch +BuildRequires: make BuildRequires: gcc BuildRequires: desktop-file-utils BuildRequires: pkgconfig(appindicator3-0.1) @@ -32,22 +38,21 @@ be inherited by each download in that category. %prep %setup -q -n %{name}-%{mainver} +%patch -P0 -p1 -b .gcc10 +%patch -P1 -p1 -b .c23 %global optflags_orig %optflags %global optflags %optflags -Werror=implicit-function-declaration %build - %configure \ --with-gnutls \ --without-openssl -make -k %{?_smp_mflags} +%make_build %install -make install \ - DESTDIR=$RPM_BUILD_ROOT \ - INSTALL="install -p" +%make_install desktop-file-install \ --dir $RPM_BUILD_ROOT%{_datadir}/applications \ --delete-original \ @@ -71,6 +76,61 @@ desktop-file-install \ %{_datadir}/pixmaps/%{name}/logo.png %changelog +* Fri Jul 17 2026 Fedora Release Engineering - 2.2.3-17.respin1 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild + +* Tue Jan 20 2026 Fedora Release Engineering - 2.2.3-16.respin1 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild + +* Fri Jul 25 2025 Fedora Release Engineering - 2.2.3-15.respin1 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + +* Fri Jan 17 2025 Mamoru TASAKA - 2.2.3-14.respin1 +- Support C23 strict prototype + +* Sat Jul 20 2024 Fedora Release Engineering - 2.2.3-13.respin1 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Thu Feb 15 2024 Mamoru TASAKA - 2.2.3-12.respin1 +- SPDX migration + +* Sat Jan 27 2024 Fedora Release Engineering - 2.2.3-11.respin1 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Sat Jul 22 2023 Mamoru TASAKA - 2.2.3-10.respin1 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Sat Jan 21 2023 Fedora Release Engineering - 2.2.3-9.respin1 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Sat Jul 23 2022 Fedora Release Engineering - 2.2.3-8.respin1 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Sat Jan 22 2022 Fedora Release Engineering - 2.2.3-7.respin1 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Fri Jul 23 2021 Fedora Release Engineering - 2.2.3-6.respin1 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Wed Jan 27 2021 Fedora Release Engineering - 2.2.3-5.respin1 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Wed Jul 29 2020 Fedora Release Engineering - 2.2.3-4.respin1 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Fri Jan 31 2020 Fedora Release Engineering - 2.2.3-3.respin1 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Thu Jan 23 2020 Mamoru TASAKA - 2.2.3-2.respin1 +- Fix for gcc10 -fno-common + +* Wed Jan 1 2020 Mamoru TASAKA - 2.2.3-1.respin1 +- 2.2.3-1 +- A Happy New Year + +* Sat Jul 27 2019 Fedora Release Engineering - 2.2.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + * Tue May 21 2019 Mamoru TASAKA - 2.2.2-1 - 2.2.2 @@ -95,6 +155,7 @@ desktop-file-install \ * Thu Aug 03 2017 Fedora Release Engineering - 2.1.5-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + * Thu Jul 27 2017 Fedora Release Engineering - 2.1.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild