From e17a8bc288c2520e08b625f4bfe96faae352fbe2 Mon Sep 17 00:00:00 2001 From: GloriousEggroll Date: Fri, 10 Jan 2025 17:02:52 -0700 Subject: [PATCH] bump kde packages to 6.3.5, bump nobara-updater, opengamepadui, add fixups for nobara rpm installer as default --- baseos/kde-cli-tools/kde-cli-tools.spec | 4 +- baseos/kde-nobara/kde-nobara.spec | 6 +- .../kde-steamdeck-additions.spec | 2 +- baseos/kde-steamdeck/kde-steamdeck.spec | 2 +- baseos/mailcap/add_srpm_mime_type.patch | 12 + baseos/mailcap/mailcap.spec | 394 ++++++++++++++++++ baseos/nobara-updater/nobara-updater.spec | 2 +- baseos/opengamepadui/opengamepadui.spec | 10 +- baseos/plasma-desktop/plasma-desktop.spec | 2 +- .../plasma-workspace-wallpapers.spec | 2 +- baseos/plasma-workspace/plasma-workspace.spec | 2 +- baseos/setup/application-x-src+rpm.xml | 7 + ...file_force_nobara_rpm_installer_default.sh | 26 ++ baseos/setup/setup.spec | 16 +- .../xdg-desktop-portal-kde.spec | 2 +- 15 files changed, 471 insertions(+), 18 deletions(-) create mode 100644 baseos/mailcap/add_srpm_mime_type.patch create mode 100644 baseos/mailcap/mailcap.spec create mode 100644 baseos/setup/application-x-src+rpm.xml create mode 100755 baseos/setup/nobara_profile_force_nobara_rpm_installer_default.sh diff --git a/baseos/kde-cli-tools/kde-cli-tools.spec b/baseos/kde-cli-tools/kde-cli-tools.spec index f56cfa1..6172b33 100644 --- a/baseos/kde-cli-tools/kde-cli-tools.spec +++ b/baseos/kde-cli-tools/kde-cli-tools.spec @@ -1,6 +1,6 @@ Name: kde-cli-tools -Version: 6.2.4 -Release: 2%{?dist} +Version: 6.2.5 +Release: 1%{?dist} Summary: Tools based on KDE Frameworks 5 to better interact with the system License: Artistic-2.0 AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-only AND LGPL-2.0-only AND LGPL-2.0-or-later AND LGPL-2.1-only AND LGPL-2.1-only AND LGPL-3.0-only AND (GPL-2.0-only OR GPL-3.0-only) AND (LGPL-2.1-only OR LGPL-3.0-only) diff --git a/baseos/kde-nobara/kde-nobara.spec b/baseos/kde-nobara/kde-nobara.spec index c83b658..7a3abdd 100644 --- a/baseos/kde-nobara/kde-nobara.spec +++ b/baseos/kde-nobara/kde-nobara.spec @@ -1,6 +1,6 @@ Name: kde-nobara -Version: 6.2.4 -Release: 4%{?dist} +Version: 6.2.5 +Release: 2%{?dist} Summary: KDE Presets from NobaraProject Official License: GPLv2 URL: https://github.com/nobara-project/nobara-core-packages @@ -12,7 +12,7 @@ Requires: kde-filesystem Requires: papirus-icon-theme Requires: papirus-icon-theme-dark Requires: papirus-folders -Requires: starship +Recommends: starship Provides: kde-nobara Provides: plasma-lookandfeel-nobara Requires: kde-nobara-sddm diff --git a/baseos/kde-steamdeck-additions/kde-steamdeck-additions.spec b/baseos/kde-steamdeck-additions/kde-steamdeck-additions.spec index db2030c..73b867f 100644 --- a/baseos/kde-steamdeck-additions/kde-steamdeck-additions.spec +++ b/baseos/kde-steamdeck-additions/kde-steamdeck-additions.spec @@ -2,7 +2,7 @@ %define debug_package %{nil} Name: kde-steamdeck-additions -Version: 6.2.4 +Version: 6.2.5 Release: 1%{?dist} Summary: SteamOS Nested Desktop + "Add to Steam" right-click services License: GPLv2 diff --git a/baseos/kde-steamdeck/kde-steamdeck.spec b/baseos/kde-steamdeck/kde-steamdeck.spec index e61a10c..b556250 100644 --- a/baseos/kde-steamdeck/kde-steamdeck.spec +++ b/baseos/kde-steamdeck/kde-steamdeck.spec @@ -1,5 +1,5 @@ Name: kde-steamdeck -Version: 6.2.4.git.84.1c1d05a9 +Version: 6.2.5.git.84.1c1d05a9 Release: 1%{?dist} Summary: KDE Presets from Valve's SteamOS 3.0 License: GPLv2 diff --git a/baseos/mailcap/add_srpm_mime_type.patch b/baseos/mailcap/add_srpm_mime_type.patch new file mode 100644 index 0000000..efe5f70 --- /dev/null +++ b/baseos/mailcap/add_srpm_mime_type.patch @@ -0,0 +1,12 @@ +diff --git a/mime.types b/mime.types +index 789517b..fbf8d3d 100644 +--- a/mime.types ++++ b/mime.types +@@ -2201,6 +2201,7 @@ application/x-latex latex + application/x-netcdf nc cdf + application/x-perl pl + application/x-rpm rpm ++application/x-src+rpm srpm + application/x-sh sh + application/x-shar shar + application/x-stuffit sit diff --git a/baseos/mailcap/mailcap.spec b/baseos/mailcap/mailcap.spec new file mode 100644 index 0000000..2be4f53 --- /dev/null +++ b/baseos/mailcap/mailcap.spec @@ -0,0 +1,394 @@ +Name: mailcap +Version: 2.1.54 +Release: 8%{?dist} +Summary: Helper application and MIME type associations for file types + +License: LicenseRef-Fedora-Public-Domain AND MIT AND metamail +URL: https://pagure.io/mailcap +Source0: https://pagure.io/releases/mailcap/%{name}-%{version}.tar.xz +Patch0: add_srpm_mime_type.patch +BuildRequires: make +BuildRequires: perl-interpreter +# the test script is written in python +BuildRequires: python3 +BuildArch: noarch + +%description +The mailcap file is used by the metamail program. Metamail reads the +mailcap file to determine how it should display non-text or multimedia +material. Basically, mailcap associates a particular type of file +with a particular program that a mail agent or other program can call +in order to handle the file. Mailcap should be installed to allow +certain programs to be able to handle non-text files. + +Also included in this package is the mime.types file which contains a +list of MIME types and their filename "extension" associations, used +by several applications e.g. to determine MIME types for filenames. + +%package -n nginx-mimetypes +Summary: MIME type mappings for nginx +License: LicenseRef-Fedora-Public-Domain +Requires: nginx-filesystem + +%description -n nginx-mimetypes +MIME type mappings for nginx. + + +%prep +%setup -q +patch -Np1 < %{PATCH0} + + +%build +%make_build + + +%install +rm -rf $RPM_BUILD_ROOT +%make_install sysconfdir=%{_sysconfdir} mandir=%{_mandir} + + +%check +make check + + +%files +%license COPYING +%doc NEWS +%config(noreplace) %{_sysconfdir}/mailcap +%config(noreplace) %{_sysconfdir}/mime.types +%{_mandir}/man5/mailcap.* + +%files -n nginx-mimetypes +%license COPYING +%doc NEWS +%config(noreplace) %{_sysconfdir}/nginx/mime.types + + +%changelog +* Thu Jul 18 2024 Fedora Release Engineering - 2.1.54-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Tue May 28 2024 Tomas Korbar - 2.1.54-6 +- Update License tags to conform with SPDX + +* Thu Jan 25 2024 Fedora Release Engineering - 2.1.54-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Sun Jan 21 2024 Fedora Release Engineering - 2.1.54-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Tue Oct 31 2023 Tomas Korbar - 2.1.54-3 +- Add additional SPDX licenses found by scancode tool + +* Thu Jul 20 2023 Fedora Release Engineering - 2.1.54-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Tue May 23 2023 Tomas Korbar - 2.1.54-1 +- Rebase to 2.1.54 + +* Fri Mar 10 2023 Tomas Korbar - 2.1.53-6 +- Change the License tag to the SPDX format + +* Thu Jan 19 2023 Fedora Release Engineering - 2.1.53-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Thu Jul 21 2022 Fedora Release Engineering - 2.1.53-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Thu Jan 20 2022 Fedora Release Engineering - 2.1.53-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Thu Jul 22 2021 Fedora Release Engineering - 2.1.53-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Tue Apr 27 2021 Tomas Korbar - 2.1.53-1 +- Rebase to 2.1.53 + +* Wed Feb 24 2021 Tomas Korbar - 2.1.52-1 +- Rebase to 2.1.52 + +* Tue Jan 26 2021 Fedora Release Engineering - 2.1.49-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Tue Jul 28 2020 Fedora Release Engineering - 2.1.49-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Wed Apr 22 2020 Tomas Korbar - 2.1.49-1 +- Rebase to 2.1.49 + +* Wed Jan 29 2020 Fedora Release Engineering - 2.1.48-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Thu Jul 25 2019 Fedora Release Engineering - 2.1.48-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Fri Feb 01 2019 Fedora Release Engineering - 2.1.48-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Fri Jul 13 2018 Fedora Release Engineering - 2.1.48-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Thu Feb 08 2018 Fedora Release Engineering - 2.1.48-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 2.1.48-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Thu May 11 2017 Ville Skyttä - 2.1.48-1 +- Update to 2.1.48 + +* Fri Feb 10 2017 Fedora Release Engineering - 2.1.47-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Tue Nov 1 2016 Ville Skyttä - 2.1.47-1 +- Update to 2.1.47 + +* Thu Jul 28 2016 Miroslav Lichvar - 2.1.46-2 +- Add build requirement for perl + +* Sun May 29 2016 Ville Skyttä - 2.1.46-1 +- Update to 2.1.46 + +* Thu Feb 04 2016 Fedora Release Engineering - 2.1.45-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Fri Sep 25 2015 Ville Skyttä - 2.1.45-1 +- Update to 2.1.45 +- Output nginx-mimetypes subpackage + +* Wed Jun 17 2015 Fedora Release Engineering - 2.1.44-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Mon Apr 27 2015 Ville Skyttä - 2.1.44-1 +- Update to 2.1.44 + +* Tue Oct 14 2014 Ville Skyttä - 2.1.43-1 +- Update to 2.1.43 +- Mark COPYING as %%license + +* Sat Jun 07 2014 Fedora Release Engineering - 2.1.42-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Sat Oct 5 2013 Ville Skyttä - 2.1.42-1 +- Update to 2.1.42. + +* Sat Aug 03 2013 Fedora Release Engineering - 2.1.41-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Tue May 14 2013 Ville Skyttä - 2.1.41-1 +- Update to 2.1.41. +- Fix bogus dates in %%changelog. + +* Thu Feb 14 2013 Fedora Release Engineering - 2.1.40-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Sun Aug 5 2012 Ville Skyttä - 2.1.40-1 +- Update to 2.1.40. + +* Thu Jul 19 2012 Fedora Release Engineering - 2.1.39-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Mon Feb 20 2012 Ville Skyttä - 2.1.39-1 +- Update to 2.1.39. + +* Fri Jan 13 2012 Fedora Release Engineering - 2.1.38-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Tue Aug 16 2011 Ville Skyttä - 2.1.38-1 +- Update to 2.1.38. + +* Tue Mar 29 2011 Ville Skyttä - 2.1.37-1 +- Update to 2.1.37. + +* Tue Feb 22 2011 Ville Skyttä - 2.1.36-1 +- Update to 2.1.36. + +* Tue Feb 08 2011 Fedora Release Engineering - 2.1.35-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Thu Dec 2 2010 Ville Skyttä - 2.1.35-2 +- Fix URL tag (#659210, Matt McCutchen). + +* Wed Oct 13 2010 Ville Skyttä - 2.1.35-1 +- Update to 2.1.35. + +* Tue Aug 24 2010 Ville Skyttä - 2.1.34-1 +- Update to 2.1.34. + +* Sat Jul 3 2010 Ville Skyttä - 2.1.33-1 +- Update to 2.1.33, fixes #604924. + +* Fri Mar 19 2010 Ville Skyttä - 2.1.32-1 +- Update to 2.1.32, fixes #546116. + +* Tue Nov 17 2009 Ville Skyttä - 2.1.31-1 +- Update to 2.1.31, fixes #529584. + +* Sat Sep 19 2009 Ville Skyttä - 2.1.30-1 +- Update to 2.1.30, see NEWS for details. +- Improve summary and description. +- Add MIT to License: for mailcap.4 man page. +- Specfile cleanup. + +* Sat Jul 25 2009 Fedora Release Engineering - 2.1.29-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Wed Feb 25 2009 Fedora Release Engineering - 2.1.29-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Mon Dec 15 2008 Miroslav Lichvar 2.1.29-1 +- update mime.types (Ville Skyttä) (#476455) + +* Fri Feb 15 2008 Miroslav Lichvar 2.1.28-1 +- add new entries from perl-libwww-perl's media.types + (Ville Skyttä) (#432290) + +* Thu Feb 07 2008 Miroslav Lichvar 2.1.27-1 +- associate *.ent with text/xml-external-parsed-entity + (Ville Skyttä) (#431722) + +* Tue Jan 22 2008 Miroslav Lichvar 2.1.26-1 +- use xdg-open (Ville Skyttä) (#388481) +- spec cleanup (#226116) + +* Tue Jul 10 2007 Miroslav Lichvar 2.1.25-1 +- add image/vnd.microsoft.icon to mime.types (#247222) + +* Mon Jun 18 2007 Miroslav Lichvar 2.1.24-1 +- add text/x-vcard to mime.types (#243889) +- mark configs noreplace, cleanup spec a bit + +* Tue Sep 05 2006 Miroslav Lichvar 2.1.23-1 +- add video/x-flv to mime.types (#205239) + +* Mon Aug 07 2006 Miroslav Lichvar 2.1.22-1 +- add java/mobile mime types (#201512 ) + +* Tue Jul 18 2006 Miroslav Lichvar 2.1.21-1 +- add audio and video x-ms mime types (#197840) + +* Wed Jul 12 2006 Jesse Keating - 2.1.20-1.1 +- rebuild + +* Mon Feb 13 2006 Miroslav Lichvar 2.1.20-1 +- add OpenOffice.org 2.0 mime types (#173789) + +* Fri Dec 09 2005 Jesse Keating +- rebuilt + +* Mon Mar 7 2005 Bill Nottingham 2.1.19-1 +- s/ggv/evince/ (#150509) + +* Fri Jan 21 2005 Bill Nottingham 2.1.18-1 +- add iso, img to octet-stream (#142459 ) + +* Mon Oct 11 2004 Bill Nottingham 2.1.17-1 +- pdfs -> back to ggv + +* Thu Sep 23 2004 Bill Nottingham 2.1.16-1 +- eog -> gthumb +- pdfs -> gpdf + +* Mon May 3 2004 Bill Nottingham 2.1.15-1 +- xpdf/gv -> ggv (#118401) +- add application/x-bittorrent (#118752) + +* Fri Jul 11 2003 Bill Nottingham 2.1.14-1 +- add application/ogg and OpenOffice.org mime.types + +* Fri Feb 7 2003 Bill Nottingham 2.1.13-1 +- resync mime.types with apache +- clean out mailcap some + +* Tue Sep 3 2002 Bill Nottingham 2.1.12-1 +- add application/x-ogg to mime.types + +* Fri Jul 19 2002 Jens Petersen 2.1.11-1 +- use eog instead of ee + +* Tue Jun 18 2002 Nalin Dahyabhai 2.1.10-1 +- resync mime.types with apache 1.3.26 + +* Mon Dec 24 2001 Bill Nottingham 2.1.9-1 +- fix Sep. 17 changes (#57362) + +* Tue Oct 23 2001 Nalin Dahyabhai 2.1.8-1 +- resync mime.types with apache 1.3.22 + +* Mon Sep 17 2001 Bill Nottingham 2.1.7-1 +- associate PS files with gv (#53734) + +* Fri Aug 10 2001 Bill Nottingham +- switch gtv & xanim order (#51408) + +* Tue Jul 17 2001 Bill Nottingham +- use htmlview for text/html (#48141) + +* Wed Mar 21 2001 Tim Waugh 2.1.4-2 +- Use gtv not xanim for video/mpeg, since we no longer ship the codecs. + +* Thu Jan 18 2001 Bill Nottingham +- use gpg, not pgp (#13816, others) + +* Sat Jan 6 2001 Bill Nottingham +- fix typo (#23409) + +* Thu Dec 28 2000 Bill Nottingham +- reintegrate stuff into the package so it doesn't get lost + +* Thu Dec 28 2000 Than Ngo +- add ms(TM) word document entry (Bug #17474) +- bzip2 sources + +* Mon Jun 12 2000 Preston Brown +- add wap entries + +* Fri Jun 9 2000 Bill Nottingham +- remove mailcap.vga + +* Thu Feb 3 2000 Bill Nottingham +- handle compressed man pages + +* Tue Jan 18 2000 Bill Nottingham +- add .bz2 + +* Thu Jan 13 2000 Bill Nottingham +- add tgz/gz to gzip + +* Wed Jun 16 1999 Bill Nottingham +- rpm files are RPM files. :) + +* Sat May 15 1999 Jeff Johnson +- fix typo in pdf entry (#2618). + +* Mon Mar 29 1999 Bill Nottingham +- comment out play + +* Fri Mar 19 1999 Preston Brown +- updated mime type for images from xv to ee +- cleaned up for our new version of the package which is in CVS + +* Sat Mar 13 1999 Matt Wilson +- updated mime.types + +* Fri Feb 12 1999 Bill Nottingham +- comment out backticked %%variables to work around security problems + +* Wed Jan 06 1999 Cristian Gafton +- glibc version 2.1 + +* Mon Sep 21 1998 Bill Nottingham +- we don't ship tracker, use mikmod instead + +* Wed Jul 29 1998 Jeff Johnson +- build root + +* Mon Apr 27 1998 Prospector System +- translations modified for de, fr, tr + +* Tue Oct 21 1997 Donnie Barnes +- added /etc/mime.types from mutt to this package to make it universal + +* Tue Sep 09 1997 Erik Troan +- made a noarch package diff --git a/baseos/nobara-updater/nobara-updater.spec b/baseos/nobara-updater/nobara-updater.spec index f322f8b..489e1aa 100644 --- a/baseos/nobara-updater/nobara-updater.spec +++ b/baseos/nobara-updater/nobara-updater.spec @@ -1,6 +1,6 @@ Name: nobara-updater Version: 1.0.0 -Release: 108%{?dist} +Release: 109%{?dist} License: GPL-3.0-or-later Summary: Nobara System Updater diff --git a/baseos/opengamepadui/opengamepadui.spec b/baseos/opengamepadui/opengamepadui.spec index 7bef818..8501c22 100644 --- a/baseos/opengamepadui/opengamepadui.spec +++ b/baseos/opengamepadui/opengamepadui.spec @@ -1,3 +1,8 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.7.3) +## RPMAUTOSPEC: autochangelog +## END: Set by rpmautospec + Name: opengamepadui Version: 0.35.7 Release: 1%{?dist} @@ -50,4 +55,7 @@ make install PREFIX=%{buildroot}%{_prefix} INSTALL_PREFIX=%{_prefix} %{_userunitdir}/ogui-overlay-mode.service %changelog -%autochangelog +## START: Generated by rpmautospec +* Thu Jan 09 2025 John Doe - 0.35.7-1 +- Uncommitted changes +## END: Generated by rpmautospec diff --git a/baseos/plasma-desktop/plasma-desktop.spec b/baseos/plasma-desktop/plasma-desktop.spec index 9c777b4..6aaf9b2 100644 --- a/baseos/plasma-desktop/plasma-desktop.spec +++ b/baseos/plasma-desktop/plasma-desktop.spec @@ -5,7 +5,7 @@ Name: plasma-desktop Summary: Plasma Desktop shell -Version: 6.2.4 +Version: 6.2.5 Release: 1%{?dist} License: BSD-2-Clause AND BSD-3-Clause AND CC0-1.0 AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-only AND LGPL-2.0-only AND LGPL-2.0-or-later AND LGPL-2.1-only AND LGPL-2.1-or-later AND LGPL-3.0-only AND (GPL-2.0-only OR GPL-3.0-only) AND (LGPL-2.1-only OR LGPL-3.0-only) diff --git a/baseos/plasma-workspace-wallpapers/plasma-workspace-wallpapers.spec b/baseos/plasma-workspace-wallpapers/plasma-workspace-wallpapers.spec index 05dd6ad..f4f2892 100644 --- a/baseos/plasma-workspace-wallpapers/plasma-workspace-wallpapers.spec +++ b/baseos/plasma-workspace-wallpapers/plasma-workspace-wallpapers.spec @@ -1,5 +1,5 @@ Name: plasma-workspace-wallpapers -Version: 6.2.4 +Version: 6.2.5 Release: 1%{?dist} Summary: Additional wallpapers for Plasma workspace License: LGPLv3 diff --git a/baseos/plasma-workspace/plasma-workspace.spec b/baseos/plasma-workspace/plasma-workspace.spec index f30a212..75661be 100644 --- a/baseos/plasma-workspace/plasma-workspace.spec +++ b/baseos/plasma-workspace/plasma-workspace.spec @@ -4,7 +4,7 @@ Name: plasma-workspace Summary: Plasma workspace, applications and applets -Version: 6.2.4 +Version: 6.2.5 Release: 1%{?dist} # Automatically converted from old format: BSD-2-Clause AND BSD-3-Clause AND CC0-1.0 AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-only AND LGPL-2.0-only AND LGPL-2.0-or-later AND LGPL-2.1-only AND LGPL-2.1-or-later AND LGPL-3.0-only AND LGPL-3.0-or-later AND (GPL-2.0-only OR GPL-3.0-only) AND (LGPL-2.1-only OR LGPL-3.0-only) AND MIT - review is highly recommended. diff --git a/baseos/setup/application-x-src+rpm.xml b/baseos/setup/application-x-src+rpm.xml new file mode 100644 index 0000000..e2f3604 --- /dev/null +++ b/baseos/setup/application-x-src+rpm.xml @@ -0,0 +1,7 @@ + + + + SRPM package + + + diff --git a/baseos/setup/nobara_profile_force_nobara_rpm_installer_default.sh b/baseos/setup/nobara_profile_force_nobara_rpm_installer_default.sh new file mode 100755 index 0000000..3d6a6c1 --- /dev/null +++ b/baseos/setup/nobara_profile_force_nobara_rpm_installer_default.sh @@ -0,0 +1,26 @@ +#!/usr/bin/bash + +defaultrpm=$(xdg-mime query default application/x-rpm) +if [[ $defaultrpm != "/usr/share/applications/nobara-rpm-installer.desktop" ]]; then + xdg-mime default /usr/share/applications/nobara-rpm-installer.desktop application/x-rpm + update-mime-database ~/.local/share/mime + echo changed +fi + +if [[ $XDG_CURRENT_DESKTOP == "KDE" ]]; then + defaultsrcrpm=$(xdg-mime query default application/x-src+rpm) + if [[ $defaultsrcrpm != "/usr/share/applications/org.kde.ark.desktop" ]]; then + xdg-mime default /usr/share/applications/org.kde.ark.desktop application/x-src+rpm + update-mime-database ~/.local/share/mime + echo changed + fi +fi + +if [[ $XDG_CURRENT_DESKTOP == "GNOME" ]]; then + defaultsrcrpm=$(xdg-mime query default application/x-src+rpm) + if [[ $defaultsrcrpm != "/usr/share/applications/org.gnome.FileRoller.desktop" ]]; then + xdg-mime default /usr/share/applications/org.gnome.FileRoller.desktop application/x-src+rpm + update-mime-database ~/.local/share/mime + echo changed + fi +fi diff --git a/baseos/setup/setup.spec b/baseos/setup/setup.spec index 86a499d..0c2bcbd 100644 --- a/baseos/setup/setup.spec +++ b/baseos/setup/setup.spec @@ -2,7 +2,7 @@ ## (rpmautospec version 0.6.5) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: - release_number = 7; + release_number = 8; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} @@ -49,8 +49,8 @@ Source0038: nobara_profile_ibus.sh Source0039: nobara_profile_nvidia.sh Source0040: nobara_profile_obs.sh Source0041: nobara_profile_starship.sh - - +Source0042: nobara_profile_force_nobara_rpm_installer_default.sh +Source0043: application-x-src+rpm.xml BuildArch: noarch #systemd-rpm-macros: required to use _tmpfilesdir macro @@ -69,8 +69,10 @@ setup files, such as passwd, group, and profile. %prep mkdir -p etc/profile.d +mkdir -p usr/share/mime/packages/ cp %{lua: for i=1,17 do print(sources[i]..' ') end} etc/ -cp %SOURCE21 %SOURCE22 %SOURCE36 %SOURCE37 %SOURCE38 %SOURCE39 %SOURCE40 %SOURCE41 etc/profile.d/ +cp %SOURCE21 %SOURCE22 %SOURCE36 %SOURCE37 %SOURCE38 %SOURCE39 %SOURCE40 %SOURCE41 %SOURCE42 etc/profile.d/ +cp %SOURCE43 usr/share/mime/packages/ touch etc/{exports,motd,subgid,subuid} mkdir -p docs @@ -103,6 +105,9 @@ cp -ar etc/* %{buildroot}/etc/ mkdir -p %{buildroot}%{_sysusersdir} cp sysusers.d/* %{buildroot}%{_sysusersdir}/ +mkdir -p %{buildroot}%{_datadir}/mime/packages/ +cp -ar usr/share/mime/packages/* %{buildroot}%{_datadir}/mime/packages/ + mkdir -p %{buildroot}/var/log touch %{buildroot}/etc/environment chmod 0400 %{buildroot}/etc/{shadow,gshadow} @@ -186,7 +191,8 @@ end %config(noreplace) /etc/profile.d/nobara_profile_nvidia.sh %config(noreplace) /etc/profile.d/nobara_profile_obs.sh %config(noreplace) /etc/profile.d/nobara_profile_starship.sh - +%config(noreplace) /etc/profile.d/nobara_profile_force_nobara_rpm_installer_default.sh +%{_datadir}/mime/packages/application-x-src+rpm.xml %changelog ## START: Generated by rpmautospec * Sat Jul 20 2024 Fedora Release Engineering - 2.15.0-5 diff --git a/baseos/xdg-desktop-portal-kde/xdg-desktop-portal-kde.spec b/baseos/xdg-desktop-portal-kde/xdg-desktop-portal-kde.spec index 0a090ec..5b89c0e 100644 --- a/baseos/xdg-desktop-portal-kde/xdg-desktop-portal-kde.spec +++ b/baseos/xdg-desktop-portal-kde/xdg-desktop-portal-kde.spec @@ -1,6 +1,6 @@ Name: xdg-desktop-portal-kde Summary: Backend implementation for xdg-desktop-portal using Qt/KF5 -Version: 6.2.4 +Version: 6.2.5 Release: 1%{?dist} License: BSD-2-Clause AND CC0-1.0 AND GPL-2.0-or-later AND LGPL-2.0-or-later AND LGPL-2.1-only AND LGPL-3.0-only AND (LGPL-2.1-only OR LGPL-3.0-only) -- knotmirror 0.0.1