packages: calibre/calibre.spec (NEW) - init, ugly, not finished

lisu lisu at pld-linux.org
Thu May 20 12:09:38 CEST 2010


Author: lisu                         Date: Thu May 20 10:09:38 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- init, ugly, not finished

---- Files affected:
packages/calibre:
   calibre.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/calibre/calibre.spec
diff -u /dev/null packages/calibre/calibre.spec:1.1
--- /dev/null	Thu May 20 12:09:38 2010
+++ packages/calibre/calibre.spec	Thu May 20 12:09:33 2010
@@ -0,0 +1,60 @@
+# $Revision$, $Date$
+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}
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2010/05/20 10:09:33  lisu
+- init, ugly, not finished
+
================================================================


More information about the pld-cvs-commit mailing list