|
|
9fc5173 |
%global apiversion 0.1
|
|
|
939096f |
|
|
|
939096f |
Name: libe-book
|
|
|
71201d7 |
Version: 0.1.3
|
|
|
4f4f38e |
Release: 7%{?dist}
|
|
|
9fc5173 |
Summary: A library for import of reflowable e-book formats
|
|
|
939096f |
|
|
|
9fc5173 |
License: MPLv2.0
|
|
|
939096f |
URL: https://sourceforge.net/projects/libebook/
|
|
|
939096f |
Source: http://downloads.sourceforge.net/libebook/%{name}-%{version}.tar.xz
|
|
|
939096f |
|
|
|
939096f |
BuildRequires: boost-devel
|
|
|
939096f |
BuildRequires: doxygen
|
|
|
ba42a18 |
BuildRequires: gcc-c++
|
|
|
939096f |
BuildRequires: gperf
|
|
|
5303c7c |
BuildRequires: help2man
|
|
|
bc62573 |
BuildRequires: pkgconfig(cppunit)
|
|
|
bc62573 |
BuildRequires: pkgconfig(icu-i18n)
|
|
|
71201d7 |
BuildRequires: pkgconfig(liblangtag)
|
|
|
9fc5173 |
BuildRequires: pkgconfig(librevenge-0.0)
|
|
|
71201d7 |
BuildRequires: pkgconfig(librevenge-generators-0.0)
|
|
|
71201d7 |
BuildRequires: pkgconfig(librevenge-stream-0.0)
|
|
|
f678fa7 |
BuildRequires: pkgconfig(libxml-2.0)
|
|
|
bc62573 |
BuildRequires: pkgconfig(zlib)
|
|
|
939096f |
|
|
|
939096f |
%description
|
|
|
9fc5173 |
%{name} is a library for import of reflowable e-book formats.
|
|
|
939096f |
Currently supported are PalmDoc, TealDoc, Plucker eBook, eReader eBook,
|
|
|
2c68047 |
FictionBook v.2, TCR, zTXT and Broad Band eBook (LRF).
|
|
|
939096f |
|
|
|
939096f |
%package devel
|
|
|
939096f |
Summary: Development files for %{name}
|
|
|
939096f |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
939096f |
|
|
|
939096f |
%description devel
|
|
|
939096f |
The %{name}-devel package contains libraries and header files for
|
|
|
939096f |
developing applications that use %{name}.
|
|
|
939096f |
|
|
|
939096f |
%package doc
|
|
|
939096f |
Summary: Documentation of %{name} API
|
|
|
939096f |
BuildArch: noarch
|
|
|
939096f |
|
|
|
939096f |
%description doc
|
|
|
939096f |
The %{name}-doc package contains documentation files for %{name}.
|
|
|
939096f |
|
|
|
939096f |
%package tools
|
|
|
939096f |
Summary: Tools to transform e-books into other formats
|
|
|
939096f |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
939096f |
|
|
|
939096f |
%description tools
|
|
|
939096f |
Tools to transform e-books into other formats.
|
|
|
939096f |
Currently supported: XHTML, raw, text.
|
|
|
939096f |
|
|
|
939096f |
%prep
|
|
|
9fc5173 |
%autosetup -p1
|
|
|
939096f |
|
|
|
939096f |
%build
|
|
|
71201d7 |
%configure --disable-silent-rules --disable-static
|
|
|
939096f |
sed -i \
|
|
|
939096f |
-e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' \
|
|
|
939096f |
-e 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' \
|
|
|
939096f |
libtool
|
|
|
939096f |
make %{?_smp_mflags}
|
|
|
939096f |
|
|
|
939096f |
%install
|
|
|
939096f |
make install DESTDIR=%{buildroot}
|
|
|
939096f |
rm -f %{buildroot}/%{_libdir}/*.la
|
|
|
939096f |
# we install API docs directly from build
|
|
|
939096f |
rm -rf %{buildroot}/%{_docdir}/%{name}
|
|
|
939096f |
|
|
|
71201d7 |
# generate and install man pages
|
|
|
71201d7 |
export LD_LIBRARY_PATH=%{buildroot}/%{_libdir}${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
|
|
|
71201d7 |
for tool in ebook2html ebook2raw ebook2text; do
|
|
|
71201d7 |
help2man -N -S '%{name} %{version}' -o ${tool}.1 %{buildroot}%{_bindir}/${tool}
|
|
|
71201d7 |
done
|
|
|
71201d7 |
install -m 0755 -d %{buildroot}/%{_mandir}/man1
|
|
|
5303c7c |
install -m 0644 ebook2*.1 %{buildroot}/%{_mandir}/man1
|
|
|
5303c7c |
|
|
|
4ab2548 |
%ldconfig_scriptlets
|
|
|
939096f |
|
|
|
939096f |
%check
|
|
|
939096f |
export LD_LIBRARY_PATH=%{buildroot}/%{_libdir}${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
|
|
|
939096f |
make %{?_smp_mflags} check
|
|
|
939096f |
|
|
|
939096f |
%files
|
|
|
8040d23 |
%doc AUTHORS NEWS README
|
|
|
8040d23 |
%license COPYING
|
|
|
939096f |
%{_libdir}/%{name}-%{apiversion}.so.*
|
|
|
939096f |
|
|
|
939096f |
%files devel
|
|
|
939096f |
%doc ChangeLog
|
|
|
939096f |
%{_includedir}/%{name}-%{apiversion}
|
|
|
939096f |
%{_libdir}/%{name}-%{apiversion}.so
|
|
|
939096f |
%{_libdir}/pkgconfig/%{name}-%{apiversion}.pc
|
|
|
939096f |
|
|
|
939096f |
%files doc
|
|
|
8040d23 |
%license COPYING
|
|
|
939096f |
%doc docs/doxygen/html
|
|
|
939096f |
|
|
|
939096f |
%files tools
|
|
|
939096f |
%{_bindir}/ebook2raw
|
|
|
939096f |
%{_bindir}/ebook2text
|
|
|
939096f |
%{_bindir}/ebook2html
|
|
|
5303c7c |
%{_mandir}/man1/ebook2html.1*
|
|
|
5303c7c |
%{_mandir}/man1/ebook2raw.1*
|
|
|
5303c7c |
%{_mandir}/man1/ebook2text.1*
|
|
|
939096f |
|
|
|
939096f |
%changelog
|
|
|
4f4f38e |
* Wed Jan 23 2019 Pete Walter <pwalter@fedoraproject.org> - 0.1.3-7
|
|
|
4f4f38e |
- Rebuild for ICU 63
|
|
|
4f4f38e |
|
|
|
af360f2 |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.3-6
|
|
|
af360f2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
af360f2 |
|
|
|
17c2605 |
* Tue Jul 10 2018 Pete Walter <pwalter@fedoraproject.org> - 0.1.3-5
|
|
|
17c2605 |
- Rebuild for ICU 62
|
|
|
17c2605 |
|
|
|
7335ac5 |
* Mon Apr 30 2018 Pete Walter <pwalter@fedoraproject.org> - 0.1.3-4
|
|
|
7335ac5 |
- Rebuild for ICU 61.1
|
|
|
7335ac5 |
|
|
|
cd8fafb |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.3-3
|
|
|
cd8fafb |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
cd8fafb |
|
|
|
2fb21f0 |
* Tue Jan 23 2018 Jonathan Wakely <jwakely@redhat.com> - 0.1.3-2
|
|
|
2fb21f0 |
- Rebuilt for Boost 1.66
|
|
|
2fb21f0 |
|
|
|
71201d7 |
* Tue Jan 02 2018 David Tardon <dtardon@redhat.com> - 0.1.3-1
|
|
|
71201d7 |
- new upstream release
|
|
|
71201d7 |
|
|
|
4c84e9e |
* Thu Nov 30 2017 Pete Walter <pwalter@fedoraproject.org> - 0.1.2-19
|
|
|
4c84e9e |
- Rebuild for ICU 60.1
|
|
|
4c84e9e |
|
|
|
993ade7 |
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.2-18
|
|
|
993ade7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
993ade7 |
|
|
|
bf4466b |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.2-17
|
|
|
bf4466b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
bf4466b |
|
|
|
4d263a7 |
* Mon Jul 03 2017 Jonathan Wakely <jwakely@redhat.com> - 0.1.2-16
|
|
|
4d263a7 |
- Rebuilt for Boost 1.64
|
|
|
4d263a7 |
|
|
|
df0b04d |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.2-15
|
|
|
df0b04d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
df0b04d |
|
|
|
3774bcc |
* Fri Jan 27 2017 Jonathan Wakely <jwakely@redhat.com> - 0.1.2-14
|
|
|
3774bcc |
- Rebuilt for Boost 1.63
|
|
|
3774bcc |
|
|
|
1e4055b |
* Fri Jan 27 2017 Jonathan Wakely <jwakely@redhat.com> - 0.1.2-13
|
|
|
1e4055b |
- Rebuilt for Boost 1.63
|
|
|
1e4055b |
|
|
|
1ea0188 |
* Fri Apr 15 2016 David Tardon <dtardon@redhat.com> - 0.1.2-12
|
|
|
1ea0188 |
- rebuild for ICU 57.1
|
|
|
1ea0188 |
|
|
|
1bbc5b2 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.2-11
|
|
|
1bbc5b2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
1bbc5b2 |
|
|
|
9199c13 |
* Fri Jan 15 2016 Jonathan Wakely <jwakely@redhat.com> - 0.1.2-10
|
|
|
9199c13 |
- Rebuilt for Boost 1.60
|
|
|
9199c13 |
|
|
|
a9b56a6 |
* Wed Oct 28 2015 David Tardon <dtardon@redhat.com> - 0.1.2-9
|
|
|
a9b56a6 |
- rebuild for ICU 56.1
|
|
|
a9b56a6 |
|
|
|
64e867c |
* Sun Aug 30 2015 Jonathan Wakely <jwakely@redhat.com> 0.1.2-8
|
|
|
64e867c |
- Rebuilt for Boost 1.59
|
|
|
64e867c |
|
|
|
39ffcd0 |
* Sun Aug 30 2015 David Tardon <dtardon@redhat.com> - 0.1.2-7
|
|
|
39ffcd0 |
- fix build with boost 1.59
|
|
|
39ffcd0 |
|
|
|
c72cca7 |
* Wed Jul 29 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.2-6
|
|
|
c72cca7 |
- Rebuilt for https://fedoraproject.org/wiki/Changes/F23Boost159
|
|
|
c72cca7 |
|
|
|
5201145 |
* Wed Jul 22 2015 David Tardon <dtardon@redhat.com> - 0.1.2-5
|
|
|
5201145 |
- rebuild for Boost 1.58
|
|
|
5201145 |
|
|
|
8682f59 |
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.2-4
|
|
|
8682f59 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
8682f59 |
|
|
|
edc3291 |
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 0.1.2-3
|
|
|
edc3291 |
- Rebuilt for GCC 5 C++11 ABI change
|
|
|
edc3291 |
|
|
Petr Machata |
94254de |
* Mon Jan 26 2015 Petr Machata <pmachata@redhat.com> - 0.1.2-2
|
|
Petr Machata |
94254de |
- Rebuild for boost 1.57.0
|
|
Petr Machata |
94254de |
|
|
|
2c68047 |
* Mon Jan 05 2015 David Tardon <dtardon@redhat.com> - 0.1.2-1
|
|
|
2c68047 |
- new upstream release
|
|
|
2c68047 |
|
|
|
e9ff123 |
* Tue Aug 26 2014 David Tardon <dtardon@redhat.com> - 0.1.1-4
|
|
|
e9ff123 |
- rebuild for ICU 53.1
|
|
|
e9ff123 |
|
|
|
ba47d61 |
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.1-3
|
|
|
ba47d61 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
ba47d61 |
|
|
|
322714b |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.1-2
|
|
|
322714b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
322714b |
|
|
|
62ebdab |
* Tue Jun 03 2014 David Tardon <dtardon@redhat.com> - 0.1.1-1
|
|
|
62ebdab |
- new upstream release
|
|
|
62ebdab |
|
|
|
f7a5844 |
* Thu May 29 2014 David Tardon <dtardon@redhat.com> - 0.1.0-2
|
|
|
f7a5844 |
- detect and parse zipped FictionBook 2 files again
|
|
|
f7a5844 |
|
|
|
9fc5173 |
* Mon May 26 2014 David Tardon <dtardon@redhat.com> - 0.1.0-1
|
|
|
9fc5173 |
- new upstream release 0.1.0
|
|
|
9fc5173 |
|
|
Petr Machata |
0c99cd3 |
* Fri May 23 2014 Petr Machata <pmachata@redhat.com> - 0.0.3-4
|
|
Petr Machata |
0c99cd3 |
- Rebuild for boost 1.55.0
|
|
Petr Machata |
0c99cd3 |
|
|
|
ece0b76 |
* Fri May 23 2014 David Tardon <dtardon@redhat.com> - 0.0.3-3
|
|
|
ece0b76 |
- rebuild for boost 1.55.0
|
|
|
ece0b76 |
|
|
|
d86fc23 |
* Thu Feb 13 2014 David Tardon <dtardon@redhat.com> - 0.0.3-2
|
|
|
d86fc23 |
- rebuild for new ICU
|
|
|
d86fc23 |
|
|
|
3944ba9 |
* Mon Feb 10 2014 David Tardon <dtardon@redhat.com> - 0.0.3-1
|
|
|
3944ba9 |
- new upstream release 0.0.3
|
|
|
5303c7c |
- generate man pages for the conversion tools
|
|
|
3944ba9 |
|
|
|
63c1bf6 |
* Sat Nov 16 2013 David Tardon <dtardon@redhat.com> - 0.0.2-1
|
|
|
63c1bf6 |
- new release
|
|
|
63c1bf6 |
|
|
|
939096f |
* Mon Nov 11 2013 David Tardon <dtardon@redhat.com> - 0.0.1-2
|
|
|
939096f |
- install all public headers
|
|
|
939096f |
- fix library name in .pc
|
|
|
939096f |
|
|
|
939096f |
* Sun Nov 10 2013 David Tardon <dtardon@redhat.com> - 0.0.1-1
|
|
|
939096f |
- initial import
|