pypoppler-vl.spec 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. %{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
  2. Name: pypoppler
  3. Version: 0.12.1
  4. Release: 2%{?_dist_release}
  5. Summary: Python bindings for the Poppler PDF rendering library
  6. Summary(ja): Poppler PDF レンダリングライブラリの Python バインディング
  7. Group: Applications/Publishing
  8. License: GPLv2+
  9. URL: https://launchpad.net/poppler-python
  10. Source0: http://launchpad.net/poppler-python/trunk/development/+download/%{name}-%{version}.tar.gz
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. BuildRequires: pygtk2-devel
  13. BuildRequires: atk-devel
  14. BuildRequires: poppler-devel
  15. BuildRequires: pycairo-devel
  16. #BuildRequires: poppler-glib-devel >= 0.10.5
  17. %description
  18. Python bindings for the Poppler PDF rendering library. It is needed to
  19. run programs written in Python and using Poppler set.
  20. %prep
  21. %setup -q
  22. %build
  23. %configure --disable-static
  24. make %{?_smp_mflags}
  25. %install
  26. rm -rf %{buildroot}
  27. make install DESTDIR=%{buildroot} INSTALL="install -p"
  28. find %{buildroot} -type f -name "*.la" -exec rm -f {} ';'
  29. %clean
  30. rm -rf %{buildroot}
  31. %files
  32. %defattr(-,root,root,-)
  33. %doc AUTHORS ChangeLog COPYING NEWS
  34. %{python_sitearch}/poppler*
  35. %changelog
  36. * Wed Oct 06 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.12.1-2
  37. - rebuild with poppler-0.14.2
  38. * Thu Feb 11 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.12.1-1
  39. - initail build for VineSeed
  40. * Thu Nov 19 2009 Fabian Affolter <fabian@bernewireless.net> - 0.12.1-1
  41. - Updated to new upstream version 0.12.1
  42. * Thu Sep 17 2009 Fabian Affolter <fabian@bernewireless.net> - 0.10.1-1
  43. - Updated to new upstream version 0.10.1
  44. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.0-2
  45. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  46. * Sat Apr 25 2009 Fabian Affolter <fabian@bernewireless.net> - 0.10.0-1
  47. - Initial package for Fedora