generate man pages
This commit is contained in:
parent
9415efaef0
commit
cc9a17a725
22
libcdr.spec
22
libcdr.spec
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Name: libcdr
|
Name: libcdr
|
||||||
Version: 0.0.15
|
Version: 0.0.15
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: A library providing ability to interpret and import Corel Draw drawings
|
Summary: A library providing ability to interpret and import Corel Draw drawings
|
||||||
|
|
||||||
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: help2man
|
||||||
BuildRequires: pkgconfig(icu-i18n)
|
BuildRequires: pkgconfig(icu-i18n)
|
||||||
BuildRequires: pkgconfig(lcms2)
|
BuildRequires: pkgconfig(lcms2)
|
||||||
BuildRequires: pkgconfig(libwpd-0.9)
|
BuildRequires: pkgconfig(libwpd-0.9)
|
||||||
@ -63,6 +64,13 @@ 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 cdr2raw.1 ./src/conv/raw/.libs/cdr2raw
|
||||||
|
help2man -N -n 'convert CorelDRAW document into HTML' -o cdr2xhtml.1 ./src/conv/svg/.libs/cdr2xhtml
|
||||||
|
help2man -N -n 'convert CorelDRAW document into plain text' -o cdr2text.1 ./src/conv/text/.libs/cdr2text
|
||||||
|
help2man -N -n 'debug the conversion library' -o cmx2raw.1 ./src/conv/raw/.libs/cmx2raw
|
||||||
|
help2man -N -n 'convert Corel Presentation Exchange file into HTML' -o cmx2xhtml.1 ./src/conv/svg/.libs/cmx2xhtml
|
||||||
|
help2man -N -n 'convert Corel Presentation Exchange file into plain text' -o cmx2text.1 ./src/conv/text/.libs/cmx2text
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make install DESTDIR=%{buildroot}
|
make install DESTDIR=%{buildroot}
|
||||||
@ -70,6 +78,8 @@ rm -f %{buildroot}/%{_libdir}/*.la
|
|||||||
# rhbz#1001251 we install API docs directly from build
|
# rhbz#1001251 we install API docs directly from build
|
||||||
rm -rf %{buildroot}/%{_docdir}/%{name}
|
rm -rf %{buildroot}/%{_docdir}/%{name}
|
||||||
|
|
||||||
|
mkdir -p %{buildroot}/%{_mandir}/man1
|
||||||
|
install -m 0644 cdr2*.1 cmx2*.1 %{buildroot}/%{_mandir}/man1
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
%post -p /sbin/ldconfig
|
||||||
|
|
||||||
@ -101,9 +111,17 @@ rm -rf %{buildroot}/%{_docdir}/%{name}
|
|||||||
%{_bindir}/cmx2raw
|
%{_bindir}/cmx2raw
|
||||||
%{_bindir}/cmx2text
|
%{_bindir}/cmx2text
|
||||||
%{_bindir}/cmx2xhtml
|
%{_bindir}/cmx2xhtml
|
||||||
|
%{_mandir}/man1/cdr2raw.1*
|
||||||
|
%{_mandir}/man1/cdr2text.1*
|
||||||
|
%{_mandir}/man1/cdr2xhtml.1*
|
||||||
|
%{_mandir}/man1/cmx2raw.1*
|
||||||
|
%{_mandir}/man1/cmx2text.1*
|
||||||
|
%{_mandir}/man1/cmx2xhtml.1*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Apr 09 2014 David Tardon <dtardon@redhat.com> - 0.0.15-2
|
||||||
|
- generate man pages
|
||||||
|
|
||||||
* Sat Apr 05 2014 David Tardon <dtardon@redhat.com> - 0.0.15-1
|
* Sat Apr 05 2014 David Tardon <dtardon@redhat.com> - 0.0.15-1
|
||||||
- new upstream release
|
- new upstream release
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user