Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:zzndb
monolith
monolith.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File monolith.spec of Package monolith
# # spec file for package monolith # # Copyright (c) 2020 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: monolith Version: 2.8.0 Release: 0 Summary: CLI tool for saving complete web pages as a single HTML file License: CC0-1.0 URL: https://github.com/Y2Z/monolith Source: %{name}-%{version}.tar.xz Source1: vendor.tar.xz BuildRequires: cargo >= 1.64.0 BuildRequires: rust BuildRequires: libopenssl-devel %description Unlike the conventional “Save page as”, monolith not only saves the target document, it embeds CSS, image, and JavaScript assets all at once, producing a single HTML5 document that is a joy to store and share. %prep %setup -q -n %{name}-%{version} -a1 mkdir cargo-home cat >cargo-home/config <<EOF [source.crates-io] replace-with = "vendored-sources" [source.vendored-sources] directory = "vendor" EOF %build export CARGO_HOME=$PWD/cargo-home cargo build --release %{?_smp_mflags} %install install -Dm 0755 target/release/monolith %{buildroot}%{_bindir}/monolith %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %license LICENSE %doc README.md %{_bindir}/%{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