Sync from SUSE:SLFO:Main agama-web-ui revision ecc276b254ea4d52a2b4c7b01e86a955
This commit is contained in:
commit
99a5dbc3c0
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal 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
|
26
_service
Normal file
26
_service
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
<services>
|
||||||
|
<service name="obs_scm" mode="manual">
|
||||||
|
<param name="versionformat">@PARENT_TAG@+@TAG_OFFSET@</param>
|
||||||
|
<param name="versionrewrite-pattern">v(.*)</param>
|
||||||
|
<param name="url">https://github.com/openSUSE/agama.git</param>
|
||||||
|
<param name="scm">git</param>
|
||||||
|
<param name="revision">master</param>
|
||||||
|
<param name="subdir">web</param>
|
||||||
|
<param name="without-version">enable</param>
|
||||||
|
<param name="extract">package-lock.json</param>
|
||||||
|
<param name="extract">package/agama-web-ui.changes</param>
|
||||||
|
<param name="extract">package/agama-web-ui.spec</param>
|
||||||
|
</service>
|
||||||
|
<service name="node_modules" mode="manual">
|
||||||
|
<param name="cpio">node_modules.obscpio</param>
|
||||||
|
<param name="output">node_modules.spec.inc</param>
|
||||||
|
<param name="source-offset">1000</param>
|
||||||
|
</service>
|
||||||
|
<service mode="buildtime" name="tar">
|
||||||
|
<param name="obsinfo">agama.obsinfo</param>
|
||||||
|
<param name="filename">agama</param>
|
||||||
|
</service>
|
||||||
|
<service mode="buildtime" name="set_version">
|
||||||
|
<param name="basename">agama</param>
|
||||||
|
</service>
|
||||||
|
</services>
|
1221
agama-web-ui.changes
Normal file
1221
agama-web-ui.changes
Normal file
File diff suppressed because it is too large
Load Diff
58
agama-web-ui.spec
Normal file
58
agama-web-ui.spec
Normal file
@ -0,0 +1,58 @@
|
|||||||
|
#
|
||||||
|
# spec file for package agama-web-ui
|
||||||
|
#
|
||||||
|
# Copyright (c) 2024 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: agama-web-ui
|
||||||
|
Version: 0
|
||||||
|
Release: 0
|
||||||
|
Summary: Web UI for Agama installer
|
||||||
|
License: GPL-2.0-or-later
|
||||||
|
URL: https://github.com/openSUSE/agama
|
||||||
|
# source_validator insists that if obscpio has no version then
|
||||||
|
# tarball must neither
|
||||||
|
Source0: agama.tar
|
||||||
|
Source10: package-lock.json
|
||||||
|
Source11: node_modules.spec.inc
|
||||||
|
Source12: node_modules.sums
|
||||||
|
%include %_sourcedir/node_modules.spec.inc
|
||||||
|
BuildArch: noarch
|
||||||
|
BuildRequires: appstream-glib
|
||||||
|
BuildRequires: local-npm-registry
|
||||||
|
|
||||||
|
%description
|
||||||
|
Agama web UI for the experimental Agama installer.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -p1 -n agama
|
||||||
|
rm -f package-lock.json
|
||||||
|
local-npm-registry %{_sourcedir} install --with=dev --legacy-peer-deps || ( find ~/.npm/_logs -name '*-debug.log' -print0 | xargs -0 cat; false)
|
||||||
|
|
||||||
|
%build
|
||||||
|
NODE_ENV="production" npm run build
|
||||||
|
|
||||||
|
%install
|
||||||
|
install -D -m 0644 --target-directory=%{buildroot}%{_datadir}/agama/web_ui %{_builddir}/agama/dist/*.{gz,html,js,map,svg}
|
||||||
|
install -D -m 0644 --target-directory=%{buildroot}%{_datadir}/agama/web_ui/fonts %{_builddir}/agama/dist/fonts/*.woff?
|
||||||
|
install -D -m 0644 --target-directory=%{buildroot}%{_datadir}/agama/web_ui/assets/logos %{_builddir}/agama/src/assets/products/*.svg
|
||||||
|
|
||||||
|
%files
|
||||||
|
%doc README.md
|
||||||
|
%license LICENSE
|
||||||
|
%dir %{_datadir}/agama
|
||||||
|
%{_datadir}/agama/web_ui
|
||||||
|
|
||||||
|
%changelog
|
BIN
agama.obscpio
(Stored with Git LFS)
Normal file
BIN
agama.obscpio
(Stored with Git LFS)
Normal file
Binary file not shown.
4
agama.obsinfo
Normal file
4
agama.obsinfo
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
name: agama
|
||||||
|
version: 10+0
|
||||||
|
mtime: 1727035068
|
||||||
|
commit: 861bdbc9fd6e6f5ef9445be8a88d7042e20b3c3c
|
BIN
node_modules.obscpio
(Stored with Git LFS)
Normal file
BIN
node_modules.obscpio
(Stored with Git LFS)
Normal file
Binary file not shown.
1261
node_modules.spec.inc
Normal file
1261
node_modules.spec.inc
Normal file
File diff suppressed because it is too large
Load Diff
1261
node_modules.sums
Normal file
1261
node_modules.sums
Normal file
File diff suppressed because it is too large
Load Diff
21287
package-lock.json
generated
Normal file
21287
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user