|
|
|
@@ -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: 4%{?dist}
|
|
|
|
|
Version: 2.2.0
|
|
|
|
|
Release: 8%{?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,25 @@ fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Thu Oct 1 2009 Praveen K Paladugu <praveen_paladugu@dell.com> - 2.2.0-8
|
|
|
|
|
- Removed the past hard coding of ruby_libdir
|
|
|
|
|
* Thu Sep 24 2009 Praveen K Paladugu <praveen_paladugu@dell.com> - 2.2.0-7
|
|
|
|
|
- pywsman.py gets installed in python_sitelib - chaning back
|
|
|
|
|
* Thu Sep 24 2009 Praveen K Paladugu <praveen_paladugu@dell.com> - 2.2.0-6
|
|
|
|
|
- changing python_sitelib to python_sitearch
|
|
|
|
|
* Thu Sep 24 2009 Praveen K Paladugu <praveen_paladugu@dell.com> - 2.2.0-5
|
|
|
|
|
- making the python_sitelib and ruby_sitearch global
|
|
|
|
|
- test build
|
|
|
|
|
* Thu Sep 24 2009 Praveen K Paladugu <praveen_paladugu@dell.com> - 2.2.0-4
|
|
|
|
|
- *.rb files are hard coded to be installed in /usr/lib in 32/64-bit
|
|
|
|
|
* Thu Sep 24 2009 Praveen K Paladugu <praveen_paladugu@dell.com> - 2.2.0-3
|
|
|
|
|
- increased the release for re-tagging.
|
|
|
|
|
- one more try
|
|
|
|
|
* Thu Sep 24 2009 Praveen K Paladugu <praveen_paladugu@dell.com> - 2.2.0-2
|
|
|
|
|
- increased the release for re-tagging.
|
|
|
|
|
* Wed Sep 23 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
|
|
|
|
|
|
|
|
|
|