Commit 62091c53 authored by Tomi Leppänen's avatar Tomi Leppänen

Merge branch 'jb24119' into 'master'

Add libiphb-doc subpackage. JB#24119

See merge request !2
parents ede77207 5426a424
......@@ -36,6 +36,15 @@ Requires: %{name} = %{version}-%{release}
Tests package to test IP Heartbeat functionality.
%package doc
Summary: Documentation for %{name}
Group: Documentation
Requires: %{name} = %{version}-%{release}
%description doc
%{summary}.
%prep
%setup -q -n %{name}-%{version}
......@@ -53,6 +62,10 @@ make %{?_smp_mflags}
rm -rf %{buildroot}
%make_install
mkdir -p %{buildroot}%{_docdir}/%{name}-%{version}
install -m0644 -t %{buildroot}%{_docdir}/%{name}-%{version} \
AUTHORS INSTALL README NEWS ChangeLog
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
......@@ -60,19 +73,18 @@ rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%{_libdir}/libiphb.so.*
%doc COPYING AUTHORS INSTALL README NEWS ChangeLog
%license COPYING
%files devel
%defattr(-,root,root,-)
%attr(644,root,root)%{_includedir}/iphbd/*
%{_libdir}/libiphb.so
%{_libdir}/pkgconfig/libiphb.pc
%doc COPYING
%files tests
%defattr(-,root,root,-)
/opt/tests/%{name}-tests/bin/hbtest
/opt/tests/%{name}-tests/bin/hbtest2
/opt/tests/%{name}-tests/bin/hbtest3
/opt/tests/%{name}-tests/tests.xml
%doc COPYING
/opt/tests/%{name}-tests
%files doc
%defattr(-,root,root,-)
%{_docdir}/%{name}-%{version}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment