source: projects/specs/trunk/p/python-GnuPGInterface/python-GnuPGInterface-vl.spec @ 1057

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