Merge pull request #3 from symbianflo/calibre:rosa2012.1

symbianflo
This commit is contained in:
symbianflo 2013-12-20 01:29:28 +04:00
commit e276db9aa6
2 changed files with 53 additions and 37 deletions

View file

@ -1,5 +1,6 @@
sources:
removed_sources:
calibre-1.3.0.tar.xz: c6acea5a8c9b045d01ba690ac8755de0028852d6
calibre-1.5.0.tar.xz: 47edc5d5151cb01d79e1288435a40f505a46edd6
calibre-1.7.0.tar.xz: 0553ad863f9b01bc424064d7a70c00aa363577df
sources:
calibre-1.15.0.tar.xz: b630675e9f607535ea264e382573a5ea95e1890a

View file

@ -1,6 +1,6 @@
Summary: E-book converter and library management
Name: calibre
Version: 1.7.0
Version: 1.15.0
Release: 2
License: GPLv3+
Group: Office
@ -14,49 +14,51 @@ Patch4: %{name}-python2-env-fix.patch
Patch5: %{name}-web-control.patch
BuildRequires: chrpath
BuildRequires: desktop-file-utils
BuildRequires: python-apsw
BuildRequires: python-beautifulsoup
BuildRequires: python-cssutils >= 0.9.9
BuildRequires: python-dateutil
BuildRequires: python-imaging
BuildRequires: python-lxml
BuildRequires: python-mechanize
BuildRequires: pythonegg(apsw) >= 3.7.17
BuildRequires: pythonegg(beautifulsoup) >= 3.0.5
BuildRequires: pythonegg(cssutils) >= 0.9.9
BuildRequires: pythonegg(python-dateutil) >= 1.4.1
BuildRequires: pythonegg(pil) >= 1.1.6
BuildRequires: pythonegg(lxml) >= 2.2.1
BuildRequires: pythonegg(mechanize) >= 0.1.11
BuildRequires: python-setuptools
BuildRequires: python-six
BuildRequires: pythonegg(six)
BuildRequires: unzip
BuildRequires: xdg-utils
BuildRequires: chmlib-devel
BuildRequires: icu-devel
BuildRequires: libwmf-devel
BuildRequires: podofo-devel
BuildRequires: python-qt4-devel
BuildRequires: qt4-devel
BuildRequires: xdg-utils >= 1.0.2
BuildRequires: chmlib-devel >= 0.40
BuildRequires: icu-devel >= 4.4
BuildRequires: libwmf-devel >= 0.2.8
BuildRequires: podofo-devel >= 0.8.2
BuildRequires: python-qt4-devel >= 4.9.6
BuildRequires: qt4-devel >= 4.8.0
BuildRequires: qt4-devel-private
BuildRequires: pkgconfig(ImageMagick)
BuildRequires: pkgconfig(libmtp)
BuildRequires: pkgconfig(ImageMagick) >= 6.5.9
BuildRequires: pkgconfig(libmtp) >= 1.1.5
BuildRequires: pkgconfig(poppler-glib)
BuildRequires: pkgconfig(poppler-qt4) >= 0.12
BuildRequires: pkgconfig(python)
BuildRequires: pkgconfig(sqlite3)
Requires: fonts-ttf-liberation
Requires: imagemagick
Requires: poppler
Requires: python-apsw
Requires: python-beautifulsoup
Requires: python-cherrypy
Requires: python-cssselect
Requires: python-cssutils
Requires: python-dateutil
Requires: python-django-tagging
Requires: python-dnspython
Requires: python-genshi
Requires: python-imaging
Requires: python-lxml
Requires: python-mechanize
Requires: python-netifaces
Requires: python-odf
Requires: python-pypdf
Requires: python-qt4
Requires: poppler >= 0.20.2
Requires: pythonegg(apsw) >= 3.7.17
Requires: pythonegg(beautifulsoup) >= 3.0.5
Requires: pythonegg(cherrypy)
Requires: pythonegg(cssselect) >= 0.7.1
Requires: pythonegg(cssutils) >= 0.9.9
Requires: pythonegg(python-dateutil) >= 1.4.1
Requires: pythonegg(django-tagging)
Requires: pythonegg(dnspython) >= 1.6.0
Requires: pythonegg(genshi)
Requires: pythonegg(pil) >= 1.1.6
Requires: pythonegg(lxml) >= 2.2.1
Requires: pythonegg(mechanize) >= 0.1.11
Requires: pythonegg(netifaces) >= 0.8
Requires: pythonegg(odfpy)
Requires: pythonegg(pypdf)
Requires: python-qt4 >= 4.9.6
Requires: python-qt4-help
%description
@ -95,6 +97,7 @@ RTF, TXT, PDF and LRS.
%{_bindir}/lrs2lrf
%{_bindir}/markdown-calibre
%{_bindir}/web2disk
%{_bindir}/ebook-edit
%config(noreplace) %{_sysconfdir}/bash_completion.d/%{name}
%{_libdir}/%{name}
%{_datadir}/%{name}
@ -277,6 +280,18 @@ chmod a+x %{buildroot}%{_libdir}/%{name}/calibre/ebooks/oeb/polish/tests/__init_
chmod a+x %{buildroot}%{_datadir}/%{name}/catalog/section_list_templates.py
chmod a+x %{buildroot}%{_datadir}/%{name}/calibre-portable.sh
chmod +x %{buildroot}%{_libdir}/%{name}/calibre/ebooks/oeb/polish/check/base.py
chmod +x %{buildroot}%{_libdir}/%{name}/calibre/ebooks/oeb/polish/check/parsing.py
chmod +x %{buildroot}%{_libdir}/%{name}/calibre/ebooks/oeb/polish/check/main.py
chmod +x %{buildroot}%{_libdir}/%{name}/calibre/ebooks/oeb/polish/check/__init__.py
chmod +x %{buildroot}%{_libdir}/%{name}/calibre/gui2/tweak_book/editor/syntax/base.py
chmod +x %{buildroot}%{_libdir}/%{name}/calibre/ebooks/oeb/polish/check/images.py
chmod +x %{buildroot}%{_libdir}/%{name}/calibre/ebooks/oeb/polish/check/links.py
chmod +x %{buildroot}%{_libdir}/%{name}/calibre/gui2/tweak_book/editor/syntax/css.py
chmod +x %{buildroot}%{_libdir}/%{name}/calibre/ebooks/oeb/polish/check/fonts.py
chmod +x %{buildroot}%{_libdir}/%{name}/calibre/gui2/tweak_book/editor/syntax/__init__.py
chmod +x %{buildroot}%{_libdir}/%{name}/calibre/ebooks/oeb/polish/tests/parsing.py
chmod +x %{buildroot}%{_libdir}/%{name}/calibre/gui2/tweak_book/editor/syntax/html.py
# rpath fix
chrpath -d %{buildroot}%{_libdir}/%{name}/calibre/plugins/pictureflow.so
chrpath -d %{buildroot}%{_libdir}/%{name}/calibre/plugins/progress_indicator.so