From d8935f9e3ac51fe61d336f53ecfb00ee0583d961 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Thu, 1 Aug 2024 13:09:14 +0000 Subject: automatic import of cockpit-files --- .gitignore | 1 + cockpit-files.spec | 84 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 86 insertions(+) create mode 100644 cockpit-files.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..b3c813e 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/cockpit-files-3.1.tar.xz diff --git a/cockpit-files.spec b/cockpit-files.spec new file mode 100644 index 0000000..8e1025a --- /dev/null +++ b/cockpit-files.spec @@ -0,0 +1,84 @@ +Name: cockpit-files +Version: 3.1 +Release: 1%{?dist} +Summary: A filesystem browser for Cockpit +License: LGPL-2.1-or-later + +Source0: https://github.com/cockpit-project/cockpit-files/releases/download/%{version}/%{name}-%{version}.tar.xz +BuildArch: noarch +ExclusiveArch: %{nodejs_arches} noarch +BuildRequires: nodejs +BuildRequires: make +%if 0%{?suse_version} +# Suse's package has a different name +BuildRequires: appstream-glib +%else +BuildRequires: libappstream-glib +%endif +BuildRequires: gettext + +Requires: cockpit-bridge >= 318 + +Provides: bundled(npm(@patternfly/patternfly)) = 5.3.1 +Provides: bundled(npm(@patternfly/react-core)) = 5.3.3 +Provides: bundled(npm(@patternfly/react-icons)) = 5.3.2 +Provides: bundled(npm(@patternfly/react-styles)) = 5.3.1 +Provides: bundled(npm(@patternfly/react-table)) = 5.3.3 +Provides: bundled(npm(@patternfly/react-tokens)) = 5.3.1 +Provides: bundled(npm(attr-accept)) = 2.2.2 +Provides: bundled(npm(dequal)) = 2.0.3 +Provides: bundled(npm(file-selector)) = 0.6.0 +Provides: bundled(npm(focus-trap)) = 7.5.2 +Provides: bundled(npm(js-tokens)) = 4.0.0 +Provides: bundled(npm(lodash)) = 4.17.21 +Provides: bundled(npm(loose-envify)) = 1.4.0 +Provides: bundled(npm(object-assign)) = 4.1.1 +Provides: bundled(npm(prop-types)) = 15.8.1 +Provides: bundled(npm(react-dom)) = 18.3.1 +Provides: bundled(npm(react-dropzone)) = 14.2.3 +Provides: bundled(npm(react-is)) = 16.13.1 +Provides: bundled(npm(react)) = 18.3.1 +Provides: bundled(npm(scheduler)) = 0.23.2 +Provides: bundled(npm(tabbable)) = 6.2.0 +Provides: bundled(npm(throttle-debounce)) = 5.0.0 +Provides: bundled(npm(tslib)) = 2.6.3 + +%description +A filesystem browser for Cockpit + +%prep +%setup -q -n %{name} + +%build +# Nothing to build + +%install +%make_install PREFIX=/usr + +# drop source maps, they are large and just for debugging +find %{buildroot}%{_datadir}/cockpit/ -name '*.map' | xargs --no-run-if-empty rm --verbose + +%check +appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/* + +# this can't be meaningfully tested during package build; tests happen through +# FMF (see plans/all.fmf) during package gating + +%files +%doc README.md +%license LICENSE dist/index.js.LEGAL.txt dist/index.css.LEGAL.txt +%{_datadir}/cockpit/* +%{_datadir}/metainfo/* + +%changelog +* Thu Jul 11 2024 Packit - 3.1-1 +- Allow breadcrumbs to wrap, fixes failing gating test + +* Wed Jul 10 2024 Packit - 3-1 +- Bug fixes and performance improvements + +* Wed Jun 26 2024 Packit - 2-1 +- Bookmark support + +* Fri Jun 7 2024 Jelle van der Waa - 1-1 +- Update to upstream 1 release diff --git a/sources b/sources new file mode 100644 index 0000000..2ab3c08 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +1c2fcd5155efff874c6381caef8af6f4 cockpit-files-3.1.tar.xz -- cgit v1.2.3