|
|
|
@@ -13,16 +13,17 @@ BuildRequires: libcurl-devel libxml2-devel pam-devel sblim-sfcc-devel
|
|
|
|
|
BuildRequires: python python-devel ruby ruby-devel rubygems-devel perl
|
|
|
|
|
BuildRequires: python python-devel perl
|
|
|
|
|
BuildRequires: perl-devel pkgconfig openssl-devel
|
|
|
|
|
#BuildRequires: java-1.8.0-openjdk-devel
|
|
|
|
|
BuildRequires: cmake
|
|
|
|
|
BuildRequires: systemd-units
|
|
|
|
|
Version: 2.4.6
|
|
|
|
|
Release: 3%{?dist}
|
|
|
|
|
Version: 2.6.0
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Url: http://www.openwsman.org/
|
|
|
|
|
License: BSD
|
|
|
|
|
Group: Applications/System
|
|
|
|
|
Summary: Open source Implementation of WS-Management
|
|
|
|
|
Source: https://github.com/Openwsman/openwsman/archive/v%{version}.tar.gz
|
|
|
|
|
# You can get this tarball here:
|
|
|
|
|
# https://github.com/Openwsman/openwsman/archive/v%{version}.tar.gz
|
|
|
|
|
Source: %{name}-%{version}.tar.gz
|
|
|
|
|
# help2man generated manpage for openwsmand binary
|
|
|
|
|
Source1: openwsmand.8.gz
|
|
|
|
|
# service file for systemd
|
|
|
|
@@ -31,6 +32,7 @@ Source2: openwsmand.service
|
|
|
|
|
Source3: owsmantestcert.sh
|
|
|
|
|
Patch1: openwsman-2.2.7-libssl.patch
|
|
|
|
|
Patch2: openwsman-2.4.0-pamsetup.patch
|
|
|
|
|
Patch3: openwsman-2.4.12-ruby-binding-build.patch
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Openwsman is a project intended to provide an open-source
|
|
|
|
@@ -135,15 +137,6 @@ BuildArch: noarch
|
|
|
|
|
Documentation for rubygem-%{gem_name}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#%package java
|
|
|
|
|
#Requires: java
|
|
|
|
|
#Requires: libwsman1 = %{version}
|
|
|
|
|
#Summary: Java bindings for openwsman client API
|
|
|
|
|
#Group: Development/Libraries
|
|
|
|
|
|
|
|
|
|
#%description java
|
|
|
|
|
#This package provides Java bindings to access the openwsman client API.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package perl
|
|
|
|
@@ -163,10 +156,14 @@ This package provides Perl bindings to access the openwsman client API.
|
|
|
|
|
%setup -q
|
|
|
|
|
%patch1 -p1 -b .libssl
|
|
|
|
|
%patch2 -p1 -b .pamsetup
|
|
|
|
|
%patch3 -p1 -b .ruby-binding-build
|
|
|
|
|
|
|
|
|
|
# Fix wrong symlinks (fixed upstream, will be in 2.4.1)
|
|
|
|
|
ln -sf %{_bindir}/rdoc bindings/ruby/rdoc1_9.rb
|
|
|
|
|
ln -sf %{_bindir}/rdoc bindings/ruby/rdoc2_0.rb
|
|
|
|
|
# support ruby 2.2
|
|
|
|
|
pushd bindings/ruby
|
|
|
|
|
cat rdoc2.1 | sed -e 's|rdoc2_1|rdoc2_2|' > rdoc2.2
|
|
|
|
|
chmod 0755 rdoc2.2
|
|
|
|
|
ln -sf %{_bindir}/rdoc rdoc2_2.rb
|
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
# Removing executable permissions on .c and .h files to fix rpmlint warnings.
|
|
|
|
@@ -238,7 +235,6 @@ rm -rf %{buildroot}%{gem_instdir}/ext
|
|
|
|
|
mkdir -p %{buildroot}%{gem_extdir_mri}
|
|
|
|
|
cp -a ./build%{gem_extdir_mri}/{gem.build_complete,*.so} %{buildroot}%{gem_extdir_mri}/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%post -n libwsman1 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
%postun -n libwsman1 -p /sbin/ldconfig
|
|
|
|
@@ -289,11 +285,6 @@ rm -f /var/log/wsmand.log
|
|
|
|
|
%files -n rubygem-%{gem_name}-doc
|
|
|
|
|
%doc %{gem_docdir}
|
|
|
|
|
|
|
|
|
|
#%files java
|
|
|
|
|
#%defattr(-,root,root)
|
|
|
|
|
#%{_javadir}/*jar
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files perl
|
|
|
|
|
%{perl_vendorarch}/openwsman.so
|
|
|
|
|
%{perl_vendorlib}/openwsman.pm
|
|
|
|
@@ -328,6 +319,34 @@ rm -f /var/log/wsmand.log
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Jan 25 2016 Vitezslav Crhonek <vcrhonek@redhat.com> - 2.6.0-2
|
|
|
|
|
- SSL rebuild
|
|
|
|
|
Resolves: #1301062
|
|
|
|
|
|
|
|
|
|
* Tue Jun 16 2015 Vitezslav Crhonek <vcrhonek@redhat.com> - 2.6.0-1
|
|
|
|
|
- Update to openwsman-2.6.0
|
|
|
|
|
|
|
|
|
|
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 2.4.15-2
|
|
|
|
|
- Perl 5.22 rebuild
|
|
|
|
|
|
|
|
|
|
* Thu May 21 2015 Vitezslav Crhonek <vcrhonek@redhat.com> - 2.4.15-1
|
|
|
|
|
- Update to openwsman-2.4.15
|
|
|
|
|
|
|
|
|
|
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 2.4.14-2
|
|
|
|
|
- Rebuilt for GCC 5 C++11 ABI change
|
|
|
|
|
|
|
|
|
|
* Thu Feb 26 2015 Vitezslav Crhonek <vcrhonek@redhat.com> - 2.4.14-1
|
|
|
|
|
- Update to openwsman-2.4.14
|
|
|
|
|
|
|
|
|
|
* Mon Feb 09 2015 Vitezslav Crhonek <vcrhonek@redhat.com> - 2.4.12-1
|
|
|
|
|
- Update to openwsman-2.4.12
|
|
|
|
|
|
|
|
|
|
* Sat Jan 17 2015 Mamoru TASAKA <mtasaka@fedoraproject.org> - 2.4.6-5
|
|
|
|
|
- Rebuild for https://fedoraproject.org/wiki/Changes/Ruby_2.2
|
|
|
|
|
|
|
|
|
|
* Tue Aug 26 2014 Jitka Plesnikova <jplesnik@redhat.com> - 2.4.6-4
|
|
|
|
|
- Perl 5.20 rebuild
|
|
|
|
|
|
|
|
|
|
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.6-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|