|
|
|
@ -14,6 +14,7 @@ BuildRequires: boost-devel
|
|
|
|
|
BuildRequires: cppunit-devel
|
|
|
|
|
BuildRequires: doxygen
|
|
|
|
|
BuildRequires: gperf
|
|
|
|
|
BuildRequires: help2man
|
|
|
|
|
BuildRequires: libicu-devel
|
|
|
|
|
BuildRequires: libwpd-devel
|
|
|
|
|
BuildRequires: libxml2-devel
|
|
|
|
@ -61,12 +62,19 @@ sed -i \
|
|
|
|
|
libtool
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
help2man -N -n 'convert e-book into HTML' -o ebook2html.1 ebook2html
|
|
|
|
|
help2man -N -n 'convert e-book into plain text' -o ebook2text.1 ebook2text
|
|
|
|
|
help2man -N -n 'debug the conversion library' -o ebook2raw.1 ebook2raw
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
make install DESTDIR=%{buildroot}
|
|
|
|
|
rm -f %{buildroot}/%{_libdir}/*.la
|
|
|
|
|
# we install API docs directly from build
|
|
|
|
|
rm -rf %{buildroot}/%{_docdir}/%{name}
|
|
|
|
|
|
|
|
|
|
mkdir -p %{buildroot}/%{_mandir}/man1
|
|
|
|
|
install -m 0644 ebook2*.1 %{buildroot}/%{_mandir}/man1
|
|
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
@ -93,10 +101,14 @@ make %{?_smp_mflags} check
|
|
|
|
|
%{_bindir}/ebook2raw
|
|
|
|
|
%{_bindir}/ebook2text
|
|
|
|
|
%{_bindir}/ebook2html
|
|
|
|
|
%{_mandir}/man1/ebook2html.1*
|
|
|
|
|
%{_mandir}/man1/ebook2raw.1*
|
|
|
|
|
%{_mandir}/man1/ebook2text.1*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Feb 10 2014 David Tardon <dtardon@redhat.com> - 0.0.3-1
|
|
|
|
|
- new upstream release 0.0.3
|
|
|
|
|
- generate man pages for the conversion tools
|
|
|
|
|
|
|
|
|
|
* Sat Nov 16 2013 David Tardon <dtardon@redhat.com> - 0.0.2-1
|
|
|
|
|
- new release
|
|
|
|
|