Rpm building
This commit is contained in:
28
package/rpm/veilid-cli/veilid-cli.spec
Normal file
28
package/rpm/veilid-cli/veilid-cli.spec
Normal file
@@ -0,0 +1,28 @@
|
||||
Summary: Veilid Server Command Line Interface
|
||||
Name: veilid-cli
|
||||
Version: $CARGO_VERSION
|
||||
Release: 1
|
||||
URL: https://veilid.com
|
||||
Group: System
|
||||
License: MPL 2.0
|
||||
Packager: Veilid Foundation, Inc.
|
||||
Requires: glibc-common >= 2.23
|
||||
BuildRoot: /rpm-work-dir/veilid-cli
|
||||
BuildArch: $ARCH
|
||||
|
||||
%description
|
||||
Veilid Server Command Line Interface
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}/usr/bin/
|
||||
cp /veilid/target/$CARGO_ARCH/release/veilid-cli %{buildroot}/usr/bin/veilid-cli
|
||||
|
||||
%files
|
||||
/usr/bin/veilid-cli
|
||||
|
||||
%post
|
||||
chmod 755 /usr/bin/veilid-cli
|
||||
|
||||
%changelog
|
||||
* Sun Jul 2 2023 TC <tc@veilid.org>
|
||||
- experimental RPM building
|
Reference in New Issue
Block a user