Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Factory:Rebuild
tealdeer
tealdeer.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File tealdeer.spec of Package tealdeer
# # spec file for package tealdeer # # Copyright (c) 2024 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/ # %bcond_without system_openssl %if %{with system_openssl} %define build_args --no-default-features --features=native-tls %endif Name: tealdeer Version: 1.7.0 Release: 0 Summary: An implementation of tldr in Rust License: Apache-2.0 OR MIT Group: Productivity/Other URL: https://github.com/tealdeer-rs/tealdeer Source0: %{name}-%{version}.tar.xz Source1: vendor.tar.zst BuildRequires: cargo-packaging BuildRequires: libopenssl-devel BuildRequires: zstd ExclusiveArch: %{rust_tier1_arches} %description An implementation of tldr in Rust. It has example based and community-driven man pages. %package bash-completion Summary: Bash Completion for %{name} Group: System/Shells Supplements: (%{name} and bash-completion) Requires: %{name} = %{version} Requires: bash-completion BuildArch: noarch %description bash-completion Bash command-line completion support for %{name}. %package fish-completion Summary: Fish Completion for %{name} Group: System/Shells Supplements: (%{name} and fish) Requires: %{name} = %{version} Requires: fish BuildArch: noarch %description fish-completion Fish command-line completion support for %{name}. %package zsh-completion Summary: Zsh Completion for %{name} Group: System/Shells Supplements: (%{name} and zsh) Requires: %{name} = %{version} Requires: zsh BuildArch: noarch %description zsh-completion Zsh command-line completion support for %{name}. %prep %autosetup -a1 %build %{cargo_build} %{?build_args} %install %{cargo_install} %{?build_args} install -Dm644 -T ./completion/bash_tealdeer %{buildroot}%{_datadir}/bash-completion/completions/tealdeer install -Dm644 -T ./completion/fish_tealdeer %{buildroot}%{_datadir}/fish/vendor_completions.d/tealdeer.fish install -Dm644 -T ./completion/zsh_tealdeer %{buildroot}%{_datadir}/zsh/site-functions/_tealdeer %files %doc README.md %license LICENSE-MIT LICENSE-APACHE %{_bindir}/tldr %files bash-completion %{_datadir}/bash-completion/* %files fish-completion %dir %{_datadir}/fish %{_datadir}/fish/* %files zsh-completion %dir %{_datadir}/zsh %{_datadir}/zsh/* %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