create and install API docs
This commit is contained in:
parent
76d56ae9b7
commit
aaec3a57af
17
libwpd.spec
17
libwpd.spec
@ -33,11 +33,19 @@ Group: Development/Libraries
|
||||
%description devel
|
||||
Includes and definitions for developing with libwpd.
|
||||
|
||||
%package doc
|
||||
Summary: Documentation of %{name} API
|
||||
Group: Documentation
|
||||
BuildArch: noarch
|
||||
|
||||
%description doc
|
||||
The %{name}-doc package contains API documentation for %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%configure --without-docs --disable-static --disable-werror
|
||||
%configure --disable-static --disable-werror
|
||||
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
||||
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
||||
make %{?_smp_mflags} V=1
|
||||
@ -71,6 +79,13 @@ LD_LIBRARY_PATH=../lib/.libs make check
|
||||
%{_libdir}/pkgconfig/%{streamname}-%{apiversion}.pc
|
||||
%{_includedir}/%{name}-%{apiversion}
|
||||
|
||||
%files doc
|
||||
%doc COPYING.LGPL COPYING.MPL
|
||||
%docdir %{_defaultdocdir}/%{name}
|
||||
%doc %{_defaultdocdir}/%{name}/html
|
||||
%doc %{_defaultdocdir}/%{name}/%{name}.dia
|
||||
%doc %{_defaultdocdir}/%{name}/%{name}.png
|
||||
|
||||
%changelog
|
||||
* Mon Aug 19 2013 David Tardon <dtardon@redhat.com> - 0.9.9-1
|
||||
- new release
|
||||
|
Loading…
Reference in New Issue
Block a user