source: projects/specs/branches/6/p/python-GnuPGInterface/python-GnuPGInterface-vl.spec @ 1980

Revision 1980, 2.3 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:        2%{?_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* Sun Oct 3 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.3.4-2
49- rebuilt with rpm-4.8.1 for pkg-config
50
51* Fri May 21 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.3.2-1
52- initial build for VineSeed
53
54* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.2-6
55- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
56
57* Mon Feb 23 2009 Robert Scheck <robert@fedoraproject.org> 0.3.2-5
58- Rebuild against rpm 4.6
59
60* Fri Dec  5 2008 Jeremy Katz <katzj@redhat.com> - 0.3.2-4
61- Rebuild for python 2.6
62
63* Tue Jan 08 2008 Robert Scheck <robert@fedoraproject.org> 0.3.2-3
64- Rebuild (and some minor spec file tweaks)
65
66* Mon Sep 03 2007 Robert Scheck <robert@fedoraproject.org> 0.3.2-2
67- Updated source URL to match with the guidelines (#265381)
68- Use get_python_lib() macro according to the policy (#265381)
69
70* Wed Aug 29 2007 Robert Scheck <robert@fedoraproject.org> 0.3.2-1
71- Upgrade to 0.3.2
72- Initial spec file for Fedora and Red Hat Enterprise Linux
Note: See TracBrowser for help on using the repository browser.