- Rename package to talloc and add an independent libtalloc2 subpackage.
- Enhance and polish the package descriptions and summaries. OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/talloc?expand=0&rev=5
This commit is contained in:
parent
e26d72e345
commit
0fc3165607
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Jun 2 15:05:32 UTC 2012 - lmuelle@suse.com
|
||||
|
||||
- Rename package to talloc and add an independent libtalloc2 subpackage.
|
||||
- Enhance and polish the package descriptions and summaries.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 31 12:50:32 UTC 2012 - lmuelle@suse.com
|
||||
|
||||
|
60
talloc.spec
60
talloc.spec
@ -1,5 +1,5 @@
|
||||
#
|
||||
# spec file for package libtalloc2 (Version 2.0.7)
|
||||
# spec file for package talloc (Version 2.0.7)
|
||||
#
|
||||
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
@ -19,18 +19,8 @@
|
||||
|
||||
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
||||
|
||||
Name: libtalloc2
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: docbook-xsl-stylesheets
|
||||
BuildRequires: doxygen
|
||||
BuildRequires: libxslt
|
||||
%if 0%{?suse_version} > 1020
|
||||
BuildRequires: pkg-config
|
||||
%else
|
||||
BuildRequires: pkgconfig
|
||||
%endif
|
||||
BuildRequires: python-devel
|
||||
Provides: bundled(libreplace)
|
||||
|
||||
Name: talloc
|
||||
%if 0%{?suse_version} == 0 || 0%{?suse_version} > 1140
|
||||
%define build_make_smp_mflags %{?_smp_mflags}
|
||||
%else
|
||||
@ -48,6 +38,33 @@ Source4: baselibs.conf
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
Talloc is a hierarchical, reference counted memory pool system with
|
||||
destructors.
|
||||
|
||||
It is the core memory allocator used in Samba.
|
||||
|
||||
|
||||
%package -n libtalloc2
|
||||
License: LGPL-3.0+
|
||||
Summary: Libraries and Header Files to Develop Programs with talloc2 Support
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: docbook-xsl-stylesheets
|
||||
BuildRequires: doxygen
|
||||
BuildRequires: libxslt
|
||||
%if 0%{?suse_version} > 1020
|
||||
BuildRequires: pkg-config
|
||||
%else
|
||||
BuildRequires: pkgconfig
|
||||
%endif
|
||||
BuildRequires: python-devel
|
||||
Provides: bundled(libreplace)
|
||||
|
||||
%description -n libtalloc2
|
||||
Talloc is a hierarchical, reference counted memory pool system with
|
||||
destructors.
|
||||
|
||||
It is the core memory allocator used in Samba.
|
||||
|
||||
This package includes the talloc2 library.
|
||||
|
||||
|
||||
@ -58,23 +75,28 @@ Group: Development/Libraries/C and C++
|
||||
Requires: libtalloc2 = %{version}
|
||||
|
||||
%description -n libtalloc-devel
|
||||
Talloc is a hierarchical, reference counted memory pool system with
|
||||
destructors.
|
||||
|
||||
It is the core memory allocator used in Samba.
|
||||
|
||||
Libraries and Header Files to Develop Programs with talloc2 Support
|
||||
|
||||
|
||||
%package -n pytalloc
|
||||
License: LGPL-3.0+
|
||||
Summary: Python bindings for the Talloc library
|
||||
Group: Development/Libraries
|
||||
Group: Development/Libraries/Python
|
||||
Requires: libtalloc2 = %{version}
|
||||
|
||||
%description -n pytalloc
|
||||
Python bindings for libtalloc
|
||||
This package contains the python bindings for the Talloc library.
|
||||
|
||||
|
||||
%package -n pytalloc-devel
|
||||
License: LGPL-3.0+
|
||||
Summary: Developer tools for the Talloc library
|
||||
Group: Development/Libraries
|
||||
Group: Development/Libraries/Python
|
||||
Requires: pytalloc = %{version}
|
||||
|
||||
%description -n pytalloc-devel
|
||||
@ -109,15 +131,15 @@ doxygen doxy.config
|
||||
%install
|
||||
DESTDIR=${RPM_BUILD_ROOT} make install
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
%post -n libtalloc2 -p /sbin/ldconfig
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
%postun -n libtalloc2 -p /sbin/ldconfig
|
||||
|
||||
%post -n pytalloc -p /sbin/ldconfig
|
||||
|
||||
%postun -n pytalloc -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%files -n libtalloc2
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libtalloc.so.*
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user