commit bc72ca0ce39528ffb397aeefd27aecade7df5a45
Author: Sérgio M. Basto <sergio(a)serjux.com>
Date: Wed Oct 4 02:04:00 2023 +0100
Update ltris to 1.2.7
.gitignore | 1 +
icon_fix.patch | 32 ++++++++++++++------------------
ltris.spec | 14 +++++---------
sources | 2 +-
4 files changed, 21 insertions(+), 28 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 1f4d719..321e5ea 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,3 +7,4 @@ ltris-1.0.19.tar.gz
/ltris-1.2.4.tar.gz
/ltris-1.2.5.tar.gz
/ltris-1.2.6.tar.gz
+/ltris-1.2.7.tar.gz
diff --git a/icon_fix.patch b/icon_fix.patch
index 455a81f..6ae3d13 100644
--- a/icon_fix.patch
+++ b/icon_fix.patch
@@ -1,21 +1,17 @@
---- a/Makefile.am
-+++ b/Makefile.am
-@@ -7,7 +7,7 @@
- desktopdir = $(datadir)/applications
- desktop_DATA = ltris.desktop
- icondir = $(datadir)/icons
--icon_DATA = ltris128.png
-+icon_DATA = ltris.png
+--- ltris-1.2.7/Makefile.am.orig 2023-10-04 01:55:10.271766701 +0100
++++ ltris-1.2.7/Makefile.am 2023-10-04 01:55:34.559743827 +0100
+@@ -8,12 +8,12 @@ CROSSCOMPILE ltris.appdata.xml
+ install-data-local:
+ $(mkinstalldirs) $(DESTDIR)$(datadir)/icons/hicolor/apps
+ $(mkinstalldirs) $(DESTDIR)$(datadir)/applications
+- $(INSTALL_DATA) ltris48.png $(DESTDIR)$(datadir)/icons/hicolor/apps/ltris.png
++ $(INSTALL_DATA) ltris48.png $(DESTDIR)$(datadir)/icons/ltris.png
+ $(INSTALL_DATA) ltris.desktop $(DESTDIR)$(datadir)/applications
+
- AUTOMAKE_OPTIONS = foreign
-
-@@ -15,7 +15,7 @@
- # the right way to handle it? At least it works... as long as $datadir
- # does not contain plus signs. :-)
- ltris.desktop:
-- @sed -e "s+Icon=+Icon=$(datadir)/icons/ltris128.png+" \
-+ @sed -e "s+Icon=+Icon=ltris+" \
- < ltris.desktop.in > ltris.desktop
+ uninstall-local:
+- rm $(DESTDIR)$(datadir)/icons/hicolor/apps/ltris.png
++ rm $(DESTDIR)$(datadir)/icons/ltris.png
+ rm $(DESTDIR)$(datadir)/applications/ltris.desktop
ACLOCAL_AMFLAGS = -I m4
-
diff --git a/ltris.spec b/ltris.spec
index b667319..3736d02 100644
--- a/ltris.spec
+++ b/ltris.spec
@@ -1,7 +1,7 @@
Summary: Game of skill with falling blocks
Name: ltris
-Version: 1.2.6
-Release: 2%{?dist}
+Version: 1.2.7
+Release: 1%{?dist}
License: GPLv2+
URL:
https://lgames.sourceforge.net/
@@ -31,7 +31,6 @@ CPU(!) compete and send completed lines to each other.
%prep
%autosetup -p1
-mv ltris128.png ltris.png
%build
@@ -43,13 +42,7 @@ autoreconf -fiv
%install
%make_install
-%{__mkdir_p} %{buildroot}%{_datadir}/applications
-desktop-file-install \
- --dir %{buildroot}%{_datadir}/applications \
- %{name}.desktop
-
install -m 0644 -D ltris.appdata.xml %{buildroot}%{_metainfodir}/%{name}.appdata.xml
-
appstream-util validate --nonet %{buildroot}%{_metainfodir}/%{name}.appdata.xml
%find_lang %{name}
@@ -66,6 +59,9 @@ appstream-util validate --nonet
%{buildroot}%{_metainfodir}/%{name}.appdata.xml
%changelog
+* Wed Oct 04 2023 Sérgio Basto <sergio(a)serjux.com> - 1.2.7-1
+- Update ltris to 1.2.7
+
* Wed Aug 02 2023 RPM Fusion Release Engineering <sergiomb(a)rpmfusion.org> -
1.2.6-2
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
diff --git a/sources b/sources
index f6b8ddc..1dd594e 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (ltris-1.2.6.tar.gz) =
360ff6a6e1fb39cc9b80aa65581b72792c71f513bcc57384db897809ee94ed7804a3de5ac972f63a421955a907374a9f4879a6311ffc77a3f2380bb4d2579e10
+SHA512 (ltris-1.2.7.tar.gz) =
d727ad37e98214bbf236491e22e28536127ec1b72913a9d0e13e270a05163c0f02580e07541b2c02601d4c6769effc26827e01a19b5afa68bc3888e122c1fcff