]> git.pld-linux.org Git - packages/talloc.git/blame - talloc.spec
- disable rpath; release 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 4Version: 2.1.2
190009f9 5Release: 2
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} \
190009f9
JB
85 --libdir=%{_libdir} \
86 --disable-rpath
2fa8f90d
JB
87
88%{__make} \
89 V=1
e805f8fc
AM
90
91%install
92rm -rf $RPM_BUILD_ROOT
93
94%{__make} install \
95 DESTDIR=$RPM_BUILD_ROOT
96
e805f8fc
AM
97%clean
98rm -rf $RPM_BUILD_ROOT
99
8d005b92
ER
100%post -p /sbin/ldconfig
101%postun -p /sbin/ldconfig
fae138d9 102
747c9196 103%triggerpostun -p /sbin/postshell -- libtalloc < 2:2.0.1-5
fae138d9 104-rm -f %{_libdir}/libtalloc.so.2
aa06a936 105/sbin/ldconfig
8d005b92 106
e805f8fc
AM
107%files
108%defattr(644,root,root,755)
43dca2ed 109%attr(755,root,root) %{_libdir}/libtalloc.so.*.*.*
bcf5da10 110%attr(755,root,root) %ghost %{_libdir}/libtalloc.so.2
e805f8fc
AM
111
112%files devel
113%defattr(644,root,root,755)
2fa8f90d 114%doc talloc_guide.txt
e805f8fc 115%attr(755,root,root) %{_libdir}/libtalloc.so
76e3b085 116%{_includedir}/talloc.h
e805f8fc
AM
117%{_pkgconfigdir}/talloc.pc
118%{_mandir}/man3/talloc.3*
76e3b085 119
2fa8f90d
JB
120%files -n python-talloc
121%defattr(644,root,root,755)
122%attr(755,root,root) %{_libdir}/libpytalloc-util.so.*.*.*
123%attr(755,root,root) %ghost %{_libdir}/libpytalloc-util.so.2
124%attr(755,root,root) %{py_sitedir}/talloc.so
125
126%files -n python-talloc-devel
76e3b085 127%defattr(644,root,root,755)
2fa8f90d
JB
128%attr(755,root,root) %{_libdir}/libpytalloc-util.so
129%{_includedir}/pytalloc.h
130%{_pkgconfigdir}/pytalloc-util.pc
This page took 0.073325 seconds and 4 git commands to generate.