]> git.pld-linux.org Git - packages/calibre.git/blame - calibre.spec
- BRs: python-PIL, python-dateutil
[packages/calibre.git] / calibre.spec
CommitLineData
02229893
ER
1# TODO
2# - Upstream packages some unfree fonts which we cannot redistribute - use
3# tarball from fc or rip their script.
4Summary: E-book converter and library management
0e501b81 5Name: calibre
6Version: 0.6.53
bdbd4238 7Release: 0.1
6d15f615 8License: GPL v3+
02229893 9Group: Applications/Multimedia
0e501b81 10Source0: http://status.calibre-ebook.com/dist/src/%{name}-%{version}.tar.gz
11# Source0-md5: 42255d2eb55d1a047d74d3dbb0d0f355
12Patch0: %{name}-prefix.patch
02229893 13URL: http://www.calibre-ebook.com/
0e501b81 14BuildRequires: ImageMagick-devel
15BuildRequires: chmlib-devel
16BuildRequires: podofo-devel
17BuildRequires: poppler-Qt-devel
bdbd4238 18BuildRequires: python-BeautifulSoup
307ba398 19BuildRequires: python-PIL
0e501b81 20BuildRequires: python-PyQt4-devel
21BuildRequires: python-cssutils
307ba398 22BuildRequires: python-dateutil
0e501b81 23BuildRequires: python-lxml
24BuildRequires: python-mechanize
6d15f615 25BuildRequires: python-modules-sqlite
0e501b81 26BuildRequires: python-sip-devel
27BuildRequires: rpm-pythonprov
6d15f615 28Requires: python-cssutils
29Requires: python-lxml
30Requires: python-mechanize
31Requires: python-modules-sqlite
0e501b81 32BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33
34%description
02229893
ER
35Calibre is meant to be a complete e-library solution. It includes
36library management, format conversion, news feeds to ebook conversion
37as well as e-book reader sync features.
38
39Calibre is primarily a ebook cataloging program. It manages your ebook
40collection for you. It is designed around the concept of the logical
41book, i.e. a single entry in the database that may correspond to
42ebooks in several formats. It also supports conversion to and from a
43dozen different ebook formats.
44
45Supported input formats are: MOBI, LIT, PRC, EPUB, CHM, ODT, HTML,
46CBR, CBZ, RTF, TXT, PDF and LRS.
0e501b81 47
48%prep
49%setup -q -n %{name}
50%patch0 -p1
51
52%build
53%{__python} setup.py build
54
55%install
56rm -rf $RPM_BUILD_ROOT
57
58%{__python} setup.py install \
59 --root=$RPM_BUILD_ROOT
60
61%clean
62rm -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.038442 seconds and 4 git commands to generate.