[steam/f33] Use bundled AppData
by Simone Caronni
commit 75839bcbf77655a78d24e5f58fe16ab6a2312325
Author: Simone Caronni <negativo17(a)gmail.com>
Date: Sun Aug 15 10:30:55 2021 +0200
Use bundled AppData
steam.appdata.xml | 38 --------------------------------------
steam.spec | 23 ++++++++++++++++-------
2 files changed, 16 insertions(+), 45 deletions(-)
---
diff --git a/steam.spec b/steam.spec
index 0e4afee..7271de7 100644
--- a/steam.spec
+++ b/steam.spec
@@ -1,6 +1,8 @@
# Binary package, no debuginfo should be generated
%global debug_package %{nil}
+%global appstream_id com.valvesoftware.Steam
+
Name: steam
Version: 1.0.0.71
Release: 1%{?dist}
@@ -13,7 +15,6 @@ ExclusiveArch: i686
Source0: http://repo.steampowered.com/%{name}/pool/%{name}/s/%{name}/%{name}_%{ver...
Source1: %{name}.sh
Source2: %{name}.csh
-Source4: %{name}.appdata.xml
Source5: README.Fedora
# Ghost touches in Big Picture mode:
@@ -39,6 +40,10 @@ Patch1: %{name}-no-icon-on-desktop.patch
BuildRequires: desktop-file-utils
BuildRequires: systemd
+%if 0%{?fedora} || 0%{?rhel} >= 8
+BuildRequires: libappstream-glib
+%endif
+
# Required to run the initial setup
Requires: tar
Requires: zenity
@@ -155,7 +160,7 @@ This package contains the necessary permissions for gaming devices.
cp %{SOURCE5} .
# Remove too new desktop menu spec (Gnome >= 3.37.2)
-%if 0%{?fedora} == 32 || 0%{?rhel} == 8 || 0%{?rhel} == 7
+%if 0%{?rhel} == 8 || 0%{?rhel} == 7
sed -i -e '/PrefersNonDefaultGPU/d' steam.desktop
%endif
@@ -176,10 +181,6 @@ install -m 644 -p %{SOURCE6} %{SOURCE8} %{SOURCE9} \
mkdir -p %{buildroot}%{_sysconfdir}/profile.d
install -pm 644 %{SOURCE1} %{SOURCE2} %{buildroot}%{_sysconfdir}/profile.d
-# Install AppData
-mkdir -p %{buildroot}%{_metainfodir}
-install -p -m 0644 %{SOURCE4} %{buildroot}%{_metainfodir}/
-
# Raise file descriptor limit
mkdir -p %{buildroot}%{_prefix}/lib/systemd/system.conf.d/
mkdir -p %{buildroot}%{_prefix}/lib/systemd/user.conf.d/
@@ -188,6 +189,11 @@ install -m 644 -p %{SOURCE7} %{buildroot}%{_prefix}/lib/systemd/user.conf.d/
%check
desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
+%if 0%{?fedora} || 0%{?rhel} >= 8
+appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/%{appstream_id}.metainfo.xml
+%else
+rm -fr %{buildroot}%{_datadir}/metainfo
+%endif
%post
%if 0%{?rhel} == 7
@@ -217,7 +223,9 @@ fi
%{_datadir}/pixmaps/%{name}_tray_mono.png
%{_libdir}/%{name}/
%{_mandir}/man6/%{name}.*
-%{_metainfodir}/%{name}.appdata.xml
+%if 0%{?fedora} || 0%{?rhel} >= 8
+%{_metainfodir}/%{appstream_id}.metainfo.xml
+%endif
%config(noreplace) %{_sysconfdir}/profile.d/%{name}.*sh
%dir %{_prefix}/lib/systemd/system.conf.d/
%{_prefix}/lib/systemd/system.conf.d/01-steam.conf
@@ -231,6 +239,7 @@ fi
* Sun Aug 15 2021 Simone Caronni <negativo17(a)gmail.com> - 1.0.0.71-1
- Update to 1.0.0.71.
- Update README.Fedora with supported controllers.
+- Use bundled AppData.
* Wed Aug 04 2021 RPM Fusion Release Engineering <leigh123linux(a)gmail.com> - 1.0.0.70-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
3 years, 3 months
[steam/f33] Update makefile patch
by Simone Caronni
commit c149ea8c5e82263d54efbad890e25b08b9202ae6
Author: Simone Caronni <negativo17(a)gmail.com>
Date: Sun Aug 15 10:11:50 2021 +0200
Update makefile patch
steam-makefile.patch | 23 +++++++++++++----------
1 file changed, 13 insertions(+), 10 deletions(-)
---
diff --git a/steam-makefile.patch b/steam-makefile.patch
index ccdcb44..3305865 100644
--- a/steam-makefile.patch
+++ b/steam-makefile.patch
@@ -1,22 +1,25 @@
diff -Naur steam-launcher.old/Makefile steam-launcher/Makefile
---- steam-launcher.old/Makefile 2020-04-15 11:51:24.213660509 +0200
-+++ steam-launcher/Makefile 2020-04-15 12:04:04.698333624 +0200
+--- steam-launcher.old/Makefile 2021-08-15 10:06:43.590277519 +0200
++++ steam-launcher/Makefile 2021-08-15 10:09:33.544337930 +0200
@@ -3,7 +3,7 @@
all:
@echo 'Run steam with "./steam" or install it with "sudo make install"'
--install: install-bin install-docs install-icons install-bootstrap install-desktop install-apt-source
-+install: install-bin install-docs install-icons install-bootstrap install-desktop
+-install: install-bin install-docs install-icons install-bootstrap install-desktop install-appdata install-apt-source
++install: install-bin install-docs install-icons install-bootstrap install-desktop install-appdata
install-bin:
install -d -m 755 $(DESTDIR)$(PREFIX)/bin/
-@@ -41,8 +41,7 @@
+@@ -41,12 +41,7 @@
install-desktop:
install -d -m 755 $(DESTDIR)$(PREFIX)/share/applications/
install -d -m 755 $(DESTDIR)$(pkglibdir)/
-- install -p -m 644 $(PACKAGE).desktop $(DESTDIR)$(pkglibdir)
-- ln -fns $(pkglibdir)/$(PACKAGE).desktop $(DESTDIR)$(datadir)/applications/
-+ install -p -m 644 $(PACKAGE).desktop $(DESTDIR)$(PREFIX)/share/applications/
+- # If we create a desktop symlink in $(datadir)/applications/, the md5sum deb file
+- # will not contain an entry for it and appstream-generator will complain that
+- # the package is missing the desktop file. Instead we place the real file in
+- # $(datadir)/applications/ and create a symlink in $(pkglibdir)
+ install -p -m 644 $(PACKAGE).desktop $(DESTDIR)$(datadir)/applications/
+- ln -fns $(datadir)/applications/$(PACKAGE).desktop $(DESTDIR)$(pkglibdir)/
- install-apt-source:
- if [ -d /etc/apt ]; then \
+ install-appdata:
+ install -d -m 755 $(DESTDIR)$(PREFIX)/share/metainfo/
3 years, 3 months
[steam/el8] Use bundled AppData
by Simone Caronni
commit 34414a6af77a0a3000fed3f88bb2e92b05603407
Author: Simone Caronni <negativo17(a)gmail.com>
Date: Sun Aug 15 10:30:55 2021 +0200
Use bundled AppData
steam.appdata.xml | 38 --------------------------------------
steam.spec | 23 ++++++++++++++++-------
2 files changed, 16 insertions(+), 45 deletions(-)
---
diff --git a/steam.spec b/steam.spec
index 0e4afee..7271de7 100644
--- a/steam.spec
+++ b/steam.spec
@@ -1,6 +1,8 @@
# Binary package, no debuginfo should be generated
%global debug_package %{nil}
+%global appstream_id com.valvesoftware.Steam
+
Name: steam
Version: 1.0.0.71
Release: 1%{?dist}
@@ -13,7 +15,6 @@ ExclusiveArch: i686
Source0: http://repo.steampowered.com/%{name}/pool/%{name}/s/%{name}/%{name}_%{ver...
Source1: %{name}.sh
Source2: %{name}.csh
-Source4: %{name}.appdata.xml
Source5: README.Fedora
# Ghost touches in Big Picture mode:
@@ -39,6 +40,10 @@ Patch1: %{name}-no-icon-on-desktop.patch
BuildRequires: desktop-file-utils
BuildRequires: systemd
+%if 0%{?fedora} || 0%{?rhel} >= 8
+BuildRequires: libappstream-glib
+%endif
+
# Required to run the initial setup
Requires: tar
Requires: zenity
@@ -155,7 +160,7 @@ This package contains the necessary permissions for gaming devices.
cp %{SOURCE5} .
# Remove too new desktop menu spec (Gnome >= 3.37.2)
-%if 0%{?fedora} == 32 || 0%{?rhel} == 8 || 0%{?rhel} == 7
+%if 0%{?rhel} == 8 || 0%{?rhel} == 7
sed -i -e '/PrefersNonDefaultGPU/d' steam.desktop
%endif
@@ -176,10 +181,6 @@ install -m 644 -p %{SOURCE6} %{SOURCE8} %{SOURCE9} \
mkdir -p %{buildroot}%{_sysconfdir}/profile.d
install -pm 644 %{SOURCE1} %{SOURCE2} %{buildroot}%{_sysconfdir}/profile.d
-# Install AppData
-mkdir -p %{buildroot}%{_metainfodir}
-install -p -m 0644 %{SOURCE4} %{buildroot}%{_metainfodir}/
-
# Raise file descriptor limit
mkdir -p %{buildroot}%{_prefix}/lib/systemd/system.conf.d/
mkdir -p %{buildroot}%{_prefix}/lib/systemd/user.conf.d/
@@ -188,6 +189,11 @@ install -m 644 -p %{SOURCE7} %{buildroot}%{_prefix}/lib/systemd/user.conf.d/
%check
desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
+%if 0%{?fedora} || 0%{?rhel} >= 8
+appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/%{appstream_id}.metainfo.xml
+%else
+rm -fr %{buildroot}%{_datadir}/metainfo
+%endif
%post
%if 0%{?rhel} == 7
@@ -217,7 +223,9 @@ fi
%{_datadir}/pixmaps/%{name}_tray_mono.png
%{_libdir}/%{name}/
%{_mandir}/man6/%{name}.*
-%{_metainfodir}/%{name}.appdata.xml
+%if 0%{?fedora} || 0%{?rhel} >= 8
+%{_metainfodir}/%{appstream_id}.metainfo.xml
+%endif
%config(noreplace) %{_sysconfdir}/profile.d/%{name}.*sh
%dir %{_prefix}/lib/systemd/system.conf.d/
%{_prefix}/lib/systemd/system.conf.d/01-steam.conf
@@ -231,6 +239,7 @@ fi
* Sun Aug 15 2021 Simone Caronni <negativo17(a)gmail.com> - 1.0.0.71-1
- Update to 1.0.0.71.
- Update README.Fedora with supported controllers.
+- Use bundled AppData.
* Wed Aug 04 2021 RPM Fusion Release Engineering <leigh123linux(a)gmail.com> - 1.0.0.70-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
3 years, 3 months
[steam/el7] Use bundled AppData
by Simone Caronni
commit b7ad53d25514624bbf9299aecacd63c1b57bc553
Author: Simone Caronni <negativo17(a)gmail.com>
Date: Sun Aug 15 10:30:55 2021 +0200
Use bundled AppData
steam.appdata.xml | 38 --------------------------------------
steam.spec | 23 ++++++++++++++++-------
2 files changed, 16 insertions(+), 45 deletions(-)
---
diff --git a/steam.spec b/steam.spec
index 40d8c60..fe33138 100644
--- a/steam.spec
+++ b/steam.spec
@@ -1,6 +1,8 @@
# Binary package, no debuginfo should be generated
%global debug_package %{nil}
+%global appstream_id com.valvesoftware.Steam
+
Name: steam
Version: 1.0.0.71
Release: 1%{?dist}
@@ -13,7 +15,6 @@ ExclusiveArch: i686
Source0: http://repo.steampowered.com/%{name}/pool/%{name}/s/%{name}/%{name}_%{ver...
Source1: %{name}.sh
Source2: %{name}.csh
-Source4: %{name}.appdata.xml
Source5: README.Fedora
# Ghost touches in Big Picture mode:
@@ -39,6 +40,10 @@ Patch1: %{name}-no-icon-on-desktop.patch
BuildRequires: desktop-file-utils
BuildRequires: systemd
+%if 0%{?fedora} || 0%{?rhel} >= 8
+BuildRequires: libappstream-glib
+%endif
+
# Required to run the initial setup
Requires: tar
Requires: zenity
@@ -155,7 +160,7 @@ This package contains the necessary permissions for gaming devices.
cp %{SOURCE5} .
# Remove too new desktop menu spec (Gnome >= 3.37.2)
-%if 0%{?fedora} == 32 || 0%{?rhel} == 8 || 0%{?rhel} == 7
+%if 0%{?rhel} == 8 || 0%{?rhel} == 7
sed -i -e '/PrefersNonDefaultGPU/d' steam.desktop
%endif
@@ -176,10 +181,6 @@ install -m 644 -p %{SOURCE6} %{SOURCE8} %{SOURCE9} \
mkdir -p %{buildroot}%{_sysconfdir}/profile.d
install -pm 644 %{SOURCE1} %{SOURCE2} %{buildroot}%{_sysconfdir}/profile.d
-# Install AppData
-mkdir -p %{buildroot}%{_metainfodir}
-install -p -m 0644 %{SOURCE4} %{buildroot}%{_metainfodir}/
-
# Raise file descriptor limit
mkdir -p %{buildroot}%{_prefix}/lib/systemd/system.conf.d/
mkdir -p %{buildroot}%{_prefix}/lib/systemd/user.conf.d/
@@ -188,6 +189,11 @@ install -m 644 -p %{SOURCE7} %{buildroot}%{_prefix}/lib/systemd/user.conf.d/
%check
desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
+%if 0%{?fedora} || 0%{?rhel} >= 8
+appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/%{appstream_id}.metainfo.xml
+%else
+rm -fr %{buildroot}%{_datadir}/metainfo
+%endif
%post
%if 0%{?rhel} == 7
@@ -217,7 +223,9 @@ fi
%{_datadir}/pixmaps/%{name}_tray_mono.png
%{_libdir}/%{name}/
%{_mandir}/man6/%{name}.*
-%{_metainfodir}/%{name}.appdata.xml
+%if 0%{?fedora} || 0%{?rhel} >= 8
+%{_metainfodir}/%{appstream_id}.metainfo.xml
+%endif
%config(noreplace) %{_sysconfdir}/profile.d/%{name}.*sh
%dir %{_prefix}/lib/systemd/system.conf.d/
%{_prefix}/lib/systemd/system.conf.d/01-steam.conf
@@ -231,6 +239,7 @@ fi
* Sun Aug 15 2021 Simone Caronni <negativo17(a)gmail.com> - 1.0.0.71-1
- Update to 1.0.0.71.
- Update README.Fedora with supported controllers.
+- Use bundled AppData.
* Wed Aug 04 2021 RPM Fusion Release Engineering <leigh123linux(a)gmail.com> - 1.0.0.70-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
3 years, 3 months
[steam] Update sources
by Simone Caronni
Summary of changes:
19ed1a7... Update sources (*)
(*) This commit already existed in another branch; no separate mail sent
3 years, 3 months
[steam/f35] Update sources
by Simone Caronni
Summary of changes:
19ed1a7... Update sources (*)
(*) This commit already existed in another branch; no separate mail sent
3 years, 3 months
[steam/f34] Update sources
by Simone Caronni
Summary of changes:
19ed1a7... Update sources (*)
(*) This commit already existed in another branch; no separate mail sent
3 years, 3 months
[steam/f33] Update sources
by Simone Caronni
commit 19ed1a779829d2f566eaee7acd9db3ecae6642bf
Author: Simone Caronni <negativo17(a)gmail.com>
Date: Sun Aug 15 10:01:07 2021 +0200
Update sources
.gitignore | 1 +
sources | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/.gitignore b/.gitignore
index 041ab23..5390df5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@
/steam_1.0.0.66.tar.gz
/steam_1.0.0.68.tar.gz
/steam_1.0.0.70.tar.gz
+/steam_1.0.0.71.tar.gz
diff --git a/sources b/sources
index 8fe2d59..cd97376 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (steam_1.0.0.70.tar.gz) = ae3c706b758401ebddbc11ba8c1dfd889289ebe383788a5aa802e6ef6d57020e177c9d36497fcca4652a778effe157607d449177c1ce3299d226cc0dc4436152
+SHA512 (steam_1.0.0.71.tar.gz) = 20205ccd14dd1b48b85a3288cdce39116a601260e70b9d5811cb1786be766f235153d199e64dd4e794553c5957ce41e9b671cf044f2bdddbb0f99f0c1e08b83e
3 years, 3 months