| |
@@ -40,6 +40,7 @@
|
| |
%bcond_with budgie
|
| |
%bcond_with sway
|
| |
%bcond_with sericea
|
| |
+ %bcond_with onyx
|
| |
%bcond_with mobility
|
| |
%else
|
| |
%bcond_without basic
|
| |
@@ -65,10 +66,11 @@
|
| |
%bcond_without budgie
|
| |
%bcond_without sway
|
| |
%bcond_without sericea
|
| |
+ %bcond_without onyx
|
| |
%bcond_without mobility
|
| |
%endif
|
| |
|
| |
- %if %{with silverblue} || %{with kinoite} || %{with sericea}
|
| |
+ %if %{with silverblue} || %{with kinoite} || %{with sericea} || %{with onyx}
|
| |
%global with_ostree_desktop 1
|
| |
%endif
|
| |
|
| |
@@ -1037,6 +1039,44 @@
|
| |
itself as Fedora Sericea.
|
| |
%endif
|
| |
|
| |
+ %if %{with onyx}
|
| |
+ %package onyx
|
| |
+ Summary: Base package for Fedora Onyx specific default configurations
|
| |
+
|
| |
+ RemovePathPostfixes: .onyx
|
| |
+ 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}
|
| |
+ Requires: fedora-release-ostree-desktop = %{version}-%{release}
|
| |
+
|
| |
+ # fedora-release-common Requires: fedora-release-identity, so at least one
|
| |
+ # package must provide it. This Recommends: pulls in
|
| |
+ # fedora-release-identity-onyx if nothing else is already doing so.
|
| |
+ Recommends: fedora-release-identity-onyx
|
| |
+
|
| |
+
|
| |
+ %description onyx
|
| |
+ Provides a base package for Fedora Onyx specific configuration
|
| |
+ files to depend on.
|
| |
+
|
| |
+
|
| |
+ %package identity-onyx
|
| |
+ Summary: Package providing the identity for Fedora Onyx
|
| |
+
|
| |
+ RemovePathPostfixes: .onyx
|
| |
+ Provides: fedora-release-identity = %{version}-%{release}
|
| |
+ Conflicts: fedora-release-identity
|
| |
+ Requires(meta): fedora-release-onyx = %{version}-%{release}
|
| |
+
|
| |
+
|
| |
+ %description identity-onyx
|
| |
+ Provides the necessary files for a Fedora installation that is identifying
|
| |
+ itself as Fedora Onyx.
|
| |
+ %endif
|
| |
+
|
| |
|
| |
%if %{with mobility}
|
| |
%package mobility
|
| |
@@ -1454,6 +1494,16 @@
|
| |
sed -e "s#\$version#%{bug_version}#g" -e 's/$edition/Sericea/;s/<!--.*-->//;/^$/d' %{SOURCE20} > %{buildroot}%{_swidtagdir}/org.fedoraproject.Fedora-edition.swidtag.sericea
|
| |
%endif
|
| |
|
| |
+ %if %{with onyx}
|
| |
+ cp -p os-release %{buildroot}%{_prefix}/lib/os-release.onyx
|
| |
+ echo "VARIANT=\"Onyx\"" >> %{buildroot}%{_prefix}/lib/os-release.onyx
|
| |
+ echo "VARIANT_ID=onyx" >> %{buildroot}%{_prefix}/lib/os-release.onyx
|
| |
+ sed -i -e "s|(%{release_name}%{?prerelease})|(Onyx%{?prerelease})|g" %{buildroot}%{_prefix}/lib/os-release.onyx
|
| |
+ sed -i -e 's|DOCUMENTATION_URL=.*|DOCUMENTATION_URL="https://docs.fedoraproject.org/en-US/fedora-onyx/"|' %{buildroot}%{_prefix}/lib/os-release.onyx
|
| |
+ sed -i -e 's|HOME_URL=.*|HOME_URL="https://fedoraproject.org/onyx/"|' %{buildroot}/%{_prefix}/lib/os-release.onyx
|
| |
+ sed -e "s#\$version#%{bug_version}#g" -e 's/$edition/Onyx/;s/<!--.*-->//;/^$/d' %{SOURCE20} > %{buildroot}%{_swidtagdir}/org.fedoraproject.Fedora-edition.swidtag.onyx
|
| |
+ %endif
|
| |
+
|
| |
%if %{with mobility}
|
| |
cp -p os-release %{buildroot}%{_prefix}/lib/os-release.mobility
|
| |
echo "VARIANT=\"Mobility\"" >> %{buildroot}%{_prefix}/lib/os-release.mobility
|
| |
@@ -1751,6 +1801,15 @@
|
| |
%{_unitdir}/timers.target.wants/rpm-ostree-countme.timer
|
| |
%endif
|
| |
|
| |
+ %if %{with onyx}
|
| |
+ %files onyx
|
| |
+ %files identity-onyx
|
| |
+ %{_prefix}/lib/os-release.onyx
|
| |
+ %attr(0644,root,root) %{_swidtagdir}/org.fedoraproject.Fedora-edition.swidtag.onyx
|
| |
+ %{_prefix}/lib/systemd/system-preset/81-desktop.preset
|
| |
+ %{_unitdir}/timers.target.wants/rpm-ostree-countme.timer
|
| |
+ %endif
|
| |
+
|
| |
|
| |
%if %{with mobility}
|
| |
%files mobility
|
| |
Change Proposal: https://fedoraproject.org/wiki/Changes/Fedora_Onyx
Signed-off-by: Joshua Strobl me@joshuastrobl.com