]> git.pld-linux.org Git - packages/calibre.git/commitdiff
- init, ugly, not finished
authorlisu <lisu@pld-linux.org>
Thu, 20 May 2010 10:09:33 +0000 (10:09 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    calibre.spec -> 1.1

calibre.spec [new file with mode: 0644]

diff --git a/calibre.spec b/calibre.spec
new file mode 100644 (file)
index 0000000..ac2e57f
--- /dev/null
@@ -0,0 +1,49 @@
+Summary:       -
+Summary(pl.UTF-8):     -
+Name:          calibre
+Version:       0.6.53
+Release:       1
+License:       GPL/LGPL/BSD and other
+Group:         Applications
+Source0:       http://status.calibre-ebook.com/dist/src/%{name}-%{version}.tar.gz
+# Source0-md5: 42255d2eb55d1a047d74d3dbb0d0f355
+Patch0:                %{name}-prefix.patch
+URL:           http://calibre-ebook.com/
+BuildRequires: ImageMagick-devel
+BuildRequires: chmlib-devel
+BuildRequires: podofo-devel
+BuildRequires: poppler-Qt-devel
+BuildRequires: python-PyQt4-devel
+BuildRequires: python-cssutils
+BuildRequires: python-lxml
+BuildRequires: python-mechanize
+BuildRequires: python-sip-devel
+BuildRequires: rpm-pythonprov
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+
+%description -l pl.UTF-8
+
+%prep
+%setup -q -n %{name}
+%patch0 -p1
+
+%build
+%{__python} setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__python} setup.py install \
+       --root=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc COPYRIGHT README
+%attr(755,root,root) %{_bindir}/*
+%{_datadir}/%{name}
+%{_libdir}/%{name}
This page took 0.049276 seconds and 4 git commands to generate.