Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.6:Update
wl-clipboard-rs
wl-clipboard-rs.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File wl-clipboard-rs.spec of Package wl-clipboard-rs
# # spec file for package wl-clipboard-rs # # 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/ # %global rustflags '-Clink-arg=-Wl,-z,relro,-z,now' Name: wl-clipboard-rs Version: 0.7.0 Release: 0 Summary: Wayland Clipboard Utility in Rust License: Apache-2.0 AND MIT URL: https://github.com/YaLTeR/wl-clipboard-rs Source0: %{name}-%{version}.tar.gz Source1: vendor.tar.gz Source2: cargo_config BuildRequires: cargo-packaging BuildRequires: pkgconfig BuildRequires: rust+cargo >= 1.61 BuildRequires: wayland-devel BuildRequires: pkgconfig(wayland-client) BuildRequires: pkgconfig(wayland-cursor) BuildRequires: pkgconfig(wayland-protocols) >= 1.17 BuildRequires: pkgconfig(wayland-server) >= 1.16 Recommends: mailcap Recommends: xdg-utils Conflicts: wl-clipboard %description A safe Rust crate for working with the Wayland clipboard. %prep %autosetup -a1 mkdir .cargo cp %{SOURCE2} .cargo/config cp -rv vendor wl-clipboard-rs-tools/vendor pushd wl-clipboard-rs-tools mkdir .cargo cp -v %{SOURCE2} .cargo/config %build pushd wl-clipboard-rs-tools CARGO_INCREMENTAL=0 %{cargo_build} %install pushd wl-clipboard-rs-tools CARGO_INCREMENTAL=0 %{cargo_install} # Removing unnecessary crate related files find %{buildroot}%{_prefix} -type f \( -name ".crates.toml" -or -name ".crates2.json" \) -delete -print %files %{_bindir}/wl-copy %{_bindir}/wl-paste %{_bindir}/wl-clip %license LICENSE-APACHE LICENSE-MIT %doc README.md CHANGELOG.md doc/index.html %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