Accepting request 196771 from network:samba:STABLE
- Consolidate python files in independent pyldb subpackages. - Add pyldb to baselibs.conf. OBS-URL: https://build.opensuse.org/request/show/196771 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ldb?expand=0&rev=9
This commit is contained in:
commit
9b14c00433
@ -1 +1,2 @@
|
|||||||
libldb1
|
libldb1
|
||||||
|
pyldb
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Aug 29 10:43:09 UTC 2013 - lmuelle@suse.com
|
||||||
|
|
||||||
|
- Consolidate python files in independent pyldb subpackages.
|
||||||
|
- Add pyldb to baselibs.conf.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Jul 2 10:31:06 UTC 2013 - lmuelle@suse.com
|
Tue Jul 2 10:31:06 UTC 2013 - lmuelle@suse.com
|
||||||
|
|
||||||
|
40
ldb.spec
40
ldb.spec
@ -87,6 +87,26 @@ Group: Development/Libraries/C and C++
|
|||||||
Tools to manipulate ldb files
|
Tools to manipulate ldb files
|
||||||
|
|
||||||
|
|
||||||
|
%package -n pyldb
|
||||||
|
Summary: Python bindings for the LDB library
|
||||||
|
Group: Development/Libraries/Python
|
||||||
|
Requires: %{libldb_name} = %{version}
|
||||||
|
PreReq: /sbin/ldconfig
|
||||||
|
|
||||||
|
%description -n pyldb
|
||||||
|
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
|
||||||
|
|
||||||
@ -124,10 +144,13 @@ DESTDIR=${RPM_BUILD_ROOT} make install
|
|||||||
|
|
||||||
%postun -n %{libldb_name} -p /sbin/ldconfig
|
%postun -n %{libldb_name} -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%post -n pyldb -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%postun -n pyldb -p /sbin/ldconfig
|
||||||
|
|
||||||
%files -n %{libldb_name}
|
%files -n %{libldb_name}
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_libdir}/libldb.so.*
|
%{_libdir}/libldb.so.*
|
||||||
%{_libdir}/libpyldb-util.so.*
|
|
||||||
%dir %{_libdir}/ldb
|
%dir %{_libdir}/ldb
|
||||||
%{_libdir}/ldb/asq.so
|
%{_libdir}/ldb/asq.so
|
||||||
%{_libdir}/ldb/paged_results.so
|
%{_libdir}/ldb/paged_results.so
|
||||||
@ -145,14 +168,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
|
|
||||||
%{python_sitearch}/ldb.so
|
|
||||||
|
|
||||||
%files -n ldb-tools
|
%files -n ldb-tools
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@ -163,4 +182,15 @@ DESTDIR=${RPM_BUILD_ROOT} make install
|
|||||||
%{_bindir}/ldbrename
|
%{_bindir}/ldbrename
|
||||||
%{_bindir}/ldbsearch
|
%{_bindir}/ldbsearch
|
||||||
|
|
||||||
|
%files -n pyldb
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%{python_sitearch}/ldb.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
|
||||||
|
Loading…
Reference in New Issue
Block a user