0.1.0-alt1
- initial build.
This commit is contained in:
parent
65c34958ec
commit
ca809d3ff7
80
.gear/proxmox-perl-rs.spec
Normal file
80
.gear/proxmox-perl-rs.spec
Normal file
@ -0,0 +1,80 @@
|
||||
%global _unpackaged_files_terminate_build 1
|
||||
|
||||
Name: proxmox-perl-rs
|
||||
Version: 0.1.0
|
||||
Release: alt1
|
||||
Summary: PVE and PMG common parts which have been ported to Rust
|
||||
License: AGPL-3.0+
|
||||
Group: Development/Other
|
||||
URL: https://www.proxmox.com
|
||||
Vcs: git://git.proxmox.com/git/proxmox-perl-rs.git
|
||||
Source: %name-%version.tar
|
||||
Patch: %name-%version.patch
|
||||
|
||||
ExclusiveArch: x86_64 aarch64
|
||||
|
||||
BuildRequires(pre): rpm-macros-rust
|
||||
BuildRequires: rpm-build-rust clang-devel perl-devel
|
||||
BuildRequires: libssl-devel libacl-devel libuuid-devel
|
||||
BuildRequires: /proc
|
||||
|
||||
%description
|
||||
Contains the perl side of modules provided by the libraries of both
|
||||
libpve-rs-perl and libpmg-rs-perl, loading whichever is available.
|
||||
|
||||
%package -n libproxmox-rs-perl
|
||||
Summary: PVE/PMG common parts which have been ported to Rust
|
||||
Version: 0.1.0
|
||||
Group: Development/Other
|
||||
Provides: proxmox-perl-rs = %EVR
|
||||
Provides: proxmox-rs-perl = %EVR
|
||||
|
||||
%description -n libproxmox-rs-perl
|
||||
%summary
|
||||
|
||||
%package -n libpve-rs-perl
|
||||
Summary: PVE parts which have been ported to Rust
|
||||
Version: 0.5.1
|
||||
Group: Development/Other
|
||||
Provides: pve-perl-rs = %EVR
|
||||
Provides: pve-rs-perl = %EVR
|
||||
|
||||
%description -n libpve-rs-perl
|
||||
%summary
|
||||
|
||||
%package -n libpmg-rs-perl
|
||||
Summary: Components of Proxmox Mail Gateway which have been ported to Rust
|
||||
Version: 0.3.2
|
||||
Group: Development/Other
|
||||
Provides: pmg-perl-rs = %EVR
|
||||
Provides: pmg-rs-perl = %EVR
|
||||
|
||||
%description -n libpmg-rs-perl
|
||||
%summary
|
||||
|
||||
%prep
|
||||
%setup
|
||||
%patch -p1
|
||||
|
||||
%build
|
||||
export BUILD_MODE=release
|
||||
export PERLMOD_WRITE_PACKAGES=1
|
||||
#%make pve
|
||||
#%make pmg
|
||||
#%make build
|
||||
%make pve
|
||||
|
||||
%install
|
||||
install -pD -m0644 target/release/libpve_rs.so %buildroot%perl_vendor_autolib/libpve_rs.so
|
||||
mkdir -p %buildroot%perl_vendor_privlib/PVE/RS
|
||||
install -m0644 PVE/RS/*.pm %buildroot%perl_vendor_privlib/PVE/RS/
|
||||
|
||||
%files -n libpve-rs-perl
|
||||
%perl_vendor_autolib/libpve_rs.so
|
||||
%dir %perl_vendor_privlib/PVE/RS
|
||||
%perl_vendor_privlib/PVE/RS/*.pm
|
||||
|
||||
%changelog
|
||||
* Sun Mar 06 2022 Alexey Shabalin <shaba@altlinux.org> 0.1.0-alt1
|
||||
- initial build.
|
||||
|
3
.gear/rules
Normal file
3
.gear/rules
Normal file
@ -0,0 +1,3 @@
|
||||
spec: .gear/proxmox-perl-rs.spec
|
||||
tar: upstream:.
|
||||
diff: upstream:. . name=@name@-@version@.patch
|
1
.gear/tags/list
Normal file
1
.gear/tags/list
Normal file
@ -0,0 +1 @@
|
||||
8d4f76e3b0788ec94feefd55512d0dde9726afb8 upstream
|
Loading…
Reference in New Issue
Block a user