From 22f29a441516f8bf483c2cbb92bc2b95b922eea5e84ff1abdc5f986172b29aa5 Mon Sep 17 00:00:00 2001 From: Arvin Schnell Date: Mon, 4 Dec 2017 16:23:38 +0000 Subject: [PATCH] - updated to latest repo version OBS-URL: https://build.opensuse.org/package/show/YaST:Head/libstorage-ng?expand=0&rev=92 --- libstorage-ng.spec | 32 +++++++++++++++++++++++--------- 1 file changed, 23 insertions(+), 9 deletions(-) diff --git a/libstorage-ng.spec b/libstorage-ng.spec index a96e368..1f392ea 100644 --- a/libstorage-ng.spec +++ b/libstorage-ng.spec @@ -94,7 +94,7 @@ Requires: s390-tools %description -n %{libname} This package contains libstorage-ng, a library for storage management. -%package -n libstorage-ng-devel +%package devel Summary: Header files and documentation for libstorage-ng Group: Development/Languages/C and C++ Requires: %{libname} = %{version} @@ -103,11 +103,11 @@ Requires: libstdc++-devel Requires: pkgconfig Requires: pkgconfig(libxml-2.0) -%description -n libstorage-ng-devel +%description devel This package contains header files and documentation for developing with libstorage-ng. -%package -n libstorage-ng-python +%package python Summary: Python bindings for libstorage-ng Group: System/Libraries Requires: %{libname} = %{version} @@ -115,7 +115,7 @@ Requires: %{libname} = %{version} %description python This package contains Python bindings for libstorage-ng. -%package -n libstorage-ng-ruby +%package ruby Summary: Ruby bindings for libstorage-ng Group: System/Libraries Requires: %{libname} = %{version} @@ -123,12 +123,21 @@ Requires: %{libname} = %{version} %description ruby This package contains Ruby bindings for libstorage-ng. -%package -n libstorage-ng-integration-tests +%package utils +Summary: Utils for libstorage-ng +Group: Development/Tools/Other +Recommends: graphviz +Recommends: ImageMagick + +%description utils +This package contains utils for libstorage-ng. + +%package integration-tests Summary: Integration tests for libstorage-ng Group: Development/Tools/Other Requires: libstorage-ng-python -%description -n libstorage-ng-integration-tests +%description integration-tests This package contains integration tests for libstorage-ng. %prep @@ -172,22 +181,27 @@ touch %{buildroot}/run/libstorage/lock %{_libdir}/libstorage-ng.so.* %ghost /run/libstorage -%files -n libstorage-ng-devel +%files devel %defattr(-,root,root) %{_libdir}/libstorage-ng.so %{_includedir}/storage %dir %{_docdir}/%{name}/ %doc %{_docdir}/%{name}/* -%files -n libstorage-ng-python +%files python %defattr(-,root,root) %{python_sitelib}/storage.py* %attr(755,root,root) %{python_sitearch}/_storage.so -%files -n libstorage-ng-ruby +%files ruby %defattr(-,root,root) %{rb_vendorarch}/storage.so +%files utils +%defattr(-,root,root) +%dir %{_libexecdir}/libstorage-ng +%{_libexecdir}/libstorage-ng/utils + %files integration-tests %defattr(-,root,root) %{python_sitelib}/storageitu.py*