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: http://samba.org/ftp/talloc/talloc-%{version}.tar.gz
10 # Source0-md5: 6e3fdfbc43dde8ccba27b6af894b8fb2
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 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 The talloc library implements a hierarchical allocator with
25 %description -l pl.UTF-8
26 Biblioteka talloc jest implementacją systemu zarządzania pamięcią
27 opartego na hierarchicznej puli wraz z destruktorami.
30 Summary: Development files for the talloc library
31 Summary(pl.UTF-8): Pliki programistyczne biblioteki talloc
32 Group: Development/Libraries
33 Requires: %{name} = %{epoch}:%{version}-%{release}
34 Obsoletes: libtalloc-static
37 Development files needed to create programs that link against the
40 %description devel -l pl.UTF-8
41 Pliki programistyczne potrzebne do tworzenia programów używających
44 %package -n python-talloc
45 Summary: Python binding for talloc library
46 Summary(pl.UTF-8): Wiązanie Pythona do biblioteki talloc
47 Group: Libraries/Python
48 Requires: %{name} = %{epoch}:%{version}-%{release}
49 Requires: python-libs >= 1:2.4.2
51 %description -n python-talloc
52 Python binding for talloc library.
54 %description -n python-talloc -l pl.UTF-8
55 Wiązanie Pythona do biblioteki talloc.
57 %package -n python-talloc-devel
58 Summary: Development files for pytalloc-util library
59 Summary(pl.UTF-8): Pliki programistyczne biblioteki pytalloc-util
60 Group: Development/Libraries
61 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
62 Requires: python-devel >= 1:2.4.2
63 Requires: python-talloc = %{epoch}:%{version}-%{release}
65 %description -n python-talloc-devel
66 Development files for pytalloc-util library.
68 %description -n python-talloc-devel -l pl.UTF-8
69 Pliki programistyczne biblioteki pytalloc-util.
72 %setup -q -n talloc-%{version}
75 # note: configure in fact is waf call
77 CFLAGS="%{rpmcflags}" \
78 PYTHONDIR=%{py_sitedir} \
87 rm -rf $RPM_BUILD_ROOT
90 DESTDIR=$RPM_BUILD_ROOT
93 rm -rf $RPM_BUILD_ROOT
95 %post -p /sbin/ldconfig
96 %postun -p /sbin/ldconfig
98 %triggerpostun -p /sbin/postshell -- %{name} < 2:2.0.1-5
99 -rm -f %{_libdir}/libtalloc.so.2
103 %defattr(644,root,root,755)
104 %attr(755,root,root) %{_libdir}/libtalloc.so.*.*.*
105 %attr(755,root,root) %ghost %{_libdir}/libtalloc.so.2
108 %defattr(644,root,root,755)
109 %doc talloc_guide.txt
110 %attr(755,root,root) %{_libdir}/libtalloc.so
111 %{_includedir}/talloc.h
112 %{_pkgconfigdir}/talloc.pc
113 %{_mandir}/man3/talloc.3*
115 %files -n python-talloc
116 %defattr(644,root,root,755)
117 %attr(755,root,root) %{_libdir}/libpytalloc-util.so.*.*.*
118 %attr(755,root,root) %ghost %{_libdir}/libpytalloc-util.so.2
119 %attr(755,root,root) %{py_sitedir}/talloc.so
121 %files -n python-talloc-devel
122 %defattr(644,root,root,755)
123 %attr(755,root,root) %{_libdir}/libpytalloc-util.so
124 %{_includedir}/pytalloc.h
125 %{_pkgconfigdir}/pytalloc-util.pc