public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/fedora-release] f45: Add LXQt spin to the fedora-release
@ 2026-08-10 9:35 Zamir SUN
0 siblings, 0 replies; only message in thread
From: Zamir SUN @ 2026-08-10 9:35 UTC (permalink / raw)
To: git-commits
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-10 9:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-10 9:35 [rpms/fedora-release] f45: Add LXQt spin to the fedora-release Zamir SUN
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox