source: projects/specs/branches/6/p/pysqlite/pysqlite-vl.spec @ 2691

Revision 2691, 1.7 KB checked in by Takemikaduchi, 13 years ago (diff)

pygtk2: add R:gtk2-devel others: new upstream release

Line 
1%define pyexeclib %(python -c 'from distutils.sysconfig import get_python_lib; print get_python_lib(1)')
2%define name pysqlite
3%define major 2.6
4%define version 2.6.1
5%define release 1%{?_dist_release}
6
7Summary: Python DB-API 2.0 interface for SQLite
8Summary(ja): SQLite の Python バインディング
9Name: %{name}
10Version: %{version}
11Release: %{release}
12Source0: http://initd.org/pub/software/pysqlite/releases/%{major}/%{version}/%{name}-%{version}.tar.gz
13License: redistributable
14Group: Development/Libraries
15URL: http://initd.org/tracker/pysqlite
16
17Requires: python, sqlite3
18BuildRequires: python-devel, sqlite3-devel
19BuildRoot: %{_tmppath}/%{name}-%{version}-root
20
21Vendor: Project Vine
22Distribution: Vine Linux
23
24%description
25pysqlite is a DB-API 2.0-compliant database interface for SQLite.
26
27%description -l ja
28pysqlite は DB-API 2.0 に準拠した SQLite 用の Python バインディングです。
29
30%prep
31%setup -q
32
33
34%build
35%{__python} setup.py build
36
37%install
38rm -rf $RPM_BUILD_ROOT
39%{__python} setup.py install --prefix=${RPM_BUILD_ROOT}%{_prefix} --install-data=${RPM_BUILD_ROOT}%{_docdir}
40
41%clean
42rm -rf $RPM_BUILD_ROOT
43
44%files
45%defattr(-,root,root)
46%doc LICENSE doc
47%{pyexeclib}/pysqlite2/
48%{pyexeclib}/pysqlite-%{version}-py2.6.egg-info
49%{_docdir}/pysqlite2-doc/
50
51%changelog
52* Mon Feb 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.6.1-1
53- new upstream release
54
55* Mon Jul 21 2008 Shu KONNO <owa@bg.wakwak.com> 2.4.1-1vl5
56- rebuilt with python-2.5.2
57- added pyexeclib macro
58- applied new versioning policy and spec in utf-8
59
60* Wed Feb 6 2008 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 2.4.1-0vl2
61- upstream release
62
63* Mon Aug 27 2007 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 2.3.5-0vl2
64- initial build for Vine Linux
Note: See TracBrowser for help on using the repository browser.