|
|
|
@@ -4,23 +4,22 @@
|
|
|
|
|
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Name: openwsman
|
|
|
|
|
BuildRequires: swig
|
|
|
|
|
BuildRequires: libcurl-devel libxml2-devel pam-devel sblim-sfcc-devel
|
|
|
|
|
BuildRequires: python python-devel ruby ruby-devel rubygem(rdoc) perl
|
|
|
|
|
BuildRequires: python python-devel perl
|
|
|
|
|
BuildRequires: perl-devel pkgconfig openssl-devel
|
|
|
|
|
#BuildRequires: java-1.8.0-openjdk-devel
|
|
|
|
|
#BuildRequires: java-1.8.0-openjdk-devel
|
|
|
|
|
BuildRequires: cmake
|
|
|
|
|
BuildRequires: systemd-units
|
|
|
|
|
Version: 2.3.6
|
|
|
|
|
Release: 6%{?dist}
|
|
|
|
|
Version: 2.4.3
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Url: http://www.openwsman.org/
|
|
|
|
|
License: BSD
|
|
|
|
|
Group: Applications/System
|
|
|
|
|
Summary: Open source Implementation of WS-Management
|
|
|
|
|
Source: http://downloads.sourceforge.net/project/openwsman/%{name}/%{version}/%{name}-%{version}.tar.bz2
|
|
|
|
|
Source: https://github.com/Openwsman/openwsman/archive/v%{version}.tar.gz
|
|
|
|
|
# help2man generated manpage for openwsmand binary
|
|
|
|
|
Source1: openwsmand.8.gz
|
|
|
|
|
# service file for systemd
|
|
|
|
@@ -28,6 +27,7 @@ Source2: openwsmand.service
|
|
|
|
|
# script for testing presence of the certificates in ExecStartPre
|
|
|
|
|
Source3: owsmantestcert.sh
|
|
|
|
|
Patch1: openwsman-2.2.7-libssl.patch
|
|
|
|
|
Patch2: openwsman-2.4.0-pamsetup.patch
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Openwsman is a project intended to provide an open-source
|
|
|
|
@@ -45,8 +45,8 @@ all system management aspects.
|
|
|
|
|
License: BSD
|
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
|
Summary: Open source Implementation of WS-Management
|
|
|
|
|
Provides: %{name} = %{version}
|
|
|
|
|
Obsoletes: %{name} < %{version}
|
|
|
|
|
Provides: %{name} = %{version}-%{release}
|
|
|
|
|
Obsoletes: %{name} < %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description -n libwsman1
|
|
|
|
|
Openwsman library for packages dependent on openwsman
|
|
|
|
@@ -58,11 +58,11 @@ Openwsman library for packages dependent on openwsman
|
|
|
|
|
License: BSD
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
Summary: Open source Implementation of WS-Management
|
|
|
|
|
Provides: %{name}-devel = %{version}
|
|
|
|
|
Obsoletes: %{name}-devel < %{version}
|
|
|
|
|
Requires: libwsman1 = %{version}
|
|
|
|
|
Requires: %{name}-server = %{version}
|
|
|
|
|
Requires: %{name}-client = %{version}
|
|
|
|
|
Provides: %{name}-devel = %{version}-%{release}
|
|
|
|
|
Obsoletes: %{name}-devel < %{version}-%{release}
|
|
|
|
|
Requires: libwsman1 = %{version}-%{release}
|
|
|
|
|
Requires: %{name}-server = %{version}-%{release}
|
|
|
|
|
Requires: %{name}-client = %{version}-%{release}
|
|
|
|
|
Requires: sblim-sfcc-devel libxml2-devel pam-devel
|
|
|
|
|
Requires: libcurl-devel
|
|
|
|
|
|
|
|
|
@@ -90,6 +90,7 @@ Requires(post): chkconfig
|
|
|
|
|
Requires(preun): chkconfig
|
|
|
|
|
Requires(postun): initscripts
|
|
|
|
|
Summary: Openwsman Server and service libraries
|
|
|
|
|
Requires: libwsman1 = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description server
|
|
|
|
|
Openwsman Server and service libraries
|
|
|
|
@@ -102,6 +103,7 @@ License: BSD
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
Summary: Python bindings for openwsman client API
|
|
|
|
|
Requires: python
|
|
|
|
|
Requires: libwsman1 = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description python
|
|
|
|
|
This package provides Python bindings to access the openwsman client
|
|
|
|
@@ -116,25 +118,28 @@ Group: Development/Libraries
|
|
|
|
|
Requires: ruby
|
|
|
|
|
Requires: ruby(release)
|
|
|
|
|
Summary: Ruby bindings for openwsman client API
|
|
|
|
|
Requires: libwsman1 = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description ruby
|
|
|
|
|
This package provides Ruby bindings to access the openwsman client API.
|
|
|
|
|
|
|
|
|
|
#%package java
|
|
|
|
|
#Requires: java
|
|
|
|
|
#Requires: libwsman1 = %{version}
|
|
|
|
|
#Summary: Java bindings for openwsman client API
|
|
|
|
|
#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
|
|
|
|
|
License: BSD
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
|
Summary: Perl bindings for openwsman client API
|
|
|
|
|
Requires: libwsman1 = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description perl
|
|
|
|
|
This package provides Perl bindings to access the openwsman client API.
|
|
|
|
@@ -145,6 +150,11 @@ This package provides Perl bindings to access the openwsman client API.
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q
|
|
|
|
|
%patch1 -p1 -b .libssl
|
|
|
|
|
%patch2 -p1 -b .pamsetup
|
|
|
|
|
|
|
|
|
|
# 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
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
# Removing executable permissions on .c and .h files to fix rpmlint warnings.
|
|
|
|
@@ -155,6 +165,8 @@ mkdir build
|
|
|
|
|
|
|
|
|
|
export RPM_OPT_FLAGS="$RPM_OPT_FLAGS -DFEDORA -DNO_SSL_CALLBACK"
|
|
|
|
|
export SSL_LIB=`readlink %{_libdir}/libssl.so`
|
|
|
|
|
export CFLAGS="-D_GNU_SOURCE -fPIE -DPIE"
|
|
|
|
|
export LDFLAGS="$LDFLAGS -Wl,-z,now -pie"
|
|
|
|
|
cd build
|
|
|
|
|
cmake \
|
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
@@ -239,11 +251,11 @@ rm -f /var/log/wsmand.log
|
|
|
|
|
%{ruby_vendorlibdir}/openwsman/*.rb
|
|
|
|
|
%doc AUTHORS COPYING ChangeLog README.md
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#%files java
|
|
|
|
|
#%defattr(-,root,root)
|
|
|
|
|
#%{_javadir}/*jar
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files perl
|
|
|
|
|
%{perl_vendorarch}/openwsman.so
|
|
|
|
|
%{perl_vendorlib}/openwsman.pm
|
|
|
|
@@ -278,15 +290,33 @@ rm -f /var/log/wsmand.log
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Thu Jan 23 2014 Vitezslav Crhonek <vcrhonek@redhat.com> - 2.4.3-1
|
|
|
|
|
- Update to openwsman-2.4.3
|
|
|
|
|
|
|
|
|
|
* Tue Jan 07 2014 Vitezslav Crhonek <vcrhonek@redhat.com> - 2.4.0-3
|
|
|
|
|
- Start the service using SSL by default
|
|
|
|
|
|
|
|
|
|
* Mon Sep 30 2013 Vitezslav Crhonek <vcrhonek@redhat.com> - 2.4.0-2
|
|
|
|
|
- Build with full relro
|
|
|
|
|
- Fix provides/requires
|
|
|
|
|
- Fix pam.d config (patch by Ales Ledvinka)
|
|
|
|
|
Resolves: #1013018
|
|
|
|
|
|
|
|
|
|
* Tue Sep 17 2013 Vitezslav Crhonek <vcrhonek@redhat.com> - 2.4.0-1
|
|
|
|
|
- Update to openwsman-2.4.0
|
|
|
|
|
- Fix bogus date in %%changelog
|
|
|
|
|
|
|
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.6-8
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 2.3.6-7
|
|
|
|
|
- Perl 5.18 rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Mar 19 2013 Vít Ondruch <vondruch@redhat.com> - 2.3.6-6
|
|
|
|
|
- Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0
|
|
|
|
|
|
|
|
|
|
* Mon Mar 18 2013 Praveen K Paladugu <praveen_paladugu@dell.com>-2.3.6-5
|
|
|
|
|
- Disabling the java binding for now.
|
|
|
|
|
|
|
|
|
|
* Fri Mar 15 2013 Praveen K Paladugu <praveen_paladugu@dell.com>-2.3.6-4
|
|
|
|
|
- Enabled java bindings in the build
|
|
|
|
|
- Removed versioned dep on ruby
|
|
|
|
|
* Mon Mar 18 2013 Praveen K Paladugu <praveen_paladugu@dell.com> - 2.3.6-4
|
|
|
|
|
- Updated the dependency for ruby bindings and introduced the java bindings.
|
|
|
|
|
|
|
|
|
|
* Wed Mar 13 2013 Peter Robinson <pbrobinson@fedoraproject.org> 2.3.6-3
|
|
|
|
|
- rebuild for ruby 2
|
|
|
|
@@ -378,7 +408,7 @@ rm -f /var/log/wsmand.log
|
|
|
|
|
* Tue Jun 01 2010 Marcela Maslanova <mmaslano@redhat.com> - 2.2.3-4
|
|
|
|
|
- Mass rebuild with perl-5.12.0
|
|
|
|
|
|
|
|
|
|
* Tue Apr 22 2010 Praveen K Paladugu <praveen_paladugu@dell.com> - 2.2.3-3
|
|
|
|
|
* Thu Apr 22 2010 Praveen K Paladugu <praveen_paladugu@dell.com> - 2.2.3-3
|
|
|
|
|
- authors.patch: Moved all the AUTHORS info to AUTHORS file.
|
|
|
|
|
- Corrected the Source tag.
|
|
|
|
|
- Corrected the package dependencies to break cyclic dependencies.
|
|
|
|
|