6 License: GPL/LGPL/BSD and other
8 Source0: http://status.calibre-ebook.com/dist/src/%{name}-%{version}.tar.gz
9 # Source0-md5: 42255d2eb55d1a047d74d3dbb0d0f355
10 Patch0: %{name}-prefix.patch
11 URL: http://calibre-ebook.com/
12 BuildRequires: ImageMagick-devel
13 BuildRequires: chmlib-devel
14 BuildRequires: podofo-devel
15 BuildRequires: poppler-Qt-devel
16 BuildRequires: python-BeautifulSoup
17 BuildRequires: python-PyQt4-devel
18 BuildRequires: python-cssutils
19 BuildRequires: python-lxml
20 BuildRequires: python-mechanize
21 BuildRequires: python-sip-devel
22 BuildRequires: rpm-pythonprov
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27 %description -l pl.UTF-8
34 %{__python} setup.py build
37 rm -rf $RPM_BUILD_ROOT
39 %{__python} setup.py install \
40 --root=$RPM_BUILD_ROOT
43 rm -rf $RPM_BUILD_ROOT
46 %defattr(644,root,root,755)
48 %attr(755,root,root) %{_bindir}/*