[python-poppler-qt4] Initial import of SRPM

Brendan Jones bsjones at fedoraproject.org
Thu Dec 22 14:48:59 UTC 2011


commit 9f448f3850c12562bbea34f27f2ea97b8d88b7aa
Author: Brendan Jones <brendan.jones.it at gmail.com>
Date:   Thu Dec 22 15:48:29 2011 +0100

    Initial import of SRPM

 .gitignore              |    1 +
 python-poppler-qt4.spec |   43 +++++++++++++++++++++++++++++++++++++++++++
 sources                 |    1 +
 3 files changed, 45 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..e129dc9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/python-poppler-qt4-0.16.2.tar.gz
diff --git a/python-poppler-qt4.spec b/python-poppler-qt4.spec
new file mode 100644
index 0000000..730e9db
--- /dev/null
+++ b/python-poppler-qt4.spec
@@ -0,0 +1,43 @@
+
+Name:           python-poppler-qt4
+Version:        0.16.2
+Release:        1%{?dist}
+Summary:        Python bindings for the Poppler PDF rendering library
+
+Group:          Applications/Publishing
+License:        LGPLv2+
+URL:            http://code.google.com/p/%{name}/
+Source0:        http://python-poppler-qt4.googlecode.com/files/%{name}-%{version}.tar.gz
+
+BuildRequires:  python2-devel
+BuildRequires:  PyQt4-devel
+BuildRequires:  poppler-qt-devel >= 0.12.0
+BuildRequires:  sip-devel >= 4.9.1
+
+# we don't want to provide private python extension libs
+%{?filter_setup:
+%filter_provides_in %{python_sitearch}/.*\.so$ 
+%filter_setup
+}
+
+%description
+Python bindings for the Poppler PDF rendering library. It is needed to
+run programs written in Python and using Poppler set.
+
+%prep
+%setup -q 
+
+%build
+python ./setup.py build 
+
+%install
+python ./setup.py install --skip-build --prefix=%{buildroot}%{_prefix}
+
+%files
+%doc ChangeLog LICENSE TODO README
+%{python_sitearch}/popplerqt4.so
+%{python_sitearch}/python_poppler*
+
+%changelog
+* Wed Dec 14 2011 Brendan Jones <brendan.s.jones at gmail.com> - 0.16.2-1
+- Initial package for Fedora
diff --git a/sources b/sources
index e69de29..6821db8 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+6a1c1a84df08a1798bbacffa33f86ba3  python-poppler-qt4-0.16.2.tar.gz


More information about the scm-commits mailing list