|
|
|
@@ -1,9 +1,12 @@
|
|
|
|
|
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
|
|
|
|
%{!?ruby_sitearch: %define ruby_sitearch %(ruby -rrbconfig -e 'puts Config::CONFIG["sitearchdir"] ')}
|
|
|
|
|
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
|
|
|
|
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
|
|
|
|
%{!?ruby_sitearch: %global ruby_sitearch %(ruby -rrbconfig -e 'puts Config::CONFIG["sitearchdir"] ')}
|
|
|
|
|
%define ruby_libdir %(ruby -rrbconfig -e 'puts Config::CONFIG["sitelibdir"]')
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Name: openwsman
|
|
|
|
|
Version: 2.1.0
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Version: 2.2.0
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
License: BSD
|
|
|
|
|
Url: http://www.openwsman.org/
|
|
|
|
|
Source: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
|
|
|
|
@@ -63,6 +66,7 @@ chmod a-x include/*.[ch]
|
|
|
|
|
# disable eventing, as Fedora libcurl isn't linked against openssl
|
|
|
|
|
# disable tests in 2.1.0, http://www.openwsman.org/bug/263
|
|
|
|
|
%configure --with-examples=yes --with-tests=no --enable-python=yes --enable-ruby=yes --enable-eventing=no --disable-more-warnings
|
|
|
|
|
echo %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")
|
|
|
|
|
make %{?_smp_flags}
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
@@ -95,6 +99,8 @@ rm -rf %{buildroot}
|
|
|
|
|
%dir /etc/openwsman
|
|
|
|
|
%config(noreplace) /etc/openwsman/openwsman.conf
|
|
|
|
|
%config(noreplace) /etc/openwsman/ssleay.cnf
|
|
|
|
|
%{ruby_libdir}/openwsman
|
|
|
|
|
%config(noreplace) %{_sysconfdir}/pam.d/openwsman
|
|
|
|
|
%doc COPYING README
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
@@ -109,7 +115,7 @@ rm -rf %{buildroot}
|
|
|
|
|
%files python
|
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
%{python_sitelib}/pywsman.py
|
|
|
|
|
%{python_sitelib}/*.so
|
|
|
|
|
%{python_sitearch}/*.so
|
|
|
|
|
%doc COPYING
|
|
|
|
|
|
|
|
|
|
%files -n ruby-%{name}
|
|
|
|
@@ -135,6 +141,20 @@ fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Thu Oct 1 2009 Praveen K Paladugu <praveen_paladugu@dell.com> - 2.2.0-2
|
|
|
|
|
- Removed the past hard coding of ruby_libdir
|
|
|
|
|
* Wed Sep 24 2009 Praveen K Paladugu <praveen_paladugu@dell.com> - 2.2.0-1
|
|
|
|
|
- Added the new 2.2.0 sources.
|
|
|
|
|
- Changed the release and version numbers.
|
|
|
|
|
* Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 2.1.0-4
|
|
|
|
|
- rebuilt with new openssl
|
|
|
|
|
|
|
|
|
|
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.0-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.0-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Sep 22 2008 Matt Domsch <Matt_Domsch@dell.com> - 2.1.0-1
|
|
|
|
|
- update to 2.1.0, resolves security issues
|
|
|
|
|
|
|
|
|
|