Sophie

Sophie

distrib > Fedora > 14 > x86_64 > by-pkgid > ccf41adf762591ba55df405bacd4e1b1 > files > 2

pypoppler-0.12.1-4.fc14.src.rpm

%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}

Name:           pypoppler
Version:        0.12.1
Release:        4%{?dist}
Summary:        Python bindings for the Poppler PDF rendering library

Group:          Applications/Publishing
License:        GPLv2+
URL:            https://launchpad.net/poppler-python
Source0:        http://launchpad.net/poppler-python/trunk/development/+download/%{name}-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)     

BuildRequires:  pygtk2-devel
BuildRequires:  atk-devel
BuildRequires:  poppler-devel
BuildRequires:  pycairo-devel
BuildRequires:  poppler-glib-devel >= 0.10.5


%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
%configure --disable-static
make %{?_smp_mflags}


%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot} INSTALL="install -p"
find %{buildroot} -type f -name "*.la" -exec rm -f {} ';'


%clean
rm -rf %{buildroot}


%files
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING NEWS
%{python_sitearch}/poppler*


%changelog
* Thu Aug 19 2010 Rex Dieter <rdieter@fedoraproject.org> - 0.12.1-4
- rebuild (poppler)

* Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 0.12.1-3
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild

* Tue Jun 22 2010 Matthias Clasen <mclasen@redhat.com> - 0.12.1-2
- Rebuild against new poppler

* Thu Nov 19 2009 Fabian Affolter <fabian@bernewireless.net> - 0.12.1-1
- Updated to new upstream version 0.12.1

* Thu Sep 17 2009 Fabian Affolter <fabian@bernewireless.net> - 0.10.1-1
- Updated to new upstream version 0.10.1

* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild

* Sat Apr 25 2009 Fabian Affolter <fabian@bernewireless.net> - 0.10.0-1
- Initial package for Fedora