forked from pool/openSUSEway
Accepting request 834543 from X11:Wayland
OBS-URL: https://build.opensuse.org/request/show/834543 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openSUSEway?expand=0&rev=7
This commit is contained in:
commit
ef870c9670
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:6292c68850b3948da7f901fed986c61aca6e292e0d2ad7a0cc8b11df30d04171
|
|
||||||
size 6846
|
|
3
openSUSEway-0.11.tar.gz
Normal file
3
openSUSEway-0.11.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:e6503204004d17cc0c664d2ea05e7b9333859c7eb0c28936d7f4aac0397d9691
|
||||||
|
size 7674
|
@ -1,3 +1,24 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Sep 15 08:23:01 UTC 2020 - Fabian Vogt <fvogt@suse.com>
|
||||||
|
|
||||||
|
- Make patterns-openSUSEway properly behaved:
|
||||||
|
* Use proper description (it's very user visible!)
|
||||||
|
* Don't overwrite the category (set by %pattern_graphicalenvironments)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Sep 11 09:43:40 UTC 2020 - Denis Kondratenko <denis.kondratenko@suse.com>
|
||||||
|
|
||||||
|
- New in 0.11 release
|
||||||
|
* greetd support fixes #27
|
||||||
|
* correct environment for sway session, fixes #28, bsc#1176195
|
||||||
|
- Remove old files from environment enforcing, bsc#1176195
|
||||||
|
- Add greetd support
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Sep 8 14:51:38 UTC 2020 - Denis Kondratenko <denis.kondratenko@suse.com>
|
||||||
|
|
||||||
|
- Add gfxboot and gfxboot-branding-openSUSE to have better boot experience
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Aug 30 09:13:29 UTC 2020 - Denis Kondratenko <denis.kondratenko@suse.com>
|
Sun Aug 30 09:13:29 UTC 2020 - Denis Kondratenko <denis.kondratenko@suse.com>
|
||||||
|
|
||||||
|
117
openSUSEway.spec
117
openSUSEway.spec
@ -15,49 +15,53 @@
|
|||||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%define sway_version %(rpm -q --queryformat "%%{version}" sway)
|
%define sway_version %(rpm -q --queryformat "%%{version}" sway)
|
||||||
%define waybar_version %(rpm -q --queryformat "%%{version}" waybar)
|
%define waybar_version %(rpm -q --queryformat "%%{version}" waybar)
|
||||||
|
|
||||||
Name: openSUSEway
|
Name: openSUSEway
|
||||||
Version: 0.10
|
Version: 0.11
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: The openSUSEway desktop environment meta package
|
Summary: The openSUSEway desktop environment meta package
|
||||||
|
License: MIT
|
||||||
Group: Metapackages
|
Group: Metapackages
|
||||||
URL: https://github.com/openSUSE/openSUSEway
|
URL: https://github.com/openSUSE/openSUSEway
|
||||||
Source0: https://github.com/openSUSE/openSUSEway/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
Source0: https://github.com/openSUSE/openSUSEway/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||||
License: MIT
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: aaa_base
|
BuildRequires: aaa_base
|
||||||
BuildRequires: systemd
|
BuildRequires: systemd
|
||||||
Requires: aaa_base
|
|
||||||
Requires: sway-branding-openSUSE
|
|
||||||
Requires: waybar-branding-openSUSE
|
|
||||||
Requires: sudo
|
|
||||||
Requires: git
|
|
||||||
Requires: jq
|
|
||||||
Requires: wget
|
|
||||||
Requires: curl
|
|
||||||
Requires: vim
|
|
||||||
Requires: tar
|
|
||||||
Requires: gzip
|
|
||||||
Requires: bzip2
|
|
||||||
Requires: less
|
|
||||||
Requires: grep
|
|
||||||
Requires: vifm
|
|
||||||
Requires: imv
|
|
||||||
Requires: firefox
|
|
||||||
Requires: NetworkManager
|
Requires: NetworkManager
|
||||||
Requires: mpv
|
Requires: aaa_base
|
||||||
|
Requires: adwaita-qt5
|
||||||
|
Requires: bzip2
|
||||||
|
Requires: command-not-found
|
||||||
|
Requires: curl
|
||||||
|
Requires: firefox
|
||||||
|
Requires: gfxboot-branding-openSUSE
|
||||||
|
Requires: git
|
||||||
|
Requires: greetd
|
||||||
|
Requires: grep
|
||||||
|
Requires: gtkgreet
|
||||||
|
Requires: gzip
|
||||||
|
Requires: imv
|
||||||
|
Requires: jq
|
||||||
|
Requires: less
|
||||||
Requires: libqt5-qtwayland
|
Requires: libqt5-qtwayland
|
||||||
|
Requires: mpv
|
||||||
|
Requires: pamixer
|
||||||
Requires: pipewire
|
Requires: pipewire
|
||||||
Requires: xdg-utils
|
Requires: qt5ct
|
||||||
|
Requires: sudo
|
||||||
|
Requires: sway-branding-openSUSE
|
||||||
|
Requires: tar
|
||||||
|
Requires: vifm
|
||||||
|
Requires: vim
|
||||||
|
Requires: waybar-branding-openSUSE
|
||||||
|
Requires: wget
|
||||||
|
Requires: wob
|
||||||
Requires: xdg-desktop-portal
|
Requires: xdg-desktop-portal
|
||||||
Requires: xdg-desktop-portal-wlr
|
Requires: xdg-desktop-portal-wlr
|
||||||
Requires: qt5ct
|
Requires: xdg-utils
|
||||||
Requires: adwaita-qt5
|
|
||||||
Requires: wob
|
|
||||||
Requires: pamixer
|
|
||||||
Requires: command-not-found
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This meta package aggregates openSUSEway desktop enviroment packages.
|
This meta package aggregates openSUSEway desktop enviroment packages.
|
||||||
@ -66,10 +70,8 @@ This meta package aggregates openSUSEway desktop enviroment packages.
|
|||||||
%pattern_graphicalenvironments
|
%pattern_graphicalenvironments
|
||||||
%package -n patterns-openSUSEway
|
%package -n patterns-openSUSEway
|
||||||
Summary: The openSUSEway desktop environment pattern
|
Summary: The openSUSEway desktop environment pattern
|
||||||
License: MIT
|
|
||||||
Group: Metapackages
|
Group: Metapackages
|
||||||
Provides: pattern() = openSUSEway
|
Provides: pattern() = openSUSEway
|
||||||
Provides: pattern-category() = openSUSEway
|
|
||||||
Provides: pattern-icon() = pattern-sway
|
Provides: pattern-icon() = pattern-sway
|
||||||
Provides: pattern-order() = 1460
|
Provides: pattern-order() = 1460
|
||||||
Provides: pattern-visible()
|
Provides: pattern-visible()
|
||||||
@ -78,21 +80,19 @@ BuildRequires: patterns-rpm-macros
|
|||||||
Requires: openSUSEway
|
Requires: openSUSEway
|
||||||
|
|
||||||
%description -n patterns-openSUSEway
|
%description -n patterns-openSUSEway
|
||||||
This is an internal package that is used to create the patterns as part
|
This pattern installs the openSUSE look and feel for sway.
|
||||||
of the installation source setup. Installation of this package does
|
|
||||||
not make sense.
|
|
||||||
|
|
||||||
%package -n sway-branding-openSUSE
|
%package -n sway-branding-openSUSE
|
||||||
Summary: openSUSE branding of sway
|
Summary: openSUSE branding of sway
|
||||||
Group: System/GUI/Other
|
Group: System/GUI/Other
|
||||||
BuildRequires: sway
|
BuildRequires: sway
|
||||||
Requires: patterns-sway-sway
|
|
||||||
Requires: wallpaper-branding-openSUSE
|
|
||||||
Requires: brightnessctl
|
Requires: brightnessctl
|
||||||
Requires: pavucontrol
|
|
||||||
Requires: fontawesome-fonts
|
Requires: fontawesome-fonts
|
||||||
Requires: jq
|
Requires: jq
|
||||||
|
Requires: patterns-sway-sway
|
||||||
|
Requires: pavucontrol
|
||||||
Requires: sway
|
Requires: sway
|
||||||
|
Requires: wallpaper-branding-openSUSE
|
||||||
Provides: sway-branding = %{version}
|
Provides: sway-branding = %{version}
|
||||||
Conflicts: otherproviders(sway-branding)
|
Conflicts: otherproviders(sway-branding)
|
||||||
Supplements: packageand(sway:branding-openSUSE)
|
Supplements: packageand(sway:branding-openSUSE)
|
||||||
@ -125,20 +125,27 @@ This package provides the openSUSE look and feel for waybar.
|
|||||||
%install
|
%install
|
||||||
|
|
||||||
## openSUSEway package
|
## openSUSEway package
|
||||||
install -D -p -m 644 openSUSEway.sh %{buildroot}%{_sysconfdir}/profile.d/openSUSEway.sh
|
|
||||||
install -D -p -m 644 .config/sway/env %{buildroot}%{_prefix}/lib/environment.d/50-openSUSEway.conf
|
|
||||||
### qt5ct config to configure dark theme
|
### qt5ct config to configure dark theme
|
||||||
install -D -p -m 644 qt5ct.conf %{buildroot}/%{_sysconfdir}/xdg/qt5ct/qt5ct.conf
|
install -D -p -m 644 qt5ct.conf %{buildroot}%{_sysconfdir}/xdg/qt5ct/qt5ct.conf
|
||||||
|
### greetd as a login manager
|
||||||
|
install -D -p -m 644 greetd/sway-config %{buildroot}%{_sysconfdir}/greetd/sway-config
|
||||||
|
install -D -p -m 644 greetd/config.toml %{buildroot}%{_sysconfdir}/greetd/config.toml.way
|
||||||
|
install -D -p -m 644 greetd/environments %{buildroot}%{_sysconfdir}/greetd/environments
|
||||||
|
|
||||||
## openSUSEway pattern package
|
## openSUSEway pattern package
|
||||||
mkdir -p %{buildroot}/%{_defaultdocdir}/patterns/
|
mkdir -p %{buildroot}/%{_defaultdocdir}/patterns/
|
||||||
echo 'This file marks the pattern openSUSEway to be installed.' >%{buildroot}/%{_defaultdocdir}/patterns/openSUSEway.txt
|
echo 'This file marks the pattern openSUSEway to be installed.' >%{buildroot}%{_defaultdocdir}/patterns/openSUSEway.txt
|
||||||
|
|
||||||
## Sway
|
## Sway
|
||||||
install -D -p -m 644 .config/sway/config %{buildroot}%{_sysconfdir}/sway/config
|
install -D -p -m 644 .config/sway/config %{buildroot}%{_sysconfdir}/sway/config
|
||||||
install -D -p -m 644 .config/sway/env %{buildroot}%{_sysconfdir}/sway/env
|
install -D -p -m 644 .config/sway/env %{buildroot}%{_sysconfdir}/sway/env
|
||||||
install -D -p -m 644 .config/sway/config.d/50-openSUSE.conf %{buildroot}%{_sysconfdir}/sway/config.d/50-openSUSE.conf
|
install -D -p -m 644 .config/sway/config.d/50-openSUSE.conf %{buildroot}%{_sysconfdir}/sway/config.d/50-openSUSE.conf
|
||||||
|
|
||||||
|
install -D -p -m 644 sway/sway-session.target %{buildroot}%{_unitdir}/sway-session.target
|
||||||
|
install -D -p -m 644 sway/sway.service %{buildroot}%{_unitdir}/sway.service
|
||||||
|
install -D -p -m 644 sway/sway.desktop %{buildroot}%{_datadir}/wayland-sessions/sway.desktop.brand
|
||||||
|
install -D -p -m 755 sway/sway-run.sh %{buildroot}%{_bindir}/sway-run.sh
|
||||||
|
|
||||||
### alacritty
|
### alacritty
|
||||||
# so far doesn't have special branding package and it doesn't support system wide config
|
# so far doesn't have special branding package and it doesn't support system wide config
|
||||||
install -D -p -m 644 .config/alacritty/alacritty.yml %{buildroot}%{_sysconfdir}/alacritty/alacritty.yml
|
install -D -p -m 644 .config/alacritty/alacritty.yml %{buildroot}%{_sysconfdir}/alacritty/alacritty.yml
|
||||||
@ -153,11 +160,36 @@ sed -i -e "s|wofi --show.*|wofi --conf=%{_sysconfdir}/wofi/config --style=%{_sys
|
|||||||
install -D -p -m 644 .config/waybar/config %{buildroot}%{_sysconfdir}/xdg/waybar/config
|
install -D -p -m 644 .config/waybar/config %{buildroot}%{_sysconfdir}/xdg/waybar/config
|
||||||
install -D -p -m 644 .config/waybar/style.css %{buildroot}%{_sysconfdir}/xdg/waybar/style.css
|
install -D -p -m 644 .config/waybar/style.css %{buildroot}%{_sysconfdir}/xdg/waybar/style.css
|
||||||
|
|
||||||
|
%pre -n openSUSEway
|
||||||
|
# bug #1176195, don't force enviroment, cleaning up old installations
|
||||||
|
test -e %{_sysconfdir}/profile.d/openSUSEway.sh && rm %{_sysconfdir}/profile.d/openSUSEway.sh || true
|
||||||
|
test -e %{_prefix}/lib/environment.d/50-openSUSEway.conf && rm %{_prefix}/lib/environment.d/50-openSUSEway.conf || true
|
||||||
|
|
||||||
|
%post -n openSUSEway
|
||||||
|
test -e %{_sysconfdir}/greetd/config.toml && \
|
||||||
|
mv -n %{_sysconfdir}/greetd/config.toml %{_sysconfdir}/greetd/config.toml.orig || true
|
||||||
|
cp %{_sysconfdir}/greetd/config.toml.way %{_sysconfdir}/greetd/config.toml
|
||||||
|
|
||||||
|
%postun -n openSUSEway
|
||||||
|
test -e %{_sysconfdir}/greetd/config.toml.orig && \
|
||||||
|
mv %{_sysconfdir}/greetd/config.toml.orig %{_sysconfdir}/greetd/config.toml || true
|
||||||
|
|
||||||
|
%post -n sway-branding-openSUSE
|
||||||
|
test -e %{_datadir}/wayland-sessions/sway.desktop && \
|
||||||
|
mv -n %{_datadir}/wayland-sessions/sway.desktop %{_datadir}/wayland-sessions/sway.desktop.orig || true
|
||||||
|
cp %{_datadir}/wayland-sessions/sway.desktop.brand %{_datadir}/wayland-sessions/sway.desktop
|
||||||
|
|
||||||
|
%postun -n sway-branding-openSUSE
|
||||||
|
test -e %{_datadir}/wayland-sessions/sway.desktop.orig && \
|
||||||
|
mv %{_datadir}/wayland-sessions/sway.desktop.orig %{_datadir}/wayland-sessions/sway.desktop || true
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%config %{_sysconfdir}/profile.d/openSUSEway.sh
|
|
||||||
%config %{_prefix}/lib/environment.d/50-openSUSEway.conf
|
|
||||||
%dir %{_sysconfdir}/xdg/qt5ct/
|
%dir %{_sysconfdir}/xdg/qt5ct/
|
||||||
%config(noreplace) %{_sysconfdir}/xdg/qt5ct/qt5ct.conf
|
%config(noreplace) %{_sysconfdir}/xdg/qt5ct/qt5ct.conf
|
||||||
|
%dir %{_sysconfdir}/greetd/
|
||||||
|
%attr(644,greeter,greeter) %config %{_sysconfdir}/greetd/config.toml.way
|
||||||
|
%attr(644,greeter,greeter) %config %{_sysconfdir}/greetd/sway-config
|
||||||
|
%attr(644,greeter,greeter) %config %{_sysconfdir}/greetd/environments
|
||||||
|
|
||||||
%files -n patterns-openSUSEway
|
%files -n patterns-openSUSEway
|
||||||
%dir %{_defaultdocdir}/patterns
|
%dir %{_defaultdocdir}/patterns
|
||||||
@ -169,6 +201,10 @@ install -D -p -m 644 .config/waybar/style.css %{buildroot}%{_sysconfdir}/xdg/way
|
|||||||
%config %{_sysconfdir}/sway/env
|
%config %{_sysconfdir}/sway/env
|
||||||
%dir %{_sysconfdir}/sway/config.d
|
%dir %{_sysconfdir}/sway/config.d
|
||||||
%config %{_sysconfdir}/sway/config.d/50-openSUSE.conf
|
%config %{_sysconfdir}/sway/config.d/50-openSUSE.conf
|
||||||
|
%{_unitdir}/sway-session.target
|
||||||
|
%{_unitdir}/sway.service
|
||||||
|
%{_datadir}/wayland-sessions/sway.desktop.brand
|
||||||
|
%{_bindir}/sway-run.sh
|
||||||
|
|
||||||
%dir %{_sysconfdir}/alacritty
|
%dir %{_sysconfdir}/alacritty
|
||||||
%config(noreplace) %{_sysconfdir}/alacritty/alacritty.yml
|
%config(noreplace) %{_sysconfdir}/alacritty/alacritty.yml
|
||||||
@ -183,4 +219,3 @@ install -D -p -m 644 .config/waybar/style.css %{buildroot}%{_sysconfdir}/xdg/way
|
|||||||
%config(noreplace) %{_sysconfdir}/xdg/waybar/style.css
|
%config(noreplace) %{_sysconfdir}/xdg/waybar/style.css
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user