diff --git a/calibre.spec b/calibre.spec index 866f869..93cb5bb 100644 --- a/calibre.spec +++ b/calibre.spec @@ -1,7 +1,7 @@ Summary: E-book converter and library management Name: calibre -Version: 3.26.1 -Release: 3 +Version: 3.45.2 +Release: 1 License: GPLv3+ Group: Office Url: http://calibre-ebook.com/ @@ -10,7 +10,7 @@ Source1: calibre-mount-helper Patch0: calibre-3.26.1-linkage.patch Patch1: calibre-3.26.1-no-update.patch Patch3: calibre-3.26.1-nodisplay.patch -Patch4: calibre-3.26.1-python2-env-fix.patch + BuildRequires: desktop-file-utils BuildRequires: python-apsw BuildRequires: python-beautifulsoup @@ -25,6 +25,7 @@ BuildRequires: python-setuptools BuildRequires: python-six BuildRequires: python-regex BuildRequires: python-html5-parser +BuildRequires: python-beautifulsoup4 BuildRequires: unzip BuildRequires: xdg-utils BuildRequires: chmlib-devel @@ -48,6 +49,8 @@ BuildRequires: pythonegg(lxml) >= 3.8.0 BuildRequires: pkgconfig(Qt5Gui) BuildRequires: pkgconfig(cairo) BuildRequires: pkgconfig(gobject-2.0) +BuildRequires: python-css-parser +Requires: python-css-parser Requires: imagemagick Requires: python-apsw Requires: python-beautifulsoup @@ -61,12 +64,14 @@ Requires: python-genshi Requires: python-imaging Requires: python-lxml Requires: python-mechanize +Requires: python-msgpack Requires: python-regex Requires: python-netifaces Requires: python-html5-parser Requires: python-odf Requires: python-pypdf Requires: python-qt5 +Requires: python-beautifulsoup4 Requires: poppler # Require the packages of the files which are symlinked by calibre Requires: fonts-ttf-liberation @@ -138,10 +143,6 @@ rm -rf resources/fonts/*/ %patch3 -p1 -b .python-fix -# there is no python2 symlink to python2.7 -# but just python, as opposed to python3 -%patch4 -p1 -b .python2-env-fix - # dos2unix newline conversion sed -i -e 's/\r//' src/calibre/web/feeds/recipes/* @@ -264,3 +265,5 @@ sed -i -e 's:localization/locale.zip:%{_datadir}/%{name}/localization/locales.zi rm -f %{buildroot}%{_bindir}/%{name}-uninstall install -m 0755 %{SOURCE1} %{buildroot}%{_bindir}/ + +