Consolidate python files in independent pyldb subpackages.

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/ldb?expand=0&rev=36
This commit is contained in:
Lars Müller 2013-08-29 11:43:46 +00:00 committed by Git OBS Bridge
parent 420539273a
commit 15b22a3983
2 changed files with 17 additions and 4 deletions

View File

@ -1,7 +1,7 @@
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Aug 29 10:43:09 UTC 2013 - lmuelle@suse.com Thu Aug 29 10:43:09 UTC 2013 - lmuelle@suse.com
- Consolidate python files in the independent pyldb subpackage. - Consolidate python files in independent pyldb subpackages.
- Add pyldb to baselibs.conf. - Add pyldb to baselibs.conf.
------------------------------------------------------------------- -------------------------------------------------------------------

View File

@ -96,6 +96,16 @@ Requires: %{libldb_name} = %{version}
This package contains the python bindings for the LDB library. This package contains the python bindings for the LDB library.
%package -n pyldb-devel
Summary: Development files for the Python bindings for the LDB library
Group: Development/Libraries/Python
Requires: pyldb = %{version}
%description -n pyldb-devel
This package contains the development files for the Python bindings for the
LDB library.
%prep %prep
%setup -n ldb-%{version} -q %setup -n ldb-%{version} -q
@ -157,13 +167,10 @@ DESTDIR=${RPM_BUILD_ROOT} make install
%{_includedir}/ldb_handlers.h %{_includedir}/ldb_handlers.h
%{_includedir}/ldb_module.h %{_includedir}/ldb_module.h
%{_includedir}/ldb_version.h %{_includedir}/ldb_version.h
%{_includedir}/pyldb.h
%{_libdir}/libldb.so %{_libdir}/libldb.so
%dir %{_libdir}/ldb %dir %{_libdir}/ldb
%{_libdir}/ldb/libldb-cmdline.so %{_libdir}/ldb/libldb-cmdline.so
%{_libdir}/libpyldb-util.so
%{_libdir}/pkgconfig/ldb.pc %{_libdir}/pkgconfig/ldb.pc
%{_libdir}/pkgconfig/pyldb-util.pc
%files -n ldb-tools %files -n ldb-tools
%defattr(-,root,root) %defattr(-,root,root)
@ -179,4 +186,10 @@ DESTDIR=${RPM_BUILD_ROOT} make install
%{python_sitearch}/ldb.so %{python_sitearch}/ldb.so
%{_libdir}/libpyldb-util.so.* %{_libdir}/libpyldb-util.so.*
%files -n pyldb-devel
%defattr(-,root,root,-)
%{_includedir}/pyldb.h
%{_libdir}/libpyldb-util.so
%{_libdir}/pkgconfig/pyldb-util.pc
%changelog %changelog