Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37889130
en ru br
ALT Linux repos
5.0: 0.5.5-alt0.M50.1

Group :: Development/Tools
RPM: bocca

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: bocca
Version: 0.5.5
Release: alt0.M50.1
Summary: Component and Application Generator for CCA
License: LGPL
Group: Development/Tools
Url: http://www.cca-forum.org/
Packager: Eugeny A. Rostovtsev (REAL) <real at altlinux.org>

Source: http://www.cca-forum.org/download/cca-tools/bocca-0.5.5.tar.gz

Requires: python-module-%name = %version-%release

BuildRequires(pre): rpm-build-compat rpm-build-python rpm-build-java
BuildPreReq: python-devel = %__python_version
BuildPreReq: java-devel-default
BuildPreReq: ccaffeine babel cca-tutorial-chasm-examples

%description
Bocca is a command line tool for creating and maintaining CCA components and
applications. Bocca makes creating ports and components as easy giving them a
name. Bocca also provides a scaffolding for building, testing and maintaining
components. While Bocca provides a "best practices" source tree, the resulting
infrastructure uses only standard development tools (e.g. autotools) and is in
no way dependent on Bocca itself. Bocca generates the source tree only, and lets
the user decide when and if they wish to abandon the Bocca way of doing things.
Bocca has enjoyed early success and is now the basis of the CCA tutorial.

%package docs
Summary: Documentation for Bocca
Group: Development/Documentation
BuildArch: noarch

%description docs
Bocca is a command line tool for creating and maintaining CCA components and
applications. Bocca makes creating ports and components as easy giving them a
name. Bocca also provides a scaffolding for building, testing and maintaining
components. While Bocca provides a "best practices" source tree, the resulting
infrastructure uses only standard development tools (e.g. autotools) and is in
no way dependent on Bocca itself. Bocca generates the source tree only, and lets
the user decide when and if they wish to abandon the Bocca way of doing things.
Bocca has enjoyed early success and is now the basis of the CCA tutorial.

This package contains documentation for Bocca.

%package -n python-module-%name
Summary: Python module of Bocca
Group: Development/Python
BuildArch: noarch
%py_provides ASE splicers

%description -n python-module-%name
Bocca is a command line tool for creating and maintaining CCA components and
applications. Bocca makes creating ports and components as easy giving them a
name. Bocca also provides a scaffolding for building, testing and maintaining
components. While Bocca provides a "best practices" source tree, the resulting
infrastructure uses only standard development tools (e.g. autotools) and is in
no way dependent on Bocca itself. Bocca generates the source tree only, and lets
the user decide when and if they wish to abandon the Bocca way of doing things.
Bocca has enjoyed early success and is now the basis of the CCA tutorial.

This package contains python module of Bocca.

%prep
%setup

%build
%configure \
--with-ccafe-config=%_bindir/ccafe-config \
--with-babel-config=%_bindir/babel-config \
--with-python=%_bindir/python \
--with-java=%_libexecdir/jvm/java/bin/java
%make_build checklocal build

# TODO: make check with cca-tutorial,

# inregrate with cca-tutorial-chasm-examples

%install
%make install INSTALL_OPTS='--skip-build --root=%buildroot --optimize=2'

install -d %buildroot%_docdir/%name
cp -fR doc/* %buildroot%_docdir/%name

%files
%_bindir/*

%files -n python-module-%name
%_libexecdir/python%__python_version/site-packages/*
%ifnarch x86_64
%exclude %_libexecdir/python%__python_version/site-packages/boccalib/templates/gmake/__init__.py?
%exclude %_libexecdir/python%__python_version/site-packages/boccalib/templates/gmake/python/*.py?
%endif

%files docs
%_docdir/%name

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin