python-GnuPGInterface-vl.spec 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
  2. %define pkgname GnuPGInterface
  3. Summary: A Python module to interface with GnuPG
  4. Summary(ja): GnuPG へのインターフェイスとなる Python モジュール
  5. Name: python-GnuPGInterface
  6. Version: 0.3.2
  7. Release: 4%{?_dist_release}
  8. License: LGPLv2+
  9. Group: Development/Languages
  10. URL: http://py-gnupg.sourceforge.net/
  11. Source: http://downloads.sourceforge.net/py-gnupg/%{pkgname}-%{version}.tar.gz
  12. Patch0: 01_print_exit_status_correctly.patch
  13. Patch1: 02_setup_license.patch
  14. BuildRequires: python-devel
  15. BuildArch: noarch
  16. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  17. Vendor: Project Vine
  18. Distribution: Vine Linux
  19. %description
  20. GnuPGInterface is a Python module to interface with GnuPG. It
  21. concentrates on interacting with GnuPG via filehandles, providing
  22. access to control GnuPG via versatile and extensible means.
  23. %prep
  24. %setup -q -n %{pkgname}-%{version}
  25. %patch0 -p1
  26. %patch1 -p1
  27. %build
  28. %{__python} setup.py build
  29. %install
  30. rm -rf $RPM_BUILD_ROOT
  31. %{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
  32. # Correct some permissions
  33. chmod 644 ChangeLog COPYING NEWS THANKS
  34. %clean
  35. rm -rf $RPM_BUILD_ROOT
  36. %files
  37. %defattr(-,root,root)
  38. %doc ChangeLog COPYING NEWS THANKS
  39. %{python_sitelib}/%{pkgname}*
  40. %changelog
  41. * Sun Jan 12 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.3.2-4
  42. - rebuild with VineSeed environment
  43. - fix typo
  44. * Sun Feb 19 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.3.2-3
  45. - rebuild with python-2.7.2
  46. * Sun Oct 3 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.3.2-2
  47. - rebuilt with rpm-4.8.1 for pkg-config
  48. * Fri May 21 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.3.2-1
  49. - initial build for VineSeed
  50. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.2-6
  51. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  52. * Mon Feb 23 2009 Robert Scheck <robert@fedoraproject.org> 0.3.2-5
  53. - Rebuild against rpm 4.6
  54. * Fri Dec 5 2008 Jeremy Katz <katzj@redhat.com> - 0.3.2-4
  55. - Rebuild for python 2.6
  56. * Tue Jan 08 2008 Robert Scheck <robert@fedoraproject.org> 0.3.2-3
  57. - Rebuild (and some minor spec file tweaks)
  58. * Mon Sep 03 2007 Robert Scheck <robert@fedoraproject.org> 0.3.2-2
  59. - Updated source URL to match with the guidelines (#265381)
  60. - Use get_python_lib() macro according to the policy (#265381)
  61. * Wed Aug 29 2007 Robert Scheck <robert@fedoraproject.org> 0.3.2-1
  62. - Upgrade to 0.3.2
  63. - Initial spec file for Fedora and Red Hat Enterprise Linux