commit 9c196e2c3a700962a8ca5e32c5a53b42f894f577
Author: Jakub Bogusz <[email protected]>
Date:   Sun Dec 16 13:40:28 2012 +0100

    - pl, updated talloc package name

 ldb.spec | 73 +++++++++++++++++++++++++++++++++++++++++-----------------------
 1 file changed, 47 insertions(+), 26 deletions(-)
---
diff --git a/ldb.spec b/ldb.spec
index 909b6d7..02dc54c 100644
--- a/ldb.spec
+++ b/ldb.spec
@@ -1,28 +1,29 @@
 # TODO
 # - ld.bfd enforced because gold does not understand '!' in version script 
(binutils-3:2.21.53.0.1-1)
 %define                talloc_version  2.0.5
-%define                tdb_version             2:1.2.9
+%define                tdb_version     2:1.2.9
 %define                tevent_version  0.9.12
-Summary:       A schema-less, ldap like, API and database
+Summary:       LDAP-like embedded database
+Summary(pl.UTF-8):     Wbudowana baza danych podobna do LDAP
 Name:          ldb
 Version:       1.1.0
 Release:       4
 License:       LGPL v3+
 Group:         Development/Libraries
-URL:           http://ldb.samba.org/
 Source0:       http://samba.org/ftp/ldb/%{name}-%{version}.tar.gz
 # Source0-md5: 61145ad9cfe017ce4fca5cbc77b9552b
+URL:           http://ldb.samba.org/
 BuildRequires: autoconf
 BuildRequires: docbook-style-xsl
-BuildRequires: libtalloc-devel >= %{talloc_version}
 BuildRequires: libxslt
 BuildRequires: popt-devel
 BuildRequires: python-devel
 BuildRequires: python-talloc-devel
 BuildRequires: python-tdb
+BuildRequires: talloc-devel >= %{talloc_version}
 BuildRequires: tdb-devel >= %{tdb_version}
 BuildRequires: tevent-devel >= %{tevent_version}
-Requires:      libtalloc >= %{talloc_version}
+Requires:      talloc >= %{talloc_version}
 Requires:      tdb >= %{tdb_version}
 Requires:      tevent >= %{tevent_version}
 Provides:      libldb = %{version}-%{release}
@@ -33,20 +34,29 @@ BuildRoot:  %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 An extensible library that implements an LDAP like API to access
 remote LDAP servers, or use local tdb databases.
 
+%description -l pl.UTF-8
+Rozszerzalna biblioteka implementująca API podobne do LDAP pozwalające
+na dostęp do zdalnych serwerów LDAP lub wykorzystanie lokalnych baz
+danych tdb.
+
 %package tools
 Summary:       Tools to manage LDB files
-Group:         Development/Libraries
+Summary(pl.UTF-8):     Narzędzia do zarządzania plikami LDB
+Group:         Applications/Databases
 Requires:      %{name} = %{version}-%{release}
 
 %description tools
 Tools to manage LDB files.
 
+%description tools -l pl.UTF-8
+Narzędzia do zarządzania plikami LDB.
+
 %package devel
-Summary:       Developer tools for the LDB library
+Summary:       Header files for the LDB library
+Summary(pl.UTF-8):     Pliki nagłówkowe biblioteki LDB
 Group:         Development/Libraries
 Requires:      %{name} = %{version}-%{release}
-Requires:      libtalloc-devel >= %{talloc_version}
-Requires:      pkgconfig
+Requires:      talloc-devel >= %{talloc_version}
 Requires:      tdb-devel >= %{tdb_version}
 Requires:      tevent-devel >= %{tevent_version}
 Provides:      libldb-devel = %{version}-%{release}
@@ -56,9 +66,14 @@ Obsoletes:   libldb-devel < 1.1.0-3
 Header files needed to develop programs that link against the LDB
 library.
 
+%description devel -l pl.UTF-8
+Pliki nagłówkowe potrzebne do tworzenia programów wykorzystujących
+bibliotekę LDB.
+
 %package -n python-ldb
 Summary:       Python bindings for the LDB library
-Group:         Development/Libraries
+Summary(pl.UTF-8):     Wiązania Pythona do biblioteki LDB
+Group:         Libraries/Python
 Requires:      %{name} = %{version}-%{release}
 Requires:      python-tdb = %{tdb_version}
 Obsoletes:     pyldb
@@ -66,13 +81,20 @@ Obsoletes:  pyldb
 %description -n python-ldb
 Python bindings for the LDB library.
 
+%description -n python-ldb -l pl.UTF-8
+Wiązania Pythona do biblioteki LDB.
+
 %package -n python-ldb-devel
 Summary:       Development files for the Python bindings for the LDB library
+Summary(pl.UTF-8):     Pliki programistyczne wiązań Pythona do biblioteki LDB
 Group:         Development/Libraries
 Requires:      python-ldb = %{version}-%{release}
 
 %description -n python-ldb-devel
-Development files for the Python bindings for the LDB library
+Development files for the Python bindings for the LDB library.
+
+%description -n python-ldb-devel -l pl.UTF-8
+Pliki programistyczne wiązań Pythona do biblioteki LDB.
 
 %prep
 %setup -q
@@ -117,13 +139,13 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libldb.so.*
 %dir %{_libdir}/ldb
-%{_libdir}/libldb.so.*
 %dir %{_libdir}/ldb/modules
 %dir %{_libdir}/ldb/modules/ldb
-%{_libdir}/ldb/modules/ldb/*.so
+%attr(755,root,root) %{_libdir}/ldb/modules/ldb/*.so
 
-%files -n ldb-tools
+%files tools
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/ldbadd
 %attr(755,root,root) %{_bindir}/ldbdel
@@ -131,33 +153,32 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_bindir}/ldbmodify
 %attr(755,root,root) %{_bindir}/ldbrename
 %attr(755,root,root) %{_bindir}/ldbsearch
-%{_libdir}/ldb/libldb-cmdline.so
-%{_mandir}/man1/ldbadd.1.*
-%{_mandir}/man1/ldbdel.1.*
-%{_mandir}/man1/ldbedit.1.*
-%{_mandir}/man1/ldbmodify.1.*
-%{_mandir}/man1/ldbrename.1.*
-%{_mandir}/man1/ldbsearch.1.*
+%attr(755,root,root) %{_libdir}/ldb/libldb-cmdline.so
+%{_mandir}/man1/ldbadd.1*
+%{_mandir}/man1/ldbdel.1*
+%{_mandir}/man1/ldbedit.1*
+%{_mandir}/man1/ldbmodify.1*
+%{_mandir}/man1/ldbrename.1*
+%{_mandir}/man1/ldbsearch.1*
 
 %files devel
 %defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libldb.so
 %{_includedir}/ldb_module.h
 %{_includedir}/ldb_handlers.h
 %{_includedir}/ldb_errors.h
 %{_includedir}/ldb_version.h
 %{_includedir}/ldb.h
-%{_libdir}/libldb.so
-
 %{_pkgconfigdir}/ldb.pc
 %{_mandir}/man3/ldb.3*
 
 %files -n python-ldb
 %defattr(644,root,root,755)
-%{py_sitedir}/ldb.so
-%{_libdir}/libpyldb-util.so.1*
+%attr(755,root,root) %{_libdir}/libpyldb-util.so.1*
+%attr(755,root,root) %{py_sitedir}/ldb.so
 
 %files -n python-ldb-devel
 %defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libpyldb-util.so
 %{_includedir}/pyldb.h
-%{_libdir}/libpyldb-util.so
 %{_pkgconfigdir}/pyldb-util.pc
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ldb.git/commitdiff/9c196e2c3a700962a8ca5e32c5a53b42f894f577

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to