]> git.pld-linux.org Git - packages/calibre.git/blob - calibre.spec
bc06cf5c82ddc97aaa0eb2429e0f3cc7669e8b37
[packages/calibre.git] / calibre.spec
1 Summary:        -
2 Summary(pl.UTF-8):      -
3 Name:           calibre
4 Version:        0.6.53
5 Release:        0.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-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)
24
25 %description
26
27 %description -l pl.UTF-8
28
29 %prep
30 %setup -q -n %{name}
31 %patch0 -p1
32
33 %build
34 %{__python} setup.py build
35
36 %install
37 rm -rf $RPM_BUILD_ROOT
38
39 %{__python} setup.py install \
40         --root=$RPM_BUILD_ROOT
41
42 %clean
43 rm -rf $RPM_BUILD_ROOT
44
45 %files
46 %defattr(644,root,root,755)
47 %doc COPYRIGHT README
48 %attr(755,root,root) %{_bindir}/*
49 %{_datadir}/%{name}
50 %{_libdir}/%{name}
This page took 0.028575 seconds and 3 git commands to generate.