diff options
author | Daniel P. Berrange <berrange@redhat.com> | 2015-03-06 12:25:25 +0000 |
---|---|---|
committer | Daniel P. Berrange <berrange@redhat.com> | 2015-03-06 12:25:41 +0000 |
commit | cd3f4256510df93fa2b352624eedf8e7825d6128 (patch) | |
tree | ec93d18226deab256733ce5a897d6994446529cb | |
parent | 903120d640b6bcf721d28bde7e4b07cedd2b2cf3 (diff) |
Add devel-doc sub-RPM
-rw-r--r-- | libvirt-designer.spec.in | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/libvirt-designer.spec.in b/libvirt-designer.spec.in index 5f1558f..4190134 100644 --- a/libvirt-designer.spec.in +++ b/libvirt-designer.spec.in @@ -2,10 +2,10 @@ %define with_introspection 0 -%if 0%{?fedora} >= 15 +%if 0%{?fedora} >= 18 %define with_introspection 1 %endif -%if 0%{?rhel} >= 6 +%if 0%{?rhel} >= 7 %define with_introspection 1 %endif %define with_vala %{with_introspection} @@ -29,6 +29,7 @@ BuildRequires: libosinfo-devel >= @LIBOSINFO_REQUIRED@ BuildRequires: vala-tools BuildRequires: libosinfo-vala >= @LIBOSINFO_REQUIRED@ %endif +BuildRequires: /usr/bin/pod2man %package libs Group: Development/Libraries @@ -40,6 +41,11 @@ Summary: Libvirt configuration designer development headers Requires: %{name}-libs = %{version}-%{release} Requires: libvirt-gconfig-devel >= @LIBVIRT_GCONFIG_REQUIRED@ +%package devel-doc +Group: Development/Libraries +Summary: Libvirt configuration designer development documentation +Requires: %{name}-devel = %{version}-%{release} + %if %{with_vala} %package vala Group: Development/Libraries @@ -60,6 +66,10 @@ libraries. This package provides the libvirt configuration designer development headers +%description devel-doc +This package provides the libvirt configuration designer development +documentation like API and exported symbols description. + %if %{with_vala} %description vala This package provides the libvirt configuration designer vala @@ -124,6 +134,8 @@ rm -rf $RPM_BUILD_ROOT %if %{with_introspection} %{_datadir}/gir-1.0/LibvirtDesigner-1.0.gir %endif + +%files devel-doc %{_datadir}/gtk-doc/html/libvirt-designer %changelog |