public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Zamir SUN <sztsian@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/fedora-release] f45: Add LXQt spin to the fedora-release
Date: Mon, 10 Aug 2026 09:35:53 GMT [thread overview]
Message-ID: <178635455337.1.261255610347692098.rpms-fedora-release-cba12f0cc624@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/fedora-release
Branch : f45
Commit : cba12f0cc624ec26dc642405eacb995123a652d2
Author : Zamir SUN <sztsian@gmail.com>
Date : 2022-10-14T22:48:12+08:00
Stats : +58/-0 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/fedora-release/c/cba12f0cc624ec26dc642405eacb995123a652d2?branch=f45
Log:
Add LXQt spin to the fedora-release
Signed-off-by: Zamir SUN <sztsian@gmail.com>
---
diff --git a/fedora-release.spec b/fedora-release.spec
index ec854ad..5771274 100644
--- a/fedora-release.spec
+++ b/fedora-release.spec
@@ -34,6 +34,7 @@
%bcond_with workstation
%bcond_with xfce
%bcond_with i3
+%bcond_with lxqt
%else
%bcond_without basic
%bcond_without cinnamon
@@ -54,6 +55,7 @@
%bcond_without workstation
%bcond_without xfce
%bcond_without i3
+%bcond_without lxqt
%endif
%global dist %{?eln:.eln%{eln}}
@@ -861,6 +863,43 @@ itself as Fedora i3.
%endif
+%if %{with lxqt}
+%package lxqt
+Summary: Base package for Fedora LXQt specific default configurations
+
+RemovePathPostfixes: .lxqt
+Provides: fedora-release = %{version}-%{release}
+Provides: fedora-release-variant = %{version}-%{release}
+Provides: system-release
+Provides: system-release(%{version})
+Provides: base-module(platform:f%{version})
+Requires: fedora-release-common = %{version}-%{release}
+
+# fedora-release-common Requires: fedora-release-identity, so at least one
+# package must provide it. This Recommends: pulls in
+# fedora-release-identity-lxqt if nothing else is already doing so.
+Recommends: fedora-release-identity-lxqt
+
+
+%description lxqt
+Provides a base package for Fedora LXQt specific configuration files to
+depend on as well as LXQt system defaults.
+
+
+%package identity-lxqt
+Summary: Package providing the identity for Fedora LXQt Spin
+
+RemovePathPostfixes: .lxqt
+Provides: fedora-release-identity = %{version}-%{release}
+Conflicts: fedora-release-identity
+
+
+%description identity-lxqt
+Provides the necessary files for a Fedora installation that is identifying
+itself as Fedora LXQt.
+%endif
+
+
%prep
sed -i 's|@@VERSION@@|%{dist_version}|g' %{SOURCE2}
@@ -1193,6 +1232,16 @@ sed -i -e "s|(%{release_name}%{?prerelease})|(i3%{?prerelease})|g" %{buildroot}%
sed -e "s#\$version#%{bug_version}#g" -e 's/$edition/i3/;s/<!--.*-->//;/^$/d' %{SOURCE20} > %{buildroot}%{_swidtagdir}/org.fedoraproject.Fedora-edition.swidtag.i3
%endif
+%if %{with lxqt}
+# LXQt
+cp -p os-release \
+ %{buildroot}%{_prefix}/lib/os-release.lxqt
+echo "VARIANT=\"LXQt\"" >> %{buildroot}%{_prefix}/lib/os-release.lxqt
+echo "VARIANT_ID=lxqt" >> %{buildroot}%{_prefix}/lib/os-release.lxqt
+sed -i -e "s|(%{release_name}%{?prerelease})|(LXQt%{?prerelease})|g" %{buildroot}%{_prefix}/lib/os-release.lxqt
+sed -e "s#\$version#%{bug_version}#g" -e 's/$edition/LXQt/;s/<!--.*-->//;/^$/d' %{SOURCE20} > %{buildroot}%{_swidtagdir}/org.fedoraproject.Fedora-edition.swidtag.lxqt
+%endif
+
# Create the symlink for /etc/os-release
ln -s ../usr/lib/os-release %{buildroot}%{_sysconfdir}/os-release
@@ -1447,5 +1496,14 @@ ln -s %{_swidtagdir} %{buildroot}%{_sysconfdir}/swid/swidtags.d/fedoraproject.or
%attr(0644,root,root) %{_swidtagdir}/org.fedoraproject.Fedora-edition.swidtag.i3
%endif
+
+%if %{with lxqt}
+%files lxqt
+%files identity-lxqt
+%{_prefix}/lib/os-release.lxqt
+%attr(0644,root,root) %{_swidtagdir}/org.fedoraproject.Fedora-edition.swidtag.lxqt
+%endif
+
+
%changelog
%autochangelog
reply other threads:[~2026-08-10 9:35 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178635455337.1.261255610347692098.rpms-fedora-release-cba12f0cc624@fedoraproject.org \
--to=sztsian@gmail.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox