mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 09:01:55 +00:00
* Add pbcli
* Update anda/misc/pbcli/update.rhai
Co-authored-by: madomado <madonuko@outlook.com>
Signed-off-by: Gil <130161554+ShinyGil@users.noreply.github.com>
* Update anda/misc/pbcli/pbcli.spec
Co-authored-by: madomado <madonuko@outlook.com>
Signed-off-by: Gil <130161554+ShinyGil@users.noreply.github.com>
* Update anda/misc/pbcli/pbcli.spec
Co-authored-by: madomado <madonuko@outlook.com>
Signed-off-by: Gil <130161554+ShinyGil@users.noreply.github.com>
* Update anda/misc/pbcli/pbcli.spec
Co-authored-by: madomado <madonuko@outlook.com>
Signed-off-by: Gil <130161554+ShinyGil@users.noreply.github.com>
* Update anda/misc/pbcli/pbcli.spec
Co-authored-by: madomado <madonuko@outlook.com>
Signed-off-by: Gil <130161554+ShinyGil@users.noreply.github.com>
* Update anda/misc/pbcli/pbcli.spec
Co-authored-by: madomado <madonuko@outlook.com>
Signed-off-by: Gil <130161554+ShinyGil@users.noreply.github.com>
* Update anda/misc/pbcli/pbcli.spec
Co-authored-by: madomado <madonuko@outlook.com>
Signed-off-by: Gil <130161554+ShinyGil@users.noreply.github.com>
---------
Signed-off-by: Gil <130161554+ShinyGil@users.noreply.github.com>
Co-authored-by: madomado <madonuko@outlook.com>
(cherry picked from commit fad2467841)
Co-authored-by: Gil <130161554+ShinyGil@users.noreply.github.com>
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
project pkg {
|
||||
rpm {
|
||||
spec = "pbcli.spec"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,45 @@
|
||||
%global __brp_mangle_shebangs %{nil}
|
||||
%bcond_without mold
|
||||
|
||||
%global _description %{expand:
|
||||
pbcli is a command line client which allows to upload and download pastes from privatebin directly from the command line.}
|
||||
|
||||
Name: pbcli
|
||||
Version: 2.6.0
|
||||
Release: 1%?dist
|
||||
Summary: A PrivateBin commandline upload and download utility
|
||||
SourceLicense: Unlicense OR MIT
|
||||
License: (0BSD OR MIT OR Apache-2.0) AND Apache-2.0 AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR ISC OR MIT) AND (Apache-2.0 OR MIT) AND ((Apache-2.0 OR MIT) AND BSD-3-Clause) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND BSD-3-Clause AND ISC AND MIT AND (MIT OR Apache-2.0) AND (MIT OR Apache-2.0 OR Zlib) AND (MIT OR Zlib OR Apache-2.0) AND MPL-2.0 AND (Unlicense OR MIT) AND (Zlib OR Apache-2.0 OR MIT)
|
||||
URL: https://github.com/Mydayyy/pbcli
|
||||
Source0: %url/archive/refs/tags/v%version.tar.gz
|
||||
BuildRequires: cargo-rpm-macros >= 24
|
||||
BuildRequires: anda-srpm-macros mold
|
||||
BuildRequires: perl-IPC-Cmd perl-ExtUtils-MM-Utils perl-FindBin perl-lib perl-File-Compare perl-File-Copy
|
||||
BuildRequires: openssl-libs openssl-devel
|
||||
Packager: ShinyGil <rockgrub@protonmail.com>
|
||||
|
||||
%description %_description
|
||||
|
||||
%files
|
||||
%doc README.md
|
||||
%license LICENSE-MIT
|
||||
%license LICENSE-UNLICENSE
|
||||
%license LICENSE.dependencies
|
||||
%_bindir/pbcli
|
||||
%_libdir/libpbcli.so
|
||||
|
||||
%prep
|
||||
%autosetup -n pbcli-%version
|
||||
%cargo_prep_online
|
||||
|
||||
%build
|
||||
%cargo_build
|
||||
%{cargo_license_online} > LICENSE.dependencies
|
||||
|
||||
%install
|
||||
install -Dm755 target/rpm/pbcli %{buildroot}%{_bindir}/pbcli
|
||||
install -Dm755 target/rpm/libpbcli.so %{buildroot}%{_libdir}/libpbcli.so
|
||||
|
||||
%changelog
|
||||
* Sat Dec 21 2024 ShinyGil <rockgrub@protonmail.com>
|
||||
- Initial package
|
||||
@@ -0,0 +1 @@
|
||||
rpm.version(crates("pbcli"));
|
||||
Reference in New Issue
Block a user