Search
j0ke.net Open Build Service
>
Projects
>
hardware
:
dell
>
python-sqlobject
> python-sqlobject.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File python-sqlobject.spec of Package python-sqlobject
# # spec file for package python-sqlobject # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. Name: python-sqlobject Summary: Object-Relational Manager for Python Version: 0.10.5 Release: 1 %define modname SQLObject Url: http://sqlobject.org/ License: LGPL Group: Development/Libraries/Python Source: %{modname}-%{version}.tar.bz2 Patch1: python-sqlobject-0.10.5-deprecated_warning.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires: python-formencode %{py_requires} BuildRequires: python-devel python-formencode python-setuptools %description SQLObject is an object-relational mapper. It allows you to translate RDBMS table rows into Python objects, and manipulate those objects to transparently manipulate the database. Authors: -------- Ian Bicking <ianb@colorstudy.com> %prep %setup -q -n %{modname}-%{version} %if 0%{suse_version} > 1100 %patch1 -p0 %endif %build export CFLAGS="$RPM_OPT_FLAGS" python setup.py build %install python setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT --record-rpm=INSTALLED_FILES sed -i "s|^/usr/bin/sqlobject-admin|\%attr(0755,root,root) /usr/bin/sqlobject-admin|" INSTALLED_FILES %clean rm -rf %{buildroot} %files -f INSTALLED_FILES %defattr(0644,root,root,0755) %doc docs README.txt %changelog