mirror of
https://abf.rosa.ru/djam/calibre.git
synced 2025-02-24 16:12:47 +00:00
Updated to 3.45.2
This commit is contained in:
parent
a8d3030812
commit
5266a83427
1 changed files with 10 additions and 7 deletions
17
calibre.spec
17
calibre.spec
|
@ -1,7 +1,7 @@
|
||||||
Summary: E-book converter and library management
|
Summary: E-book converter and library management
|
||||||
Name: calibre
|
Name: calibre
|
||||||
Version: 3.26.1
|
Version: 3.45.2
|
||||||
Release: 3
|
Release: 1
|
||||||
License: GPLv3+
|
License: GPLv3+
|
||||||
Group: Office
|
Group: Office
|
||||||
Url: http://calibre-ebook.com/
|
Url: http://calibre-ebook.com/
|
||||||
|
@ -10,7 +10,7 @@ Source1: calibre-mount-helper
|
||||||
Patch0: calibre-3.26.1-linkage.patch
|
Patch0: calibre-3.26.1-linkage.patch
|
||||||
Patch1: calibre-3.26.1-no-update.patch
|
Patch1: calibre-3.26.1-no-update.patch
|
||||||
Patch3: calibre-3.26.1-nodisplay.patch
|
Patch3: calibre-3.26.1-nodisplay.patch
|
||||||
Patch4: calibre-3.26.1-python2-env-fix.patch
|
|
||||||
BuildRequires: desktop-file-utils
|
BuildRequires: desktop-file-utils
|
||||||
BuildRequires: python-apsw
|
BuildRequires: python-apsw
|
||||||
BuildRequires: python-beautifulsoup
|
BuildRequires: python-beautifulsoup
|
||||||
|
@ -25,6 +25,7 @@ BuildRequires: python-setuptools
|
||||||
BuildRequires: python-six
|
BuildRequires: python-six
|
||||||
BuildRequires: python-regex
|
BuildRequires: python-regex
|
||||||
BuildRequires: python-html5-parser
|
BuildRequires: python-html5-parser
|
||||||
|
BuildRequires: python-beautifulsoup4
|
||||||
BuildRequires: unzip
|
BuildRequires: unzip
|
||||||
BuildRequires: xdg-utils
|
BuildRequires: xdg-utils
|
||||||
BuildRequires: chmlib-devel
|
BuildRequires: chmlib-devel
|
||||||
|
@ -48,6 +49,8 @@ BuildRequires: pythonegg(lxml) >= 3.8.0
|
||||||
BuildRequires: pkgconfig(Qt5Gui)
|
BuildRequires: pkgconfig(Qt5Gui)
|
||||||
BuildRequires: pkgconfig(cairo)
|
BuildRequires: pkgconfig(cairo)
|
||||||
BuildRequires: pkgconfig(gobject-2.0)
|
BuildRequires: pkgconfig(gobject-2.0)
|
||||||
|
BuildRequires: python-css-parser
|
||||||
|
Requires: python-css-parser
|
||||||
Requires: imagemagick
|
Requires: imagemagick
|
||||||
Requires: python-apsw
|
Requires: python-apsw
|
||||||
Requires: python-beautifulsoup
|
Requires: python-beautifulsoup
|
||||||
|
@ -61,12 +64,14 @@ Requires: python-genshi
|
||||||
Requires: python-imaging
|
Requires: python-imaging
|
||||||
Requires: python-lxml
|
Requires: python-lxml
|
||||||
Requires: python-mechanize
|
Requires: python-mechanize
|
||||||
|
Requires: python-msgpack
|
||||||
Requires: python-regex
|
Requires: python-regex
|
||||||
Requires: python-netifaces
|
Requires: python-netifaces
|
||||||
Requires: python-html5-parser
|
Requires: python-html5-parser
|
||||||
Requires: python-odf
|
Requires: python-odf
|
||||||
Requires: python-pypdf
|
Requires: python-pypdf
|
||||||
Requires: python-qt5
|
Requires: python-qt5
|
||||||
|
Requires: python-beautifulsoup4
|
||||||
Requires: poppler
|
Requires: poppler
|
||||||
# Require the packages of the files which are symlinked by calibre
|
# Require the packages of the files which are symlinked by calibre
|
||||||
Requires: fonts-ttf-liberation
|
Requires: fonts-ttf-liberation
|
||||||
|
@ -138,10 +143,6 @@ rm -rf resources/fonts/*/
|
||||||
|
|
||||||
%patch3 -p1 -b .python-fix
|
%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
|
# dos2unix newline conversion
|
||||||
sed -i -e 's/\r//' src/calibre/web/feeds/recipes/*
|
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
|
rm -f %{buildroot}%{_bindir}/%{name}-uninstall
|
||||||
|
|
||||||
install -m 0755 %{SOURCE1} %{buildroot}%{_bindir}/
|
install -m 0755 %{SOURCE1} %{buildroot}%{_bindir}/
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue