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-style-xsl
13 BuildRequires: libxslt-progs
14 BuildRequires: python >= 1:2.4.2
15 BuildRequires: python-devel >= 1:2.4.2
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 The talloc library implements a hierarchical allocator with
22 %description -l pl.UTF-8
23 Biblioteka talloc jest implementacją systemu zarządzania pamięcią
24 opartego na hierarchicznej puli wraz z destruktorami.
27 Summary: Development files for the talloc library
28 Summary(pl.UTF-8): Pliki programistyczne biblioteki talloc
29 Group: Development/Libraries
30 Requires: %{name} = %{epoch}:%{version}-%{release}
31 Obsoletes: libtalloc-static
34 Development files needed to create programs that link against the
37 %description devel -l pl.UTF-8
38 Pliki programistyczne potrzebne do tworzenia programów używających
41 %package -n python-talloc
42 Summary: Python binding for talloc library
43 Summary(pl.UTF-8): Wiązanie Pythona do biblioteki talloc
44 Group: Libraries/Python
45 Requires: %{name} = %{epoch}:%{version}-%{release}
46 Requires: python-libs >= 1:2.4.2
48 %description -n python-talloc
49 Python binding for talloc library.
51 %description -n python-talloc -l pl.UTF-8
52 Wiązanie Pythona do biblioteki talloc.
54 %package -n python-talloc-devel
55 Summary: Development files for pytalloc-util library
56 Summary(pl.UTF-8): Pliki programistyczne biblioteki pytalloc-util
57 Group: Development/Libraries
58 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
59 Requires: python-talloc = %{epoch}:%{version}-%{release}
60 Requires: python-devel >= 1:2.4.2
62 %description -n python-talloc-devel
63 Development files for pytalloc-util library.
65 %description -n python-talloc-devel -l pl.UTF-8
66 Pliki programistyczne biblioteki pytalloc-util.
69 %setup -q -n talloc-%{version}
72 # note: configure in fact is waf call
74 CFLAGS="%{rpmcflags}" \
75 PYTHONDIR=%{py_sitedir} \
84 rm -rf $RPM_BUILD_ROOT
87 DESTDIR=$RPM_BUILD_ROOT
90 rm -rf $RPM_BUILD_ROOT
92 %post -p /sbin/ldconfig
93 %postun -p /sbin/ldconfig
95 %triggerpostun -p /sbin/postshell -- %{name} < 2:2.0.1-5
96 -rm -f %{_libdir}/libtalloc.so.2
100 %defattr(644,root,root,755)
101 %attr(755,root,root) %{_libdir}/libtalloc.so.*.*.*
102 %attr(755,root,root) %ghost %{_libdir}/libtalloc.so.2
105 %defattr(644,root,root,755)
106 %doc talloc_guide.txt
107 %attr(755,root,root) %{_libdir}/libtalloc.so
108 %{_includedir}/talloc.h
109 %{_pkgconfigdir}/talloc.pc
110 %{_mandir}/man3/talloc.3*
112 %files -n python-talloc
113 %defattr(644,root,root,755)
114 %attr(755,root,root) %{_libdir}/libpytalloc-util.so.*.*.*
115 %attr(755,root,root) %ghost %{_libdir}/libpytalloc-util.so.2
116 %attr(755,root,root) %{py_sitedir}/talloc.so
118 %files -n python-talloc-devel
119 %defattr(644,root,root,755)
120 %attr(755,root,root) %{_libdir}/libpytalloc-util.so
121 %{_includedir}/pytalloc.h
122 %{_pkgconfigdir}/pytalloc-util.pc