]>
Commit | Line | Data |
---|---|---|
0e501b81 | 1 | Summary: - |
2 | Summary(pl.UTF-8): - | |
3 | Name: calibre | |
4 | Version: 0.6.53 | |
5 | Release: 1 | |
6 | License: GPL/LGPL/BSD and other | |
7 | Group: Applications | |
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) | |
23 | ||
24 | %description | |
25 | ||
26 | %description -l pl.UTF-8 | |
27 | ||
28 | %prep | |
29 | %setup -q -n %{name} | |
30 | %patch0 -p1 | |
31 | ||
32 | %build | |
33 | %{__python} setup.py build | |
34 | ||
35 | %install | |
36 | rm -rf $RPM_BUILD_ROOT | |
37 | ||
38 | %{__python} setup.py install \ | |
39 | --root=$RPM_BUILD_ROOT | |
40 | ||
41 | %clean | |
42 | rm -rf $RPM_BUILD_ROOT | |
43 | ||
44 | %files | |
45 | %defattr(644,root,root,755) | |
46 | %doc COPYRIGHT README | |
47 | %attr(755,root,root) %{_bindir}/* | |
48 | %{_datadir}/%{name} | |
49 | %{_libdir}/%{name} |