commit 5a8d45a41dcd20459d456e87e1f7d4a2ce977bb8 Author: Scott Bradnick Date: Thu Jan 13 15:37:10 2022 +0000 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 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..fecc750 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/patterns-wsl-rpmlintrc b/patterns-wsl-rpmlintrc new file mode 100644 index 0000000..1c3700e --- /dev/null +++ b/patterns-wsl-rpmlintrc @@ -0,0 +1,2 @@ +#addFilter("W: no-binary"); + diff --git a/patterns-wsl.changes b/patterns-wsl.changes new file mode 100644 index 0000000..3c5b822 --- /dev/null +++ b/patterns-wsl.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Wed Jan 12 20:33:08 UTC 2022 - Scott Bradnick + +- Initial version. diff --git a/patterns-wsl.spec b/patterns-wsl.spec new file mode 100644 index 0000000..8c20b64 --- /dev/null +++ b/patterns-wsl.spec @@ -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