python-GnuPGInterface-vl.spec 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  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: 3%{?_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. %description
  18. GnuPGInterface is a Python module to interface with GnuPG. It
  19. concentrates on interacting with GnuPG via filehandles, providing
  20. access to control GnuPG via versatile and extensible means.
  21. %prep
  22. %setup -q -n %{pkgname}-%{version}
  23. %patch0 -p1
  24. %patch1 -p1
  25. %build
  26. %{__python} setup.py build
  27. %install
  28. rm -rf $RPM_BUILD_ROOT
  29. %{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
  30. # Correct some permissions
  31. chmod 644 ChangeLog COPYING NEWS THANKS
  32. %clean
  33. rm -rf $RPM_BUILD_ROOT
  34. %files
  35. %defattr(-,root,root)
  36. %doc ChangeLog COPYING NEWS THANKS
  37. %{python_sitelib}/%{pkgname}*
  38. %changelog
  39. * Sun Feb 19 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.3.4-3
  40. - rebuild with python-2.7.2
  41. * Sun Oct 3 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.3.4-2
  42. - rebuilt with rpm-4.8.1 for pkg-config
  43. * Fri May 21 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.3.2-1
  44. - initial build for VineSeed
  45. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.2-6
  46. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  47. * Mon Feb 23 2009 Robert Scheck <robert@fedoraproject.org> 0.3.2-5
  48. - Rebuild against rpm 4.6
  49. * Fri Dec 5 2008 Jeremy Katz <katzj@redhat.com> - 0.3.2-4
  50. - Rebuild for python 2.6
  51. * Tue Jan 08 2008 Robert Scheck <robert@fedoraproject.org> 0.3.2-3
  52. - Rebuild (and some minor spec file tweaks)
  53. * Mon Sep 03 2007 Robert Scheck <robert@fedoraproject.org> 0.3.2-2
  54. - Updated source URL to match with the guidelines (#265381)
  55. - Use get_python_lib() macro according to the policy (#265381)
  56. * Wed Aug 29 2007 Robert Scheck <robert@fedoraproject.org> 0.3.2-1
  57. - Upgrade to 0.3.2
  58. - Initial spec file for Fedora and Red Hat Enterprise Linux