diff --git a/.gitignore b/.gitignore index 8c51c10..1fbb556 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ /cockpit-session-recording-11.tar.xz /cockpit-session-recording-11.1.tar.xz /cockpit-session-recording-12.tar.xz +/cockpit-session-recording-14.tar.xz diff --git a/README.packit b/README.packit new file mode 100644 index 0000000..03c3f50 --- /dev/null +++ b/README.packit @@ -0,0 +1,3 @@ +This repository is maintained by packit. +https://packit.dev/ +The file was generated using packit 0.75.0.post16+g33d32c7. diff --git a/cockpit-session-recording.spec b/cockpit-session-recording.spec index 92e2a5f..4f01120 100644 --- a/cockpit-session-recording.spec +++ b/cockpit-session-recording.spec @@ -1,34 +1,90 @@ Name: cockpit-session-recording -Version: 12 -Release: 3%{?dist} +Version: 14 +Release: 1%{?dist} Summary: Cockpit Session Recording License: LGPL-2.0-or-later URL: https://github.com/Scribery/%{name} Source: https://github.com/Scribery/%{name}/releases/download/%{version}/%{name}-%{version}.tar.xz BuildArch: noarch -BuildRequires: libappstream-glib +BuildRequires: nodejs BuildRequires: make +BuildRequires: libappstream-glib +BuildRequires: gettext +%if 0%{?rhel} && 0%{?rhel} <= 8 +BuildRequires: libappstream-glib-devel +%endif + Requires: cockpit-system Requires: tlog +Provides: bundled(npm(@babel/runtime)) = 7.21.5 +Provides: bundled(npm(@patternfly/patternfly)) = 5.0.0-alpha.40 +Provides: bundled(npm(@patternfly/react-core)) = 5.0.0-alpha.72 +Provides: bundled(npm(@patternfly/react-icons)) = 5.0.0-alpha.10 +Provides: bundled(npm(@patternfly/react-styles)) = 5.0.0-alpha.7 +Provides: bundled(npm(@patternfly/react-table)) = 5.0.0-alpha.74 +Provides: bundled(npm(@patternfly/react-tokens)) = 5.0.0-alpha.9 +Provides: bundled(npm(array-timsort)) = 1.0.3 +Provides: bundled(npm(attr-accept)) = 2.2.2 +Provides: bundled(npm(base64-js)) = 1.5.1 +Provides: bundled(npm(buffer)) = 6.0.3 +Provides: bundled(npm(comment-json)) = 4.2.3 +Provides: bundled(npm(core-util-is)) = 1.0.3 +Provides: bundled(npm(date-fns)) = 2.30.0 +Provides: bundled(npm(esprima)) = 4.0.1 +Provides: bundled(npm(file-selector)) = 0.6.0 +Provides: bundled(npm(focus-trap)) = 7.4.0 +Provides: bundled(npm(has-own-prop)) = 2.0.0 +Provides: bundled(npm(ieee754)) = 1.2.1 +Provides: bundled(npm(ini)) = 4.1.1 +Provides: bundled(npm(jquery)) = 3.7.0 +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.2.0 +Provides: bundled(npm(react-dropzone)) = 14.2.3 +Provides: bundled(npm(react-is)) = 16.13.1 +Provides: bundled(npm(react)) = 18.2.0 +Provides: bundled(npm(regenerator-runtime)) = 0.13.11 +Provides: bundled(npm(repeat-string)) = 1.6.1 +Provides: bundled(npm(scheduler)) = 0.23.0 +Provides: bundled(npm(tabbable)) = 6.1.2 +Provides: bundled(npm(throttle-debounce)) = 5.0.0 +Provides: bundled(npm(tslib)) = 2.5.0 +Provides: bundled(npm(xterm)) = 5.1.0 + %description Cockpit module providing session recording configuration and playback. This module allows viewing and playback of journal-stored terminal session recordings generated by the tlog component. %prep -%setup -qn cockpit-session-recording +%setup -q -n %{name} + +%build +# Nothing to build %install -%make_install -appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/* +%make_install PREFIX=/usr +appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/* %files -%{_datadir}/cockpit/session-recording -%{_datadir}/metainfo/org.cockpit-project.session-recording.metainfo.xml +%{_datadir}/cockpit/* +%{_datadir}/metainfo/* %changelog +* Wed May 17 2023 Packit - 14-1 +- Upgrade to PatternFly 5 Alpha +- Makefile: Update Cockpit lib to da5abbb4245b0455cc8b610efe01e684 +- package.json: Pin down versions of @patternfly/react-{styles,icons} +- Makefile: Update Cockpit lib to 947f1753867e3924b9617aaace936225 +- Makefile: Fix watch dependencies +- Update release.yml +- Automate the release process + * Thu Jan 19 2023 Fedora Release Engineering - 12-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild diff --git a/packit.yaml b/packit.yaml new file mode 100644 index 0000000..30bf483 --- /dev/null +++ b/packit.yaml @@ -0,0 +1,70 @@ +# Enable RPM builds and running integration tests in PRs through https://packit.dev/ +# To use this, enable Packit-as-a-service in GitHub: https://packit.dev/docs/packit-as-a-service/ +# See https://packit.dev/docs/configuration/ for the format of this file +# +upstream_project_url: https://github.com/Scribery/cockpit-session-recording +# enable notification of failed downstream jobs as issues +issue_repository: https://github.com/Scribery/cockpit-session-recording + +specfile_path: cockpit-session-recording.spec +upstream_package_name: cockpit-session-recording +downstream_package_name: cockpit-session-recording +# use the nicely formatted release description from our upstream release, instead of git shortlog +copy_upstream_release_description: true + +srpm_build_deps: + - make + - nodejs-npm + +actions: + post-upstream-clone: + - make cockpit-session-recording.spec + create-archive: make dist + # starter-kit.git has no release tags; your project can drop this once you have a release + get-current-version: make print-version + +jobs: + - job: copr_build + trigger: pull_request + targets: + - fedora-all + - fedora-latest-aarch64 + - centos-stream-8 + - centos-stream-9 + - centos-stream-9-aarch64 + + - job: tests + trigger: pull_request + targets: + - fedora-all + - fedora-latest-aarch64 + - centos-stream-8 + - centos-stream-9 + - centos-stream-9-aarch64 + + # Build releases in COPR: https://packit.dev/docs/configuration/#copr_build + #- job: copr_build + # trigger: release + # owner: your_copr_login + # project: your_copr_project + # preserve_project: True + # targets: + # - fedora-all + # - centos-stream-9-x86_64 + + # Build releases in Fedora: https://packit.dev/docs/configuration/#propose_downstream + - job: propose_downstream + trigger: release + dist_git_branches: + - fedora-all + + - job: koji_build + trigger: commit + dist_git_branches: + - fedora-all + + - job: bodhi_update + trigger: commit + dist_git_branches: + # rawhide updates are created automatically + - fedora-branched diff --git a/sources b/sources index 00ffcc6..65f4ad9 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (cockpit-session-recording-12.tar.xz) = a624a265b8287835ea65d21a059408af674f607dbd4de1aaf182e9447b4457b069d39a59ea8e71bd7e8de0c7c73ef88953905cb5cfc79e32f811d99e63abada1 +SHA512 (cockpit-session-recording-14.tar.xz) = 520deea322b554a88fe67ca194a1c9be29a48354a348ce6a9c2b2b6b3b640b9db14e9b7cf169cd2a55af2a983841af069fb88a0b86b04c1977ea26904d758c78