Author: qboosh Date: Thu Sep 29 19:23:08 2011 GMT Module: packages Tag: HEAD ---- Log message: - up to 2.2.6 (new sonames; uses cmake now, -static is gone)
---- Files affected: packages/openwsman: openwsman.spec (1.3 -> 1.4) ---- Diffs: ================================================================ Index: packages/openwsman/openwsman.spec diff -u packages/openwsman/openwsman.spec:1.3 packages/openwsman/openwsman.spec:1.4 --- packages/openwsman/openwsman.spec:1.3 Wed Sep 28 18:20:33 2011 +++ packages/openwsman/openwsman.spec Thu Sep 29 21:23:03 2011 @@ -2,26 +2,36 @@ # TODO: # - libs subpackage # - daemon init script +# - package perl and python +# - fix and package java and ruby # Summary: Implementation of the Web Services Management specification (WS-Management) Summary(pl.UTF-8): Implementacja specyfikacji Web Services Management (WS-Management) Name: openwsman -Version: 2.1.0 +Version: 2.2.6 Release: 0.1 License: BSD Group: Libraries Source0: http://downloads.sourceforge.net/openwsman/%{name}-%{version}.tar.bz2 -# Source0-md5: 25a135bea7c1653f66b2428c4b252d3a +# Source0-md5: 55b59e467630e00b958a0231942b686f +Patch0: %{name}-link.patch URL: http://www.openwsman.org/project/openwsman -BuildRequires: curl-devel +BuildRequires: cmake >= 2.4 +BuildRequires: curl-devel >= 7.12.0 BuildRequires: libstdc++-devel -BuildRequires: libxml2-devel +BuildRequires: libxml2-devel >= 2.0 BuildRequires: openssl-devel BuildRequires: pam-devel BuildRequires: pkgconfig +BuildRequires: rpmbuild(macros) >= 1.566 +BuildRequires: sblim-sfcc-devel BuildRequires: sed >= 4.0 +BuildRequires: swig >= 1.3.30 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) +# plugins use symbols from libraries, client libs have circular dependencies with libwsman +%define skip_post_check_so .*%{_libdir}/openwsman/.* libwsman_client.so.* libwsman_curl_client_transport.so.* + %description Openwsman is a project intended to provide an open-source implementation of the Web Services Management specification @@ -45,6 +55,7 @@ Summary(pl.UTF-8): Pliki nagłówkowe openwsman Group: Development/Libraries Requires: %{name} = %{version}-%{release} +Obsoletes: openwsman-static %description devel Header files for openwsman. @@ -52,32 +63,24 @@ %description devel -l pl.UTF-8 Pliki nagłówkowe openwsman. -%package static -Summary: Static openwsman libraries -Summary(pl.UTF-8): Statyczne biblioteki openwsman -Group: Development/Libraries -Requires: %{name}-devel = %{version}-%{release} - -%description static -Static openwsman libraries. - -%description static -l pl.UTF-8 -Statyczne biblioteki openwsman. - %prep %setup -q - -%{__sed} -i -e 's#-Werror##g' configure* *.m4 +%undos src/cpp/CMakeLists.txt +%patch0 -p1 %build -%configure -%{__make} +install -d build +cd build +%cmake .. \ + -DPACKAGE_ARCHITECTURE=%{_target_cpu} \ + -DBUILD_JAVA=NO \ + -DBUILD_RUBY=NO %install rm -rf $RPM_BUILD_ROOT -install -d $RPM_BUILD_ROOT%{_bindir} +install -d $RPM_BUILD_ROOT/var/lib/openwsman/subscriptions -%{__make} install \ +%{__make} -C build install \ DESTDIR=$RPM_BUILD_ROOT %clean @@ -90,29 +93,39 @@ %defattr(644,root,root,755) %doc AUTHORS ChangeLog README TODO %attr(755,root,root) %{_sbindir}/openwsmand -%attr(755,root,root) %{_libdir}/*.so.*.* -%attr(755,root,root) %ghost %{_libdir}/*.so.0 -%attr(755,root,root) %ghost %{_libdir}/*.so.1 +%attr(755,root,root) %{_libdir}/libwsman.so.*.*.* +%attr(755,root,root) %ghost %{_libdir}/libwsman.so.1 +%attr(755,root,root) %{_libdir}/libwsman_client.so.*.*.* +%attr(755,root,root) %ghost %{_libdir}/libwsman_client.so.1 +%attr(755,root,root) %{_libdir}/libwsman_clientpp.so.*.*.* +%attr(755,root,root) %ghost %{_libdir}/libwsman_clientpp.so.1 +%attr(755,root,root) %{_libdir}/libwsman_curl_client_transport.so.*.*.* +%attr(755,root,root) %ghost %{_libdir}/libwsman_curl_client_transport.so.1 +%attr(755,root,root) %{_libdir}/libwsman_server.so.*.*.* +%attr(755,root,root) %ghost %{_libdir}/libwsman_server.so.1 %dir %{_libdir}/openwsman %dir %{_libdir}/openwsman/authenticators -%attr(755,root,root) %{_libdir}/openwsman/authenticators/*.so* -%{_libdir}/openwsman/authenticators/*.la +%attr(755,root,root) %{_libdir}/openwsman/authenticators/libwsman_*.so* %dir %{_libdir}/openwsman/plugins -%attr(755,root,root) %{_libdir}/openwsman/plugins/*.so* -%{_libdir}/openwsman/plugins/*.la -%{_sysconfdir}/openwsman +%attr(755,root,root) %{_libdir}/openwsman/plugins/libwsman_*.so* +%dir %{_sysconfdir}/openwsman +%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/openwsman/openwsman.conf +%attr(754,root,root) %{_sysconfdir}/openwsman/owsmangencert.sh +%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/openwsman/ssleay.cnf +%config(noreplace) %verify(not md5 mtime size) /etc/pam.d/openwsman /var/lib/openwsman %files devel %defattr(644,root,root,755) -%attr(755,root,root) %{_libdir}/*.so +%attr(755,root,root) %{_libdir}/libwsman.so +%attr(755,root,root) %{_libdir}/libwsman_client.so +%attr(755,root,root) %{_libdir}/libwsman_clientpp.so +%attr(755,root,root) %{_libdir}/libwsman_curl_client_transport.so +%attr(755,root,root) %{_libdir}/libwsman_server.so %{_includedir}/openwsman -%{_libdir}/*.la -%{_pkgconfigdir}/*.pc - -%files static -%defattr(644,root,root,755) -%{_libdir}/*.a +%{_pkgconfigdir}/openwsman.pc +%{_pkgconfigdir}/openwsman++.pc +%{_pkgconfigdir}/openwsman-server.pc %define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) %changelog @@ -120,6 +133,9 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.4 2011/09/29 19:23:03 qboosh +- up to 2.2.6 (new sonames; uses cmake now, -static is gone) + Revision 1.3 2011/09/28 16:20:33 qboosh - pl ================================================================ ---- CVS-web: http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/openwsman/openwsman.spec?r1=1.3&r2=1.4&f=u _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
