Group :: Desenvolvimento/Python
RPM: python-module-Axiom
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%define version 0.5.31
%define release alt1
%setup_python_module Axiom
Name: %packagename
Version:%version
Release: %release
BuildArch: noarch
Summary: An in-process object-relational database
License: MIT
Group: Development/Python
Packager: Alexey Shabalin <shaba at altlinux.ru>
Url: http://divmod.org/trac/wiki/DivmodAxiom
Source: http://divmod.org/trac/attachment/wiki/SoftwareReleases/%modulename-%version.tar.gz
BuildPreReq: rpm-build-python rpm-build-compat
BuildRequires: python-module-Cython python-module-Epsilon python-module-twisted python-module-apsw python-module-pysqlite2
BuildRequires: python-devel python-module-setuptools
%description
Axiom is a live database, not only an SQL generation tool: it includes
an implementation of a scheduler service, external file references,
automatic upgraders, robust failure handling, and Twisted integration.
Axiom is tightly integrated with Twisted, and can store, start, and stop
Twisted services directly from the database using the included
'axiomatic' command-line tool.
Axiom currently supports only SQLite and does NOT have any features for
dealing with concurrency. We do plan to add some later, and perhaps
also support other databases in the future.
%prep
%setup -n %modulename-%version
%build
%python_build
%install
%python_install
%files
%_bindir/axiomatic
%python_sitelibdir/Axiom-*.egg-info
%python_sitelibdir/axiom/
%python_sitelibdir/twisted/plugins/*.py*
%exclude %python_sitelibdir/twisted/plugins/*.cache
%doc *.txt LICENSE
#%%exclude %_bindir/*
%changelog
…
Todas as alterações você pod ver aqui
%define release alt1
%setup_python_module Axiom
Name: %packagename
Version:%version
Release: %release
BuildArch: noarch
Summary: An in-process object-relational database
License: MIT
Group: Development/Python
Packager: Alexey Shabalin <shaba at altlinux.ru>
Url: http://divmod.org/trac/wiki/DivmodAxiom
Source: http://divmod.org/trac/attachment/wiki/SoftwareReleases/%modulename-%version.tar.gz
BuildPreReq: rpm-build-python rpm-build-compat
BuildRequires: python-module-Cython python-module-Epsilon python-module-twisted python-module-apsw python-module-pysqlite2
BuildRequires: python-devel python-module-setuptools
%description
Axiom is a live database, not only an SQL generation tool: it includes
an implementation of a scheduler service, external file references,
automatic upgraders, robust failure handling, and Twisted integration.
Axiom is tightly integrated with Twisted, and can store, start, and stop
Twisted services directly from the database using the included
'axiomatic' command-line tool.
Axiom currently supports only SQLite and does NOT have any features for
dealing with concurrency. We do plan to add some later, and perhaps
also support other databases in the future.
%prep
%setup -n %modulename-%version
%build
%python_build
%install
%python_install
%files
%_bindir/axiomatic
%python_sitelibdir/Axiom-*.egg-info
%python_sitelibdir/axiom/
%python_sitelibdir/twisted/plugins/*.py*
%exclude %python_sitelibdir/twisted/plugins/*.cache
%doc *.txt LICENSE
#%%exclude %_bindir/*
%changelog
…
Todas as alterações você pod ver aqui