]> git.pld-linux.org Git - packages/calibre.git/blob - calibre.spec
- BRs: python-PIL, python-dateutil
[packages/calibre.git] / calibre.spec
1 # TODO
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
5 Name:           calibre
6 Version:        0.6.53
7 Release:        0.1
8 License:        GPL v3+
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-PIL
20 BuildRequires:  python-PyQt4-devel
21 BuildRequires:  python-cssutils
22 BuildRequires:  python-dateutil
23 BuildRequires:  python-lxml
24 BuildRequires:  python-mechanize
25 BuildRequires:  python-modules-sqlite
26 BuildRequires:  python-sip-devel
27 BuildRequires:  rpm-pythonprov
28 Requires:       python-cssutils
29 Requires:       python-lxml
30 Requires:       python-mechanize
31 Requires:       python-modules-sqlite
32 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33
34 %description
35 Calibre is meant to be a complete e-library solution. It includes
36 library management, format conversion, news feeds to ebook conversion
37 as well as e-book reader sync features.
38
39 Calibre is primarily a ebook cataloging program. It manages your ebook
40 collection for you. It is designed around the concept of the logical
41 book, i.e. a single entry in the database that may correspond to
42 ebooks in several formats. It also supports conversion to and from a
43 dozen different ebook formats.
44
45 Supported input formats are: MOBI, LIT, PRC, EPUB, CHM, ODT, HTML,
46 CBR, CBZ, RTF, TXT, PDF and LRS.
47
48 %prep
49 %setup -q -n %{name}
50 %patch0 -p1
51
52 %build
53 %{__python} setup.py build
54
55 %install
56 rm -rf $RPM_BUILD_ROOT
57
58 %{__python} setup.py install \
59         --root=$RPM_BUILD_ROOT
60
61 %clean
62 rm -rf $RPM_BUILD_ROOT
63
64 %files
65 %defattr(644,root,root,755)
66 %doc COPYRIGHT README
67 %attr(755,root,root) %{_bindir}/*
68 %{_datadir}/%{name}
69 %{_libdir}/%{name}
This page took 0.030437 seconds and 4 git commands to generate.