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

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

new upstream release or rebuild

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