generate man pages

f41
David Tardon 11 years ago
parent 2242c39e02
commit 57da19351d

@ -2,7 +2,7 @@
Name: libvisio Name: libvisio
Version: 0.0.31 Version: 0.0.31
Release: 2%{?dist} Release: 3%{?dist}
Summary: A library providing ability to interpret and import visio diagrams Summary: A library providing ability to interpret and import visio diagrams
Group: System Environment/Libraries Group: System Environment/Libraries
@ -13,6 +13,7 @@ Source: http://dev-www.libreoffice.org/src/%{name}-%{version}.tar.xz
BuildRequires: boost-devel BuildRequires: boost-devel
BuildRequires: doxygen BuildRequires: doxygen
BuildRequires: gperf BuildRequires: gperf
BuildRequires: help2man
BuildRequires: perl BuildRequires: perl
BuildRequires: pkgconfig(icu-i18n) BuildRequires: pkgconfig(icu-i18n)
BuildRequires: pkgconfig(libwpd-0.9) BuildRequires: pkgconfig(libwpd-0.9)
@ -62,12 +63,23 @@ sed -i \
libtool libtool
make %{?_smp_mflags} V=1 make %{?_smp_mflags} V=1
export LD_LIBRARY_PATH=`pwd`/src/lib/.libs${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
help2man -N -n 'debug the conversion library' -o vsd2raw.1 ./src/conv/raw/.libs/vsd2raw
help2man -N -n 'convert Visio document into SVG' -o vsd2xhtml.1 ./src/conv/svg/.libs/vsd2xhtml
help2man -N -n 'convert Visio document into plain text' -o vsd2text.1 ./src/conv/text/.libs/vsd2text
help2man -N -n 'debug the conversion library' -o vss2raw.1 ./src/conv/raw/.libs/vss2raw
help2man -N -n 'convert Visio stencil into SVG' -o vss2xhtml.1 ./src/conv/svg/.libs/vss2xhtml
help2man -N -n 'convert Visio stencil into plain text' -o vss2text.1 ./src/conv/text/.libs/vss2text
%install %install
make install DESTDIR=%{buildroot} make install DESTDIR=%{buildroot}
rm -f %{buildroot}/%{_libdir}/*.la rm -f %{buildroot}/%{_libdir}/*.la
# rhbz#1001240 we install API docs directly from build # rhbz#1001240 we install API docs directly from build
rm -rf %{buildroot}/%{_docdir}/%{name} rm -rf %{buildroot}/%{_docdir}/%{name}
install -m 0755 -d %{buildroot}/%{_mandir}/man1
install -m 0644 vsd2*.1 vss2*.1 %{buildroot}/%{_mandir}/man1
%post -p /sbin/ldconfig %post -p /sbin/ldconfig
%postun -p /sbin/ldconfig %postun -p /sbin/ldconfig
@ -92,8 +104,17 @@ rm -rf %{buildroot}/%{_docdir}/%{name}
%{_bindir}/vss2raw %{_bindir}/vss2raw
%{_bindir}/vss2text %{_bindir}/vss2text
%{_bindir}/vss2xhtml %{_bindir}/vss2xhtml
%{_mandir}/man1/vsd2raw.1*
%{_mandir}/man1/vsd2text.1*
%{_mandir}/man1/vsd2xhtml.1*
%{_mandir}/man1/vss2raw.1*
%{_mandir}/man1/vss2text.1*
%{_mandir}/man1/vss2xhtml.1*
%changelog %changelog
* Wed Apr 09 2014 David Tardon <dtardon@redhat.com> - 0.0.31-3
- generate man pages
* Wed Feb 12 2014 Rex Dieter <rdieter@fedoraproject.org> 0.0.31-2 * Wed Feb 12 2014 Rex Dieter <rdieter@fedoraproject.org> 0.0.31-2
- rebuild (libicu) - rebuild (libicu)

Loading…
Cancel
Save