Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:lrupp
nodejs-confluence-space-exporter
nodejs-confluence-space-exporter.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File nodejs-confluence-space-exporter.spec of Package nodejs-confluence-space-exporter
# # spec file for package nodejs-Confluence-Space-Exporter # # 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/ # Name: nodejs-confluence-space-exporter Version: 1.0+git.f8e714b Release: 0 Summary: CLI for exporting Confluence space License: ISC Group: Productivity/Publishing/Other URL: https://www.npmjs.com/package/confluence-space-exporter Source: confluence-space-exporter-%{version}.tar.xz Source1: nodejs-confluence-space-exporter-rpmlintrc Source2: confluence-space-exporter.script Source10: package-lock.json Source11: node_modules.spec.inc %include %{_sourcedir}/node_modules.spec.inc BuildRequires: local-npm-registry BuildRequires: fdupes BuildArch: noarch %define real_name confluence-space-exporter %description Confluence Space Exporter is a handy command line tool that can export a Confluence space into XML or HTML or PDF file. A good use case is archiving space to an offsite storage. XML export includes almost everything in the existing space. To restore the space, you need to import the export file into a compatible Confluence server. This is the recommended export type. PDF and HTML export only covers part of the contents in the space, the details can be found in the following table. The pro is obvious that the export file is immediately readble therefore easy for distribution. %prep %setup -q -n %{real_name}-%{version} test -f package-lock.json && rm -v package-lock.json local-npm-registry %{_sourcedir} install --also=dev find . \ -name .travis.yml \ -o -name .npmignore \ -o -name .eslintrc.yml \ -o -name .travis.yml \ -o -name .github \ -o -name .jshintrc \ -o -name .editorconfig \ -o -name .nycrc \ -o -name .tm_properties \ -o -name README.md.bak \ -o -name .package-lock.json \ -o -name .tonic_example.js \ -o -name .nyc_output \ -o -name .eslintrc.json \ -o -name .babelrc \ -o -name .jscs.json \ -o -name .gitmodules \ -o -name .dir-locals.el \ -o -name .eslintrc \ -o -name .env \ | xargs rm -rf + #-o -name .bin \ find . -type f | xargs chmod 644 chmod 0755 cse.js %build %install mkdir -p %{buildroot}%{_datadir}/%{real_name} %{buildroot}%{_bindir} %{buildroot}%{_sysconfdir} cp -r lib node_modules cse.js envvar %{buildroot}%{_datadir}/%{real_name}/ install -Dm0755 %{SOURCE2} %{buildroot}%{_bindir}/%{real_name} sed -i "s|__MODULEPATH__|%{_datadir}/%{real_name}|g" %{buildroot}%{_bindir}/%{real_name} cp envvar %{buildroot}%{_sysconfdir}/%{real_name}.envvar %fdupes %{buildroot}%{_datadir}/%{real_name} %files %doc README.md package.json %{_bindir}/%{real_name} %config(noreplace) %{_sysconfdir}/%{real_name}.envvar %dir %{_datadir}/%{real_name} %{_datadir}/%{real_name}/* %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