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: 6bc6e6ac293e739a902dd73cdc88f664
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} \
91 rm -rf $RPM_BUILD_ROOT
94 DESTDIR=$RPM_BUILD_ROOT
97 rm -rf $RPM_BUILD_ROOT
99 %post -p /sbin/ldconfig
100 %postun -p /sbin/ldconfig
102 %triggerpostun -p /sbin/postshell -- libtalloc < 2:2.0.1-5
103 -rm -f %{_libdir}/libtalloc.so.2
107 %defattr(644,root,root,755)
108 %attr(755,root,root) %{_libdir}/libtalloc.so.*.*.*
109 %attr(755,root,root) %ghost %{_libdir}/libtalloc.so.2
112 %defattr(644,root,root,755)
113 %doc talloc_guide.txt
114 %attr(755,root,root) %{_libdir}/libtalloc.so
115 %{_includedir}/talloc.h
116 %{_pkgconfigdir}/talloc.pc
117 %{_mandir}/man3/talloc.3*
119 %files -n python-talloc
120 %defattr(644,root,root,755)
121 %attr(755,root,root) %{_libdir}/libpytalloc-util.so.*.*.*
122 %attr(755,root,root) %ghost %{_libdir}/libpytalloc-util.so.2
123 %attr(755,root,root) %{py_sitedir}/talloc.so
125 %files -n python-talloc-devel
126 %defattr(644,root,root,755)
127 %attr(755,root,root) %{_libdir}/libpytalloc-util.so
128 %{_includedir}/pytalloc.h
129 %{_pkgconfigdir}/pytalloc-util.pc