Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:illuusio:nodejs-packages
cockpit-docker
cockpit-docker.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File cockpit-docker.spec of Package cockpit-docker
# # spec file for package cockpit-docker # # Copyright (c) 2023 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/ # %define cockpit_docker_version 12 Name: cockpit-docker Version: 300.%{cockpit_docker_version} Release: 0%{?dist} Summary: Cockpit module for Transactional Update License: LGPL-2.1-or-later URL: https://github.com/chabad360/cockpit-docker Source: %{name}-%{cockpit_docker_version}.tar.xz 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: cockpit-devel >= 293 BuildRequires: local-npm-registry BuildRequires: make BuildRequires: nodejs-devel BuildRequires: npm Requires: cockpit-system Requires: docker %define debug_package %{nil} %description Docker plugin for Cockpit So you can manage your docker containers from Cockpit Why the fork? The Cockpit team stopped caring in version 215, declaring they going 'in favor' of podman. a container system nobody uses instead of the defacto standard. the cockpit-podman plugin is currently in development and is far from feature-complete. that doesnt stop RedHat from killing it ! but its OSS ! So let's fork ! %prep %setup -q -n %{name} rm -rf package-lock.json node_modules local-npm-registry %{_sourcedir} install --legacy-peer-deps || ( find ~/.npm/_logs -name '*-debug.log' -print0 | xargs -0 cat; false) %build mkdir -p pkg cp -r %{_datadir}/cockpit/devel/lib pkg/lib NODE_ENV=production npm run build %install PREFIX=/usr DESTDIR=%{buildroot} make install appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/* # drop source maps, they are large and just for debugging find %{buildroot}%{_datadir}/cockpit/ -name '*.map' | xargs --no-run-if-empty rm --verbose %files %doc README.md %license LICENSE dist/index.js.LEGAL.txt dist/index.css.LEGAL.txt %{_datadir}/cockpit %{_datadir}/metainfo/* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor