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
8 Source0: http://samba.org/ftp/talloc/%{name}-%{version}.tar.gz
9 # Source0-md5: dbfb3146f4cc47054e13b8a2988299f9
10 URL: http://talloc.samba.org/
11 BuildRequires: docbook-dtd42-xml
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 BuildRequires: python-modules
17 BuildRequires: rpm-pythonprov
18 Provides: libtalloc = 2:%{version}-%{release}
19 Obsoletes: libtalloc < 2:2.0.7-2
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 The talloc library implements a hierarchical allocator with
26 %description -l pl.UTF-8
27 Biblioteka talloc jest implementacją systemu zarządzania pamięcią
28 opartego na hierarchicznej puli wraz z destruktorami.
31 Summary: Development files for the talloc library
32 Summary(pl.UTF-8): Pliki programistyczne biblioteki talloc
33 Group: Development/Libraries
34 Requires: %{name} = %{version}-%{release}
35 Provides: libtalloc-devel = 2:%{version}-%{release}
36 Obsoletes: libtalloc-devel < 2:2.0.7-2
37 Obsoletes: libtalloc-static
40 Development files needed to create programs that link against the
43 %description devel -l pl.UTF-8
44 Pliki programistyczne potrzebne do tworzenia programów używających
47 %package -n python-talloc
48 Summary: Python binding for talloc library
49 Summary(pl.UTF-8): Wiązanie Pythona do biblioteki talloc
50 Group: Libraries/Python
51 Requires: %{name} = %{version}-%{release}
52 Requires: python-libs >= 1:2.4.2
54 %description -n python-talloc
55 Python binding for talloc library.
57 %description -n python-talloc -l pl.UTF-8
58 Wiązanie Pythona do biblioteki talloc.
60 %package -n python-talloc-devel
61 Summary: Development files for pytalloc-util library
62 Summary(pl.UTF-8): Pliki programistyczne biblioteki pytalloc-util
63 Group: Development/Libraries
64 Requires: %{name}-devel = %{version}-%{release}
65 Requires: python-devel >= 1:2.4.2
66 Requires: python-talloc = %{version}-%{release}
68 %description -n python-talloc-devel
69 Development files for pytalloc-util library.
71 %description -n python-talloc-devel -l pl.UTF-8
72 Pliki programistyczne biblioteki pytalloc-util.
78 # note: configure in fact is waf call
80 CFLAGS="%{rpmcflags}" \
81 PYTHONDIR=%{py_sitedir} \
90 rm -rf $RPM_BUILD_ROOT
93 DESTDIR=$RPM_BUILD_ROOT
96 rm -rf $RPM_BUILD_ROOT
98 %post -p /sbin/ldconfig
99 %postun -p /sbin/ldconfig
101 %triggerpostun -p /sbin/postshell -- libtalloc < 2:2.0.1-5
102 -rm -f %{_libdir}/libtalloc.so.2
106 %defattr(644,root,root,755)
107 %attr(755,root,root) %{_libdir}/libtalloc.so.*.*.*
108 %attr(755,root,root) %ghost %{_libdir}/libtalloc.so.2
111 %defattr(644,root,root,755)
112 %doc talloc_guide.txt
113 %attr(755,root,root) %{_libdir}/libtalloc.so
114 %{_includedir}/talloc.h
115 %{_pkgconfigdir}/talloc.pc
116 %{_mandir}/man3/talloc.3*
118 %files -n python-talloc
119 %defattr(644,root,root,755)
120 %attr(755,root,root) %{_libdir}/libpytalloc-util.so.*.*.*
121 %attr(755,root,root) %ghost %{_libdir}/libpytalloc-util.so.2
122 %attr(755,root,root) %{py_sitedir}/talloc.so
124 %files -n python-talloc-devel
125 %defattr(644,root,root,755)
126 %attr(755,root,root) %{_libdir}/libpytalloc-util.so
127 %{_includedir}/pytalloc.h
128 %{_pkgconfigdir}/pytalloc-util.pc