Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:darix:apps
oxipng
oxipng.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File oxipng.spec of Package oxipng
# # spec file for package oxipng # # 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: oxipng Version: 8.0.0 Release: 0 Summary: Multithreaded PNG optimizer written in Rust License: MIT URL: https://github.com/shssoichiro/oxipng Source0: %{name}-%{version}.tar.gz Source1: vendor.tar.xz Source2: cargo_config BuildRequires: cargo BuildRequires: rust BuildRequires: cargo-packaging %description Oxipng is a multithreaded lossless PNG compression optimizer. It can be used via a command-line interface or as a library in other Rust programs. %prep %autosetup -p1 -a 1 install -D -m 0644 %{SOURCE2} .cargo/config cat << EOF >> .cargo/config # [install] root = "%{buildroot}%{_prefix}" EOF %build %{cargo_build} %install # install -D -m 0755 target/release/oxipng %{buildroot}%{_bindir}/oxipng %{cargo_install} %files %license LICENSE %doc CHANGELOG.md README.md %{_bindir}/oxipng %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