14636
|
1 |
#
|
|
2 |
# spec file for package SUNWpysqlite
|
|
3 |
#
|
|
4 |
# Copyright 2008 Sun Microsystems, Inc.
|
|
5 |
# This file and all modifications and additions to the pristine
|
|
6 |
# package are under the same license as the package itself.
|
|
7 |
#
|
|
8 |
# Owner: dkenny
|
|
9 |
#
|
|
10 |
|
|
11 |
%include Solaris.inc
|
|
12 |
|
15076
|
13 |
%use pysqlite = pysqlite.spec
|
14636
|
14 |
%define pythonver 2.4
|
|
15 |
|
|
16 |
Name: SUNWpysqlite
|
|
17 |
Summary: Python DB-API 2.0 interface for the SQLite
|
|
18 |
%define major_version 2.4
|
|
19 |
Version: %{major_version}.1
|
|
20 |
SUNW_BaseDir: %{_basedir}
|
|
21 |
SUNW_Copyright: %{name}.copyright
|
|
22 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
23 |
Requires: SUNWPython
|
|
24 |
Requires: SUNWsqlite3
|
|
25 |
BuildRequires: SUNWPython-devel
|
|
26 |
BuildRequires: SUNWsqlite3
|
14933
|
27 |
BuildRequires: SUNWpython-setuptools
|
14636
|
28 |
|
|
29 |
%include default-depend.inc
|
|
30 |
|
|
31 |
%prep
|
15076
|
32 |
rm -rf %name-%version
|
|
33 |
mkdir -p %name-%version
|
|
34 |
%pysqlite.prep -d %name-%version
|
14636
|
35 |
|
|
36 |
%build
|
15076
|
37 |
%pysqlite.build -d %name-%version
|
14636
|
38 |
|
|
39 |
%install
|
|
40 |
rm -rf $RPM_BUILD_ROOT
|
15076
|
41 |
%pysqlite.install -d %name-%version
|
14636
|
42 |
|
|
43 |
%clean
|
|
44 |
rm -rf $RPM_BUILD_ROOT
|
|
45 |
|
|
46 |
%files
|
|
47 |
%defattr (-, root, bin)
|
15076
|
48 |
%dir %attr(0755, root, bin) %{_prefix}/lib/python%{pythonver}
|
|
49 |
%dir %attr(0755, root, bin) %{_prefix}/lib/python%{pythonver}/vendor-packages
|
|
50 |
%dir %attr(0755, root, bin) %{_prefix}/lib/python%{pythonver}/vendor-packages/*
|
|
51 |
%{_prefix}/lib/python%{pythonver}/vendor-packages/pysqlite2/*
|
|
52 |
%doc -d %{pysqlite.name}-%{pysqlite.version} LICENSE PKG-INFO
|
14636
|
53 |
%dir %attr (0755, root, sys) %{_datadir}
|
|
54 |
%dir %attr (0755, root, other) %{_datadir}/doc
|
|
55 |
|
|
56 |
%changelog
|
15076
|
57 |
* Thu Feb 12 2009 - [email protected]
|
|
58 |
- Now use pysqlite.spec file
|
14636
|
59 |
* Tue Nov 18 2008 - [email protected]
|
|
60 |
- Fix installation directory problem.
|
|
61 |
* Tue Sep 16 2008 - [email protected]
|
|
62 |
- Update copyright
|
|
63 |
* Tue Mar 11 2008 - [email protected]
|
|
64 |
- Change SUNWsqlite3-devel reference to SUNWsqlite3.
|
|
65 |
* Tue Feb 12 2008 - [email protected]
|
|
66 |
- Change SFEsqlite require to SUNWsqlite.
|
|
67 |
* Tue Feb 12 2008 - [email protected]
|
|
68 |
- initial version
|