Revision 2691,
1.7 KB
checked in by Takemikaduchi, 14 years ago
(diff) |
pygtk2: add R:gtk2-devel others: new upstream release
|
Rev | Line | |
---|
[521] | 1 | %define pyexeclib %(python -c 'from distutils.sysconfig import get_python_lib; print get_python_lib(1)') |
---|
| 2 | %define name pysqlite |
---|
[2691] | 3 | %define major 2.6 |
---|
| 4 | %define version 2.6.1 |
---|
[521] | 5 | %define release 1%{?_dist_release} |
---|
| 6 | |
---|
| 7 | Summary: Python DB-API 2.0 interface for SQLite |
---|
| 8 | Summary(ja): SQLite の Python バインディング |
---|
| 9 | Name: %{name} |
---|
| 10 | Version: %{version} |
---|
| 11 | Release: %{release} |
---|
| 12 | Source0: http://initd.org/pub/software/pysqlite/releases/%{major}/%{version}/%{name}-%{version}.tar.gz |
---|
| 13 | License: redistributable |
---|
| 14 | Group: Development/Libraries |
---|
| 15 | URL: http://initd.org/tracker/pysqlite |
---|
| 16 | |
---|
| 17 | Requires: python, sqlite3 |
---|
| 18 | BuildRequires: python-devel, sqlite3-devel |
---|
| 19 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 20 | |
---|
| 21 | Vendor: Project Vine |
---|
| 22 | Distribution: Vine Linux |
---|
| 23 | |
---|
| 24 | %description |
---|
| 25 | pysqlite is a DB-API 2.0-compliant database interface for SQLite. |
---|
| 26 | |
---|
| 27 | %description -l ja |
---|
| 28 | pysqlite は DB-API 2.0 に準拠した SQLite 用の Python バインディングです。 |
---|
| 29 | |
---|
| 30 | %prep |
---|
| 31 | %setup -q |
---|
| 32 | |
---|
| 33 | |
---|
| 34 | %build |
---|
| 35 | %{__python} setup.py build |
---|
| 36 | |
---|
| 37 | %install |
---|
| 38 | rm -rf $RPM_BUILD_ROOT |
---|
| 39 | %{__python} setup.py install --prefix=${RPM_BUILD_ROOT}%{_prefix} --install-data=${RPM_BUILD_ROOT}%{_docdir} |
---|
| 40 | |
---|
| 41 | %clean |
---|
| 42 | rm -rf $RPM_BUILD_ROOT |
---|
| 43 | |
---|
| 44 | %files |
---|
| 45 | %defattr(-,root,root) |
---|
| 46 | %doc LICENSE doc |
---|
| 47 | %{pyexeclib}/pysqlite2/ |
---|
[2691] | 48 | %{pyexeclib}/pysqlite-%{version}-py2.6.egg-info |
---|
[521] | 49 | %{_docdir}/pysqlite2-doc/ |
---|
| 50 | |
---|
| 51 | %changelog |
---|
[2691] | 52 | * Mon Feb 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.6.1-1 |
---|
| 53 | - new upstream release |
---|
| 54 | |
---|
[521] | 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.