Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37600011
en ru br
ALT Linux repos
S:1.4.4-alt1

Group :: Other
RPM: libpsrp

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define targetdir %_libdir/powershell/runtimes/%_dotnet_rid/native

%define post -0
# nuget psrp module
Name:  libpsrp
Version:  1.4.4
Release:  alt1

Summary:  PowerShell WS-Man PSRP Client for Linux
License:  MIT
Group:    Other
Url:      https://github.com/PowerShell/psl-omi-provider

Packager: Vitaly Lipatov <lav at altlinux.ru>

ExclusiveArch: aarch64 x86_64

# NSource-git: https://github.com/PowerShell/psl-omi-provider.git

# Source-url: https://github.com/PowerShell/psl-omi-provider/archive/v%version%post.tar.gz
Source:  %name-%version.tar
Source1: .gear/CMakeLists.txt

BuildRequires(pre): rpm-macros-cmake rpm-macros-dotnet

BuildRequires: cmake gcc-c++
BuildRequires: libssl-devel libpam0-devel
BuildRequires: libomi-devel >= 1.6.2 libomi-internal-devel

%description
PSRP communication is tunneled through the Open Management Infrastructure (OMI) using this OMI provider.

%prep
%setup

%build
cp %SOURCE1 src/
cd src
%cmake_insource -DULINUX_SSL=0
%make_build
#cd pal/build/; ./configure --enable-system-build
#cd installbuilder/; make

%install
cd src
mkdir -p %buildroot%targetdir/
cp libpsrpclient.so %buildroot%targetdir/

%files
%targetdir/libpsrpclient.so

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin