Accepting request 946177 from home:sbradnick

Initial version supplying 'wsl_base' and 'wsl_gui' patterns.

OBS-URL: https://build.opensuse.org/request/show/946177
OBS-URL: https://build.opensuse.org/package/show/Virtualization:WSL/patterns-wsl?expand=0&rev=1
This commit is contained in:
Scott Bradnick 2022-01-13 15:37:10 +00:00 committed by Git OBS Bridge
commit 5a8d45a41d
4 changed files with 118 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

2
patterns-wsl-rpmlintrc Normal file
View File

@ -0,0 +1,2 @@
#addFilter("W: no-binary");

4
patterns-wsl.changes Normal file
View File

@ -0,0 +1,4 @@
-------------------------------------------------------------------
Wed Jan 12 20:33:08 UTC 2022 - Scott Bradnick <scott.bradnick@suse.com>
- Initial version.

89
patterns-wsl.spec Normal file
View File

@ -0,0 +1,89 @@
#
# spec file for package patterns
#
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: patterns-wsl
Version: 20220112
Release: 0
Summary: Recommended packages for Windows Subsystem for Linux, WSL, WSLg
License: MIT
Group: Metapackages
#URL: https://github.com/openSUSE/patterns
URL: https://github.com/sbradnick/patterns
BuildRequires: patterns-rpm-macros
%description
This is an internal package that is used to create the patterns as part
of the installation source setup. Installation of this package does
not make sense.
# -----
%package base
%pattern_development
Summary: Base WSL packages
Group: Metapackages
Provides: pattern() = wsl_base
Provides: pattern-icon() = wsl
Provides: pattern-order() = 3420
Provides: pattern-visible()
Requires: bash
Recommends: fish
Recommends: zsh
%description base
This package contains the wsl_base pattern: recommended tools,libraries for using WSL.
%files base
%dir /usr/share/doc/packages/patterns
/usr/share/doc/packages/patterns/wsl_base.txt
# -----
%package gui
%pattern_development
Summary: WSL GUI packages
Group: Metapackages
Provides: pattern() = wsl_gui
Provides: pattern-icon() = wsl
Provides: pattern-order() = 3420
Provides: pattern-visible()
Requires: xeyes
Recommends: adwaita-icon-theme
Recommends: gnome-icon-theme
Recommends: noto-sans-fonts
Recommends: powerline-fonts
%description gui
This package contains the wsl_gui pattern: recommended tools,libraries for using WSLg.
%files gui
%dir /usr/share/doc/packages/patterns
/usr/share/doc/packages/patterns/wsl_gui.txt
# -----
%prep
%build
%install
mkdir -p %{buildroot}/usr/share/doc/packages/patterns/
echo 'This file marks the pattern wsl_base to be installed.' > %{buildroot}/usr/share/doc/packages/patterns/wsl_base.txt
mkdir -p %{buildroot}/usr/share/doc/packages/patterns/
echo 'This file marks the pattern wsl_gui to be installed.' > %{buildroot}/usr/share/doc/packages/patterns/wsl_gui.txt
%changelog