Sisyphus repository
Last update: 22 october 2019 | SRPMs: 17517 | Visits: 15399678
en ru br
ALT Linux repos

Group :: System/Libraries
RPM: libtalloc

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define _unpackaged_files_terminate_build 1
%def_with check
%def_with python3

Name: libtalloc
Version: 2.1.14
Release: alt2
Epoch: 1

Summary: The talloc library

License: LGPLv3+
Group: System/Libraries

Patch: talloc-alt-fix-python-ldflags.patch

BuildRequires: docbook-dtds docbook-style-xsl libacl-devel libcap-devel python-devel xsltproc

%if_with python3
BuildRequires(pre): rpm-build-python3
BuildRequires: python3-devel

A library that implements a hierarchical allocator with destructors.

%package devel
Group: Development/C
Summary: Developer tools for the Talloc library
Requires: %name = %EVR

%description devel
Header files needed to develop programs that link against the Talloc library.

%package -n python-module-talloc
Group: Development/Python
Summary: Python bindings for the Talloc library
Requires: libtalloc = %EVR

Provides: libpytalloc = %EVR
Obsoletes: libpytalloc < 2.1.14

%description -n python-module-talloc
Python libraries for creating bindings using talloc

%package -n python-module-talloc-devel
Group: Development/Python
Summary: Development libraries for python-module-talloc
Requires: python-module-talloc = %EVR

Provides: libpytalloc-devel = %EVR
Obsoletes: libpytalloc-devel < 2.1.14

%description -n python-module-talloc-devel
Development libraries for python-module-talloc

%if_with python3
%package -n python3-module-talloc
Group: Development/Python3
Summary: Python3 bindings for the Talloc library
Requires: libtalloc = %EVR

%description -n python3-module-talloc
Python 3 libraries for creating bindings using talloc

%package -n python3-module-talloc-devel
Group: Development/Python3
Summary: Development libraries for python3-module-talloc
Requires: python3-module-talloc = %EVR

%description -n python3-module-talloc-devel
Development libraries for python3-module-talloc

%setup -n talloc-%version
%patch -p1

%undefine _configure_gettext
%configure --disable-rpath \
--disable-rpath-install \
--bundled-libraries=NONE \
--builtin-libraries=replace \
%if_with python3
               --extra-python=python3 \


rm -f %buildroot%_libdir/*.a
rm -f %buildroot%_datadir/swig/*/talloc.i

make test


%files devel

%files -n python-module-talloc

%files -n python-module-talloc-devel

%if_with python3
%files -n python3-module-talloc

%files -n python3-module-talloc-devel


Full changelog you can see here

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