1 Summary: The talloc library - a hierarchical pool based memory system
2 Summary(pl.UTF-8): Biblioteka talloc - system przydzielania pamięci oparty na hierarchicznej puli
9 Source0: https://www.samba.org/ftp/talloc/%{name}-%{version}.tar.gz
10 # Source0-md5: f497cb42b3d9622b721b72146f1fa3be
11 URL: http://talloc.samba.org/
12 BuildRequires: docbook-dtd42-xml
13 BuildRequires: docbook-style-xsl
14 BuildRequires: libxslt-progs
15 BuildRequires: python >= 1:2.4.2
16 BuildRequires: python-devel >= 1:2.4.2
17 BuildRequires: python-modules
18 BuildRequires: rpm-pythonprov
19 Provides: libtalloc = 2:%{version}-%{release}
20 Obsoletes: libtalloc < 2:2.0.7-2
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 The talloc library implements a hierarchical allocator with
27 %description -l pl.UTF-8
28 Biblioteka talloc jest implementacją systemu zarządzania pamięcią
29 opartego na hierarchicznej puli wraz z destruktorami.
32 Summary: Development files for the talloc library
33 Summary(pl.UTF-8): Pliki programistyczne biblioteki talloc
34 Group: Development/Libraries
35 Requires: %{name} = %{epoch}:%{version}-%{release}
36 Provides: libtalloc-devel = 2:%{version}-%{release}
37 Obsoletes: libtalloc-devel < 2:2.0.7-2
38 Obsoletes: libtalloc-static
41 Development files needed to create programs that link against the
44 %description devel -l pl.UTF-8
45 Pliki programistyczne potrzebne do tworzenia programów używających
48 %package -n python-talloc
49 Summary: Python binding for talloc library
50 Summary(pl.UTF-8): Wiązanie Pythona do biblioteki talloc
51 Group: Libraries/Python
52 Requires: %{name} = %{epoch}:%{version}-%{release}
53 Requires: python-libs >= 1:2.4.2
55 %description -n python-talloc
56 Python binding for talloc library.
58 %description -n python-talloc -l pl.UTF-8
59 Wiązanie Pythona do biblioteki talloc.
61 %package -n python-talloc-devel
62 Summary: Development files for pytalloc-util library
63 Summary(pl.UTF-8): Pliki programistyczne biblioteki pytalloc-util
64 Group: Development/Libraries
65 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
66 Requires: python-devel >= 1:2.4.2
67 Requires: python-talloc = %{epoch}:%{version}-%{release}
69 %description -n python-talloc-devel
70 Development files for pytalloc-util library.
72 %description -n python-talloc-devel -l pl.UTF-8
73 Pliki programistyczne biblioteki pytalloc-util.
79 # note: configure in fact is waf call
81 CFLAGS="%{rpmcflags}" \
82 PYTHONDIR=%{py_sitedir} \
92 rm -rf $RPM_BUILD_ROOT
95 DESTDIR=$RPM_BUILD_ROOT
98 rm -rf $RPM_BUILD_ROOT
100 %post -p /sbin/ldconfig
101 %postun -p /sbin/ldconfig
103 %triggerpostun -p /sbin/postshell -- libtalloc < 2:2.0.1-5
104 -rm -f %{_libdir}/libtalloc.so.2
108 %defattr(644,root,root,755)
109 %attr(755,root,root) %{_libdir}/libtalloc.so.*.*.*
110 %attr(755,root,root) %ghost %{_libdir}/libtalloc.so.2
113 %defattr(644,root,root,755)
114 %doc talloc_guide.txt
115 %attr(755,root,root) %{_libdir}/libtalloc.so
116 %{_includedir}/talloc.h
117 %{_pkgconfigdir}/talloc.pc
118 %{_mandir}/man3/talloc.3*
120 %files -n python-talloc
121 %defattr(644,root,root,755)
122 %attr(755,root,root) %{_libdir}/libpytalloc-util.so.*.*.*
123 %attr(755,root,root) %ghost %{_libdir}/libpytalloc-util.so.2
124 %attr(755,root,root) %{py_sitedir}/talloc.so
126 %files -n python-talloc-devel
127 %defattr(644,root,root,755)
128 %attr(755,root,root) %{_libdir}/libpytalloc-util.so
129 %{_includedir}/pytalloc.h
130 %{_pkgconfigdir}/pytalloc-util.pc