Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:ilfirin
samba-ad-dc
cockpit-samba-ad-dc.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File cockpit-samba-ad-dc.spec of Package samba-ad-dc
%define mod_name cockpit-samba-ad-dc Name: cockpit-samba-ad-dc Version: 1 Release: 1%{?dist} Summary: Cockpit Samba AD DC Management App License: LGPLv2+ URL: https://gitlab.com/HezekiahM/samba-ad-dc Source: samba-ad-dc-master.tar.gz Source1: node_modules.tar.xz BuildArch: noarch BuildRequires: fdupes BuildRequires: jq BuildRequires: nodejs Requires: samba-dc Requires: cockpit BuildRequires: make BuildRoot: %{_tmppath}/%{name}-%{version}-%{release} Patch: remove-node-dependency-tag.patch %{?nodejs_requires} %define debug_package %{nil} %description Cockpit Samba AD DC Management App %prep %setup -n samba-ad-dc-master cp -r package.json .. %patch -p1 pushd .. tar -czf %{S:0} samba-ad-dc-master popd tar xfJ %{S:1} npm_config_prefix=%{buildroot}%{_prefix} npm install -g %{S:0} npm update npm audit fix --force # manual install original package.json install -m 0644 ../package.json samba-ad-dc-master %build export NODE_OPTIONS=--openssl-legacy-provider export NODE_ENV=--openssl-legacy-provider NODE_OPTIONS=--openssl-legacy-provider NODE_ENV=--openssl-legacy-provider npm --openssl-legacy-provider run build %install rm -rf %{buildroot}/ mkdir -p %{buildroot}%{_datadir}/cockpit/samba-ad-dc cp -r dist/* %{buildroot}%{_datadir}/cockpit/samba-ad-dc/ mkdir -p %{buildroot}%{_datadir}/metainfo/ cp org.cockpit-project.cockpit-samba-ad-dc.metainfo.xml %{buildroot}%{_datadir}/metainfo/ %files %{_datadir}/cockpit/* %{_datadir}/metainfo/*
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