]> git.pld-linux.org Git - packages/calibre.git/blobdiff - calibre.spec
- rebuild with icu 58.2
[packages/calibre.git] / calibre.spec
index 488fa83e2f1374e574e7da276bccec03c49782e2..f3cc6abd254347c2f886ce2a762c30dfe6d5c0c1 100644 (file)
 Summary:       E-book converter and library management
 Summary(pl.UTF-8):     Konwerter oraz biblioteka dla e-booków
 Name:          calibre
-Version:       2.33.0
-Release:       1
+Version:       2.74.0
+Release:       3
 License:       GPL v3+
 Group:         Applications/Multimedia
 Source0:       %{name}-%{version}-nofonts.tar.xz
-# Source0-md5: 102828023a9661d0767a5677f08fb66e
+# Source0-md5: b01b92dbb654fd64462ce0010e38d24e
 Source1:       generate-tarball.sh
 Source2:       %{name}-mount-helper
 Patch0:                %{name}-prefix.patch
-Patch1:                %{name}-no-update.patch
-Patch2:                %{name}-env_module.patch
-Patch3:                %{name}-locales.patch
-Patch4:                shebang-python-fix.patch
+Patch1:                %{name}-env_module.patch
+Patch2:                %{name}-locales.patch
+Patch3:                shebang-python-fix.patch
+Patch4:                desktop-integration.patch
 URL:           http://www.calibre-ebook.com/
 %define                baeutifulsoup_ver 3.0.5
 %define                pil_ver 1.1.6
@@ -45,6 +45,7 @@ BuildRequires:        Qt5PlatformSupport-devel
 BuildRequires: Qt5Widgets-devel
 BuildRequires: chmlib-devel >= 0.40
 BuildRequires: libicu-devel
+BuildRequires: libinput-devel
 BuildRequires: libmtp-devel >= 1.1.5
 BuildRequires: libwmf-devel >= 0.2.8
 BuildRequires: mtdev-devel
@@ -70,9 +71,10 @@ BuildRequires:       python-modules-sqlite
 BuildRequires: python-netifaces >= %{netifaces_ver}
 BuildRequires: python-psutil >= %{psutil_ver}
 BuildRequires: python-sip-devel
+BuildRequires: qt5-build
 BuildRequires: qt5-qmake
 BuildRequires: rpm-pythonprov
-BuildRequires: rpmbuild(macros) >= 1.586
+BuildRequires: rpmbuild(macros) >= 1.710
 BuildRequires: sed >= 4.0
 BuildRequires: sqlite3-devel
 BuildRequires: sip-PyQt5
@@ -81,6 +83,7 @@ BuildRequires:        unzip
 BuildRequires: xdg-utils
 BuildRequires: xz >= 1:4.999.7
 Requires:      Qt5Svg
+Requires:      Qt5WebKit
 Requires:      python-BeautifulSoup >= %{baeutifulsoup_ver}
 Requires:      python-PIL >= %{pil_ver}
 Requires:      python-PyQt5 >= %{pyqt5_ver}
@@ -161,7 +164,7 @@ Pakiet ten dostarcza uzupełnianie nazw dla calibre w powłoce zsh.
 %prep
 %setup -q
 %patch0 -p1
-#%patch1 -p1 Patch does not apply, not removed completly since spec update is in progress
+%patch1 -p1
 %patch2 -p1
 %patch3 -p1
 %patch4 -p1
@@ -193,8 +196,10 @@ XDG_DATA_DIRS="$RPM_BUILD_ROOT%{_datadir}" \
 XDG_UTILS_INSTALL_MODE="system" \
 LIBPATH="%{_libdir}" \
 %{__python} setup.py install \
+       --no-compile \
+       --prefix=%{_prefix} \
        --root=$RPM_BUILD_ROOT \
-       --libdir="%{_libdir}"
+       --libdir=%{_libdir}
 
 cp -p resources/images/library.png $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}-gui.png
 cp -p resources/images/viewer.png $RPM_BUILD_ROOT%{_pixmapsdir}/calibre-viewer.png
This page took 1.001915 seconds and 4 git commands to generate.