]> git.pld-linux.org Git - SPECS.git/blob - python-SQLObject.spec
SPECS updated Sat 31 Jul 20:26:02 CEST 2021
[SPECS.git] / python-SQLObject.spec
1
2 %define module  SQLObject
3 %define _module sqlobject
4
5 Summary:        Object-Relational Manager, aka database wrapper
6 Summary(pl.UTF-8):      Zarządca obiektowo-relacyjny, czyli wrapper dla baz danych
7 Name:           python-%{module}
8 Version:        0.10.4
9 Release:        5
10 License:        LGPL
11 Vendor:         Ian Bicking <ianb@colorstudy.com>
12 Group:          Development/Languages/Python
13 Source0:        http://cheeseshop.python.org/packages/source/S/SQLObject/%{module}-%{version}.tar.gz
14 # Source0-md5:  20039279c5b799c49e6496b9fe71f03f
15 URL:            http://sqlobject.org
16 BuildRequires:  rpmbuild(macros) >= 1.710
17 BuildRequires:  python-devel >= 1:2.3
18 BuildRequires:  python-modules
19 BuildRequires:  python-setuptools
20 BuildRequires:  rpm-pythonprov
21 %pyrequires_eq  python-modules
22 Requires:       python-FormEncode >= 0.2.2
23 BuildArch:      noarch
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %description
27 Classes created using SQLObject wrap database rows, presenting a
28 friendly-looking Python object instead of a database/SQL interface.
29 Emphasizes convenience. Works with MySQL, PostgreSQL, SQLite,
30 Firebird.
31
32 %description -l pl.UTF-8
33 Klasy tworzone przy użyciu SQLObject opakowują wiersze bazy danych,
34 prezentując przyjaźnie wyglądający obiekt Pythona zamiast interfejsu
35 bazy danych/SQL. Nacisk położony jest na wygodę. Działa z MySQL-em,
36 PostgreSQL-em, SQLite, Firebirdem.
37
38 %prep
39 %setup -q -n %{module}-%{version}
40
41 %build
42 %py_build
43
44 %install
45 rm -rf $RPM_BUILD_ROOT
46
47 %py_install \
48         --single-version-externally-managed
49
50 %py_postclean
51
52 %clean
53 rm -rf $RPM_BUILD_ROOT
54
55 %files
56 %defattr(644,root,root,755)
57 %doc README.txt PKG-INFO docs 
58 %attr(755,root,root) %{_bindir}/*
59 %{py_sitescriptdir}/%{_module}
60 %{py_sitescriptdir}/SQLObject*
This page took 0.036023 seconds and 3 git commands to generate.