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-PyQt4-devel
17 BuildRequires: python-cssutils
18 BuildRequires: python-lxml
19 BuildRequires: python-mechanize
20 BuildRequires: python-sip-devel
21 BuildRequires: rpm-pythonprov
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 %description -l pl.UTF-8
33 %{__python} setup.py build
36 rm -rf $RPM_BUILD_ROOT
38 %{__python} setup.py install \
39 --root=$RPM_BUILD_ROOT
42 rm -rf $RPM_BUILD_ROOT
45 %defattr(644,root,root,755)
47 %attr(755,root,root) %{_bindir}/*