diff --git a/libe-book.spec b/libe-book.spec index d731765..56c7e4c 100644 --- a/libe-book.spec +++ b/libe-book.spec @@ -1,5 +1,6 @@ +%define apiver %(echo %version | cut -d. -f1-2) Name: libe-book -Version: 0.0.2 +Version: 0.1.1 Release: 1mamba Summary: Library for import of reflowable e-book formats Group: System/Libraries @@ -14,11 +15,12 @@ BuildRequires: glibc-devel BuildRequires: libgcc BuildRequires: libicu-devel BuildRequires: liblzma-devel +BuildRequires: librevenge-devel BuildRequires: libstdc++6-devel -BuildRequires: libwpd-devel BuildRequires: libxml2-devel BuildRequires: libz-devel ## AUTOBUILDREQ-END +BuildRequires: libwpd-devel >= 0.10 BuildRoot: %{_tmppath}/%{name}-%{version}-root %description @@ -47,7 +49,9 @@ This package contains utility applications for %{name}. %setup -q %build -%configure +%configure \ + CXXFLAGS="%{optflags} -Wno-error=unused-function" + %make %install @@ -62,17 +66,17 @@ This package contains utility applications for %{name}. %files %defattr(-,root,root) -%{_libdir}/libe-book-0.0.so.* +%{_libdir}/libe-book-%{apiver}.so.* %doc AUTHORS %files devel %defattr(-,root,root) -%dir %{_includedir}/libe-book-0.0 -%dir %{_includedir}/libe-book-0.0/libe-book -%{_includedir}/libe-book-0.0/libe-book/*.h -%{_libdir}/libe-book-0.0.la -%{_libdir}/libe-book-0.0.so -%{_libdir}/pkgconfig/libe-book-0.0.pc +%dir %{_includedir}/libe-book-%{apiver} +%dir %{_includedir}/libe-book-%{apiver}/libe-book +%{_includedir}/libe-book-%{apiver}/libe-book/*.h +%{_libdir}/libe-book-%{apiver}.la +%{_libdir}/libe-book-%{apiver}.so +%{_libdir}/pkgconfig/libe-book-%{apiver}.pc %dir %{_datadir}/doc/libe-book/ %{_datadir}/doc/libe-book/* %doc ChangeLog NEWS README TODO @@ -84,5 +88,8 @@ This package contains utility applications for %{name}. %{_bindir}/ebook2text %changelog +* Fri Jul 11 2014 Silvan Calarco 0.1.1-1mamba +- update to 0.1.1 + * Wed Feb 05 2014 Silvan Calarco 0.0.2-1mamba - package created using the webbuild interface