From da58e745fbecc9cd34270bae9d5f034ec5d9b4e6 Mon Sep 17 00:00:00 2001 From: Tomas Bzatek Date: Fri, 28 Mar 2014 17:20:24 +0100 Subject: devassistant: Add a subpackage to the spec file --- openlmi-providers.spec | 23 ++++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) (limited to 'openlmi-providers.spec') diff --git a/openlmi-providers.spec b/openlmi-providers.spec index a6ac551..1b5ea25 100644 --- a/openlmi-providers.spec +++ b/openlmi-providers.spec @@ -4,7 +4,7 @@ Name: openlmi-providers Version: 0.4.2 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Set of basic CIM providers %if 0%{?suse_version} @@ -446,6 +446,15 @@ BuildArch: noarch %description -n openlmi-journald-doc This package contains the documents for OpenLMI Journald provider. +%package -n openlmi-devassistant +Summary: OpenLMI provider templates for Developer Assistant +BuildArch: noarch +Requires: devassistant >= 0.8.0 +Requires: %{name}-devel%{?_isa} = %{providers_version_release} + +%description -n openlmi-devassistant +This package contains template files for Developer Assistant. + %prep %setup -q @@ -460,9 +469,9 @@ This package contains the documents for OpenLMI Journald provider. mkdir -p %{_target_platform} pushd %{_target_platform} %if 0%{?suse_version} -%{cmake} ../.. +%{cmake} ../.. -DWITH-DEVASSISTANT=ON %else -%{cmake} .. +%{cmake} .. -DWITH-DEVASSISTANT=ON %endif popd @@ -728,6 +737,11 @@ cp -pr tools/openlmitheme/* $RPM_BUILD_ROOT/%{python_sitelib}/sphinx/themes/open %files -n openlmi-journald-doc %{_docdir}/%{name}/journald/ +%files -n openlmi-devassistant +%dir %{_datadir}/devassistant/files/crt/python/openlmi/ +%dir %{_datadir}/devassistant/files/crt/c/openlmi/ +%{_datadir}/devassistant/ + %pre # If upgrading, deregister old version if [ "$1" -gt 1 ]; then @@ -1044,6 +1058,9 @@ if [ "$1" -eq 0 ]; then fi >> %logfile 2>&1 %changelog +* Mon Feb 24 2014 Tomas Bzatek 0.4.2-3 +- Added openlmi-devassistant subpackage + * Wed Feb 12 2014 Peter Schiffer 0.4.2-2 - Added dependency on virt-what to hardware subpackage -- cgit