2 # - Upstream packages some unfree fonts which we cannot redistribute - use
3 # tarball from fc or rip their script.
4 Summary: E-book converter and library management
9 Group: Applications/Multimedia
10 Source0: http://status.calibre-ebook.com/dist/src/%{name}-%{version}.tar.gz
11 # Source0-md5: 42255d2eb55d1a047d74d3dbb0d0f355
12 Patch0: %{name}-prefix.patch
13 URL: http://www.calibre-ebook.com/
14 BuildRequires: ImageMagick-devel
15 BuildRequires: chmlib-devel
16 BuildRequires: podofo-devel
17 BuildRequires: poppler-Qt-devel
18 BuildRequires: python-BeautifulSoup
19 BuildRequires: python-PyQt4-devel
20 BuildRequires: python-cssutils
21 BuildRequires: python-lxml
22 BuildRequires: python-mechanize
23 BuildRequires: python-sip-devel
24 BuildRequires: rpm-pythonprov
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28 Calibre is meant to be a complete e-library solution. It includes
29 library management, format conversion, news feeds to ebook conversion
30 as well as e-book reader sync features.
32 Calibre is primarily a ebook cataloging program. It manages your ebook
33 collection for you. It is designed around the concept of the logical
34 book, i.e. a single entry in the database that may correspond to
35 ebooks in several formats. It also supports conversion to and from a
36 dozen different ebook formats.
38 Supported input formats are: MOBI, LIT, PRC, EPUB, CHM, ODT, HTML,
39 CBR, CBZ, RTF, TXT, PDF and LRS.
46 %{__python} setup.py build
49 rm -rf $RPM_BUILD_ROOT
51 %{__python} setup.py install \
52 --root=$RPM_BUILD_ROOT
55 rm -rf $RPM_BUILD_ROOT
58 %defattr(644,root,root,755)
60 %attr(755,root,root) %{_bindir}/*