[ltris/f31] Fix icon and desktop file
by Leigh Scott
Summary of changes:
756ce0c... Fix icon and desktop file (*)
(*) This commit already existed in another branch; no separate mail sent
4 years, 2 months
[ltris/f32] Fix icon and desktop file
by Leigh Scott
Summary of changes:
756ce0c... Fix icon and desktop file (*)
(*) This commit already existed in another branch; no separate mail sent
4 years, 2 months
[ltris/f33] Fix icon and desktop file
by Leigh Scott
Summary of changes:
756ce0c... Fix icon and desktop file (*)
(*) This commit already existed in another branch; no separate mail sent
4 years, 2 months
[ltris] Fix icon and desktop file
by Leigh Scott
commit 756ce0c3ccd2602317b5c47360931cc9a41ff7e8
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Thu Sep 17 10:21:42 2020 +0100
Fix icon and desktop file
icon_fix.patch | 21 +++++++++++++++++++++
ltris.spec | 10 ++++++++--
2 files changed, 29 insertions(+), 2 deletions(-)
---
diff --git a/icon_fix.patch b/icon_fix.patch
new file mode 100644
index 0000000..ae867c0
--- /dev/null
+++ b/icon_fix.patch
@@ -0,0 +1,21 @@
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -7,7 +7,7 @@
+ desktopdir = $(datadir)/applications
+ desktop_DATA = ltris.desktop
+ icondir = $(datadir)/icons
+-icon_DATA = ltris48.gif
++icon_DATA = ltris.png
+
+ 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/ltris48.gif+" \
++ @sed -e "s+Icon=+Icon=ltris+" \
+ < ltris.desktop.in > ltris.desktop
+
+ ACLOCAL_AMFLAGS = -I m4
+
diff --git a/ltris.spec b/ltris.spec
index 02718da..8a19a8a 100644
--- a/ltris.spec
+++ b/ltris.spec
@@ -1,7 +1,7 @@
Summary: Game of skill with falling blocks
Name: ltris
Version: 1.2.1
-Release: 2%{?dist}
+Release: 3%{?dist}
License: GPLv2+
URL: http://lgames.sourceforge.net/
@@ -9,9 +9,11 @@ Source: http://dl.sf.net/lgames/%{name}-%{version}.tar.gz
Source2: %{name}.appdata.xml
Patch0: fix_sdl_test.patch
+Patch1: icon_fix.patch
BuildRequires: desktop-file-utils
BuildRequires: gcc
+BuildRequires: ImageMagick
BuildRequires: libappstream-glib
BuildRequires: SDL-devel
BuildRequires: SDL_mixer-devel
@@ -31,6 +33,7 @@ CPU(!) compete and send completed lines to each other.
%prep
%autosetup -p1
+convert ltris48.gif ltris.png
%build
@@ -58,13 +61,16 @@ appstream-util validate --nonet %{buildroot}%{_metainfodir}/%{name}.appdata.xml
%license COPYING
%attr(2551, root, games) %{_bindir}/ltris
%{_datadir}/applications/%{name}.desktop
-%{_datadir}/icons/ltris48.gif
+%{_datadir}/icons/ltris.png
%{_datadir}/ltris/
%config(noreplace) %attr(664, root, games) %{_localstatedir}/lib/games/ltris.hscr
%{_metainfodir}/%{name}.appdata.xml
%changelog
+* Thu Sep 17 2020 Leigh Scott <leigh123linux(a)gmail.com> - 1.2.1-3
+- Fix icon and desktop file
+
* Thu Sep 17 2020 Leigh Scott <leigh123linux(a)gmail.com> - 1.2.1-2
- Fix appdata
4 years, 2 months
[ltris/f31] Fix appdata
by Leigh Scott
Summary of changes:
6c43a67... Fix appdata (*)
(*) This commit already existed in another branch; no separate mail sent
4 years, 2 months
[ltris/f32] Fix appdata
by Leigh Scott
Summary of changes:
6c43a67... Fix appdata (*)
(*) This commit already existed in another branch; no separate mail sent
4 years, 2 months
[ltris/f33] Fix appdata
by Leigh Scott
Summary of changes:
6c43a67... Fix appdata (*)
(*) This commit already existed in another branch; no separate mail sent
4 years, 2 months
[ltris] Fix appdata
by Leigh Scott
commit 6c43a67825cc775d7fe8b4fd85d4daccd7523e65
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Thu Sep 17 09:41:57 2020 +0100
Fix appdata
ltris.appdata.xml | 2 +-
ltris.spec | 9 ++++++---
2 files changed, 7 insertions(+), 4 deletions(-)
---
diff --git a/ltris.appdata.xml b/ltris.appdata.xml
index 08bb3f1..5329f69 100644
--- a/ltris.appdata.xml
+++ b/ltris.appdata.xml
@@ -23,7 +23,7 @@
your CPU playing while enjoying a cup of tea!
</p>
</description>
- <launchable type="desktop-id">smplayer.desktop</launchable>
+ <launchable type="desktop-id">ltris.desktop</launchable>
<url type="homepage">http://lgames.sourceforge.net/</url>
<screenshots>
<screenshot type="default">
diff --git a/ltris.spec b/ltris.spec
index 6557a1e..02718da 100644
--- a/ltris.spec
+++ b/ltris.spec
@@ -1,7 +1,7 @@
Summary: Game of skill with falling blocks
Name: ltris
Version: 1.2.1
-Release: 1%{?dist}
+Release: 2%{?dist}
License: GPLv2+
URL: http://lgames.sourceforge.net/
@@ -49,7 +49,7 @@ desktop-file-install \
install -m 0644 -D %{SOURCE2} %{buildroot}%{_metainfodir}/%{name}.appdata.xml
-appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/%{name}.appdata.xml
+appstream-util validate --nonet %{buildroot}%{_metainfodir}/%{name}.appdata.xml
%find_lang %{name}
@@ -65,11 +65,14 @@ appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/%{name}.appdat
%changelog
+* Thu Sep 17 2020 Leigh Scott <leigh123linux(a)gmail.com> - 1.2.1-2
+- Fix appdata
+
* Thu Sep 10 2020 Leigh Scott <leigh123linux(a)gmail.com> - 1.2.1-1
- Update to 1.2.1
* Thu Sep 10 2020 Leigh Scott <leigh123linux(a)gmail.com> - 1.0.19-11
-- Fix and vailidate appdata
+- Fix and validate appdata
- Fix licence
- Update spec file
4 years, 2 months