source: projects/specs/trunk/p/python-bsddb3/python-bsddb3-vl.spec @ 8154

Revision 8154, 1.5 KB checked in by Takemikaduchi, 10 years ago (diff)

new upstream release or rebuild

Line 
1%define pyver           %(python -c 'import sys;print(sys.version[0:3])')
2Summary:        Python bindings for Berkeley DB
3Summary(ja):    Berkeley DB 用 python バインディング
4Name:           python-bsddb3
5Version:        6.0.1
6Release:        1%{?_dist_release}
7Source0:        http://pypi.python.org/packages/source/b/bsddb3/bsddb3-%{version}.tar.gz
8License:        MIT
9Group:          Development/Languages
10URL:            http://www.jcea.es/programacion/pybsddb.htm
11
12Requires:       python
13
14BuildRequires:  python-devel
15BuildRequires:  db4-devel
16
17BuildRoot:      %{_tmppath}/%{name}-%{version}-root
18
19Vendor: Project Vine
20Distribution: Vine Linux
21
22%description
23python-bsddb3 are the Python "bindings" for the excellent Oracle Berkeley DB.
24
25%description -l ja
26python-bsddb3 は Oracle Berkeley DB 用の python バインディングです。
27
28
29%package devel
30Summary: Development files for %{name}
31Group: Development/Libraries
32Requires: %{name} = %{version}-%{release}
33
34%description devel
35%{summary}
36
37
38%prep
39
40%setup -q -n bsddb3-%{version}
41
42
43%build
44%{__python} setup.py build
45
46%install
47%{__rm} -rf ${RPM_BUILD_ROOT}
48%{__python} setup.py install --root ${RPM_BUILD_ROOT}
49
50
51%clean
52%{__rm} -rf ${RPM_BUILD_ROOT}
53
54
55%files
56%defattr(-,root,root,-)
57%doc ChangeLog README.txt
58%{python_sitearch}/bsddb3/
59%{python_sitearch}/bsddb3-%{version}-py%{pyver}.egg-info
60
61%files devel
62%defattr(-,root,root,-)
63%{_includedir}/python%{pyver}/bsddb3/bsddb.h
64
65
66%changelog
67* Sun Jan 12 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 6.0.1-1
68- new upstream release
69
70* Sun Oct 28 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 5.3.0-1
71- initial build
72
Note: See TracBrowser for help on using the repository browser.