diff --git a/.gitignore b/.gitignore index ed58061..e1b169d 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,7 @@ xpad-4.0.tar.bz2 /xpad-4.8.0.tar.bz2 /xpad-5.0.0.tar.bz2 /xpad-5.1.0.tar.bz2 +/xpad-5.2.0.tar.bz2 +/xpad-5.3.0.tar.bz2 +/xpad-5.8.0.tar.bz2 +/xpad-5.9.0.tar.bz2 diff --git a/sources b/sources index 784f375..10d454c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (xpad-5.1.0.tar.bz2) = 9999ccc14a3086cbe720f1ce0edfcb0c3840c5253c04aa64652988ce3b15230cca2c181f446239ef4bce3d4058d35e52aa69f2a115e0615cd670221bdde0bce4 +SHA512 (xpad-5.9.0.tar.bz2) = 4b230ad41bb0c079a563ab93b01a6517f62fb2acd7507a86a6a954be85c7139a0239710160d40ea05a43a4931610b24c76b8978f91907f17ab1e6bac844d9f8d diff --git a/xpad-5.8.0-gettext-version.patch b/xpad-5.8.0-gettext-version.patch new file mode 100644 index 0000000..fd00aad --- /dev/null +++ b/xpad-5.8.0-gettext-version.patch @@ -0,0 +1,12 @@ +diff --color -Nur xpad-5.8.0.orig/configure.ac xpad-5.8.0/configure.ac +--- xpad-5.8.0.orig/configure.ac 2022-05-23 05:07:02.000000000 -0700 ++++ xpad-5.8.0/configure.ac 2025-02-08 15:30:23.465729969 -0800 +@@ -52,7 +52,7 @@ + # i18n / text translations + # The choice for version of gettext is only based on what was installed on the developers desktop (2021). + # If another version is more convenient, go for it. +-AM_GNU_GETTEXT_VERSION([0.21]) ++AM_GNU_GETTEXT_REQUIRE_VERSION([0.23.1]) + AM_GNU_GETTEXT([external]) + + GETTEXT_PACKAGE="$PACKAGE" diff --git a/xpad.spec b/xpad.spec index e3f77ac..7540871 100644 --- a/xpad.spec +++ b/xpad.spec @@ -1,21 +1,26 @@ Name: xpad -Version: 5.1.0 +Version: 5.9.0 Release: 1%{?dist} Summary: Sticky notepad for GTK -Group: User Interface/Desktops -License: GPLv3+ +# Automatically converted from old format: GPLv3+ - review is highly recommended. +License: GPL-3.0-or-later URL: https://launchpad.net/xpad Source0: https://launchpad.net/xpad/trunk/%{version}/+download/%{name}-%{version}.tar.bz2 +Patch1: xpad-5.8.0-gettext-version.patch + +BuildRequires: make BuildRequires: gcc BuildRequires: gtk3-devel BuildRequires: libSM-devel BuildRequires: gettext BuildRequires: desktop-file-utils BuildRequires: intltool -BuildRequires: gtksourceview3-devel +BuildRequires: gtksourceview4-devel +BuildRequires: libayatana-appindicator-gtk3-devel BuildRequires: autoconf +BuildRequires: libappstream-glib %description Xpad is a sticky note application that strives to be simple, fault-tolerant, @@ -24,8 +29,7 @@ text box in which notes can be written. Despite being called xpad, all that is needed to run or compile it is the GTK+ 2.0 libraries. %prep -%setup -q - +%autosetup -p1 %build ./autogen.sh @@ -43,6 +47,8 @@ desktop-file-install \ --dir=%{buildroot}/%{_datadir}/applications \ %{buildroot}/%{_datadir}/applications/%{name}.desktop +appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/*.appdata.xml + %find_lang %{name} %files -f %{name}.lang @@ -51,10 +57,89 @@ desktop-file-install \ %{_bindir}/%{name} %{_datadir}/xpad %{_datadir}/applications/%{name}.desktop +%{_datadir}/metainfo/xpad.appdata.xml %{_datadir}/icons/hicolor/scalable/apps/%{name}.svg %{_mandir}/man1/%{name}.1* %changelog +* Tue Aug 25 2026 Kevin Fenzi - 5.9.0-1 +- Update to 5.9.0. Fixes rhbz#2516012 + +* Fri Jul 17 2026 Fedora Release Engineering - 5.8.0-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild + +* Sat Jan 17 2026 Fedora Release Engineering - 5.8.0-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild + +* Fri Jul 25 2025 Fedora Release Engineering - 5.8.0-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + +* Sat Feb 08 2025 Kevin Fenzi - 5.8.0-10 +- Fix ftbfs. Fixes rhbz#2341579 + +* Sun Jan 19 2025 Fedora Release Engineering - 5.8.0-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + +* Thu Jul 25 2024 Miroslav Suchý - 5.8.0-8 +- convert license to SPDX + +* Sat Jul 20 2024 Fedora Release Engineering - 5.8.0-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Thu Feb 29 2024 Arthur Bols - 5.8.0-6 +- Switch to libayatana-appindicator Fixes rhbz#2175545 + +* Sat Jan 27 2024 Fedora Release Engineering - 5.8.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Sat Jul 22 2023 Fedora Release Engineering - 5.8.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Sat Jan 21 2023 Fedora Release Engineering - 5.8.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Sat Jul 23 2022 Fedora Release Engineering - 5.8.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Sat May 28 2022 Kevin Fenzi - 5.8.0-1 +- Update to 5.8.0. Fixes rhbz#2049721 + +* Tue Mar 22 2022 Kevin Fenzi - 5.7.0-1 +- Update to 5.7.0. Fixes rhbz#2049721 + +* Sun Feb 20 2022 Kevin Fenzi - 5.5.0-8 +- Update to 5.5.0. Fixes rhbz#2049721 + +* Sat Jan 22 2022 Fedora Release Engineering - 5.3.0-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Fri Jul 23 2021 Fedora Release Engineering - 5.3.0-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Thu Jan 28 2021 Fedora Release Engineering - 5.3.0-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Wed Jul 29 2020 Fedora Release Engineering - 5.3.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Fri Jan 31 2020 Fedora Release Engineering - 5.3.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Sat Jul 27 2019 Fedora Release Engineering - 5.3.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Sun Feb 03 2019 Fedora Release Engineering - 5.3.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Fri Dec 28 2018 Kevin Fenzi - 5.3.0-1 +- Update to 5.3.0 + +* Sun Dec 16 2018 Kevin Fenzi - 5.2.0-2 +- Add patch from upstream to fix bug #1655869 + +* Sun Nov 18 2018 Kevin Fenzi - 5.2.0-1 +- Update to 5.2.0. + * Thu Aug 16 2018 Kevin Fenzi - 5.1.0-1 - Update to 5.1.0. Fixes bug #1614335