new upstream release 0.1.3

f41
David Tardon 7 years ago
parent 4c84e9e383
commit 71201d73b3

1
.gitignore vendored

@ -4,3 +4,4 @@
/libe-book-0.1.0.tar.xz
/libe-book-0.1.1.tar.xz
/libe-book-0.1.2.tar.xz
/libe-book-0.1.3.tar.xz

@ -1,8 +1,8 @@
%global apiversion 0.1
Name: libe-book
Version: 0.1.2
Release: 19%{?dist}
Version: 0.1.3
Release: 1%{?dist}
Summary: A library for import of reflowable e-book formats
License: MPLv2.0
@ -15,7 +15,10 @@ BuildRequires: gperf
BuildRequires: help2man
BuildRequires: pkgconfig(cppunit)
BuildRequires: pkgconfig(icu-i18n)
BuildRequires: pkgconfig(liblangtag)
BuildRequires: pkgconfig(librevenge-0.0)
BuildRequires: pkgconfig(librevenge-generators-0.0)
BuildRequires: pkgconfig(librevenge-stream-0.0)
BuildRequires: pkgconfig(libxml-2.0)
BuildRequires: pkgconfig(zlib)
@ -51,29 +54,25 @@ Currently supported: XHTML, raw, text.
%autosetup -p1
%build
export CPPFLAGS=-DBOOST_ERROR_CODE_HEADER_ONLY
%configure --disable-silent-rules --disable-static --disable-werror
%configure --disable-silent-rules --disable-static
sed -i \
-e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' \
-e 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' \
libtool
make %{?_smp_mflags}
export LD_LIBRARY_PATH=$(pwd)/src/lib/.libs${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
help2man -N -n 'convert e-book into HTML' -o ebook2html.1 ./src/conv/html/.libs/ebook2html
help2man -N -n 'convert e-book into plain text' -o ebook2text.1 ./src/conv/text/.libs/ebook2text
help2man -N -n 'debug the conversion library' -o ebook2raw.1 ./src/conv/raw/.libs/ebook2raw
%install
make install DESTDIR=%{buildroot}
rm -f %{buildroot}/%{_libdir}/*.la
# we install API docs directly from build
rm -rf %{buildroot}/%{_docdir}/%{name}
# TODO: drop on next update
rm -f %{buildroot}%{_datadir}/%{name}/*.css
mkdir -p %{buildroot}/%{_mandir}/man1
# generate and install man pages
export LD_LIBRARY_PATH=%{buildroot}/%{_libdir}${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
for tool in ebook2html ebook2raw ebook2text; do
help2man -N -S '%{name} %{version}' -o ${tool}.1 %{buildroot}%{_bindir}/${tool}
done
install -m 0755 -d %{buildroot}/%{_mandir}/man1
install -m 0644 ebook2*.1 %{buildroot}/%{_mandir}/man1
%post -p /sbin/ldconfig
@ -108,6 +107,9 @@ make %{?_smp_mflags} check
%{_mandir}/man1/ebook2text.1*
%changelog
* Tue Jan 02 2018 David Tardon <dtardon@redhat.com> - 0.1.3-1
- new upstream release
* Thu Nov 30 2017 Pete Walter <pwalter@fedoraproject.org> - 0.1.2-19
- Rebuild for ICU 60.1

@ -1 +1 @@
19d84f4a97aab32d350d1f47ea3da0b3 libe-book-0.1.2.tar.xz
SHA512 (libe-book-0.1.3.tar.xz) = 56dfa93816b8a1b7e223bda517ff81547fd7b311c3fe2bea64b12c4290642d4b9ed3778df06c4ee7a65f2b9db57702c00c32aec819efb7820115165af3d5ebdc

Loading…
Cancel
Save