]> git.pld-linux.org Git - packages/talloc.git/blame - talloc.spec
- updated to 2.1.2
[packages/talloc.git] / talloc.spec
CommitLineData
76e3b085
JB
1Summary: The talloc library - a hierarchical pool based memory system
2Summary(pl.UTF-8): Biblioteka talloc - system przydzielania pamięci oparty na hierarchicznej puli
747c9196 3Name: talloc
cd8e4dd7
JB
4Version: 2.1.2
5Release: 1
d299e0c7 6Epoch: 2
e805f8fc 7License: LGPL v3+
ae0209ab 8Group: Libraries
cd8e4dd7
JB
9Source0: https://www.samba.org/ftp/talloc/%{name}-%{version}.tar.gz
10# Source0-md5: 6bc6e6ac293e739a902dd73cdc88f664
76e3b085 11URL: http://talloc.samba.org/
2228f496 12BuildRequires: docbook-dtd42-xml
e805f8fc 13BuildRequires: docbook-style-xsl
76e3b085 14BuildRequires: libxslt-progs
2fa8f90d
JB
15BuildRequires: python >= 1:2.4.2
16BuildRequires: python-devel >= 1:2.4.2
2228f496 17BuildRequires: python-modules
18BuildRequires: rpm-pythonprov
747c9196 19Provides: libtalloc = 2:%{version}-%{release}
40b9a6c7 20Obsoletes: libtalloc < 2:2.0.7-2
8d005b92 21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
e805f8fc
AM
22
23%description
76e3b085
JB
24The talloc library implements a hierarchical allocator with
25destructors.
26
27%description -l pl.UTF-8
28Biblioteka talloc jest implementacją systemu zarządzania pamięcią
29opartego na hierarchicznej puli wraz z destruktorami.
e805f8fc
AM
30
31%package devel
76e3b085
JB
32Summary: Development files for the talloc library
33Summary(pl.UTF-8): Pliki programistyczne biblioteki talloc
e805f8fc 34Group: Development/Libraries
f0d9f460 35Requires: %{name} = %{epoch}:%{version}-%{release}
747c9196 36Provides: libtalloc-devel = 2:%{version}-%{release}
40b9a6c7 37Obsoletes: libtalloc-devel < 2:2.0.7-2
2fa8f90d 38Obsoletes: libtalloc-static
e805f8fc
AM
39
40%description devel
76e3b085
JB
41Development files needed to create programs that link against the
42talloc library.
43
44%description devel -l pl.UTF-8
45Pliki programistyczne potrzebne do tworzenia programów używających
46biblioteki talloc.
47
2fa8f90d
JB
48%package -n python-talloc
49Summary: Python binding for talloc library
50Summary(pl.UTF-8): Wiązanie Pythona do biblioteki talloc
51Group: Libraries/Python
f0d9f460 52Requires: %{name} = %{epoch}:%{version}-%{release}
2fa8f90d
JB
53Requires: python-libs >= 1:2.4.2
54
55%description -n python-talloc
56Python binding for talloc library.
57
58%description -n python-talloc -l pl.UTF-8
59Wiązanie Pythona do biblioteki talloc.
60
61%package -n python-talloc-devel
62Summary: Development files for pytalloc-util library
63Summary(pl.UTF-8): Pliki programistyczne biblioteki pytalloc-util
76e3b085 64Group: Development/Libraries
f0d9f460 65Requires: %{name}-devel = %{epoch}:%{version}-%{release}
2fa8f90d 66Requires: python-devel >= 1:2.4.2
709b3e86 67Requires: python-talloc = %{epoch}:%{version}-%{release}
76e3b085 68
2fa8f90d
JB
69%description -n python-talloc-devel
70Development files for pytalloc-util library.
76e3b085 71
2fa8f90d
JB
72%description -n python-talloc-devel -l pl.UTF-8
73Pliki programistyczne biblioteki pytalloc-util.
e805f8fc
AM
74
75%prep
747c9196 76%setup -q
e805f8fc
AM
77
78%build
2fa8f90d
JB
79# note: configure in fact is waf call
80CC="%{__cc}" \
81CFLAGS="%{rpmcflags}" \
82PYTHONDIR=%{py_sitedir} \
83./configure \
84 --prefix=%{_prefix} \
85 --libdir=%{_libdir}
86
87%{__make} \
88 V=1
e805f8fc
AM
89
90%install
91rm -rf $RPM_BUILD_ROOT
92
93%{__make} install \
94 DESTDIR=$RPM_BUILD_ROOT
95
e805f8fc
AM
96%clean
97rm -rf $RPM_BUILD_ROOT
98
8d005b92
ER
99%post -p /sbin/ldconfig
100%postun -p /sbin/ldconfig
fae138d9 101
747c9196 102%triggerpostun -p /sbin/postshell -- libtalloc < 2:2.0.1-5
fae138d9 103-rm -f %{_libdir}/libtalloc.so.2
aa06a936 104/sbin/ldconfig
8d005b92 105
e805f8fc
AM
106%files
107%defattr(644,root,root,755)
43dca2ed 108%attr(755,root,root) %{_libdir}/libtalloc.so.*.*.*
bcf5da10 109%attr(755,root,root) %ghost %{_libdir}/libtalloc.so.2
e805f8fc
AM
110
111%files devel
112%defattr(644,root,root,755)
2fa8f90d 113%doc talloc_guide.txt
e805f8fc 114%attr(755,root,root) %{_libdir}/libtalloc.so
76e3b085 115%{_includedir}/talloc.h
e805f8fc
AM
116%{_pkgconfigdir}/talloc.pc
117%{_mandir}/man3/talloc.3*
76e3b085 118
2fa8f90d
JB
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
124
125%files -n python-talloc-devel
76e3b085 126%defattr(644,root,root,755)
2fa8f90d
JB
127%attr(755,root,root) %{_libdir}/libpytalloc-util.so
128%{_includedir}/pytalloc.h
129%{_pkgconfigdir}/pytalloc-util.pc
This page took 0.17453 seconds and 4 git commands to generate.