]> git.pld-linux.org Git - packages/tevent.git/blame - tevent.spec
- updated to 0.9.22
[packages/tevent.git] / tevent.spec
CommitLineData
d79016b6
JB
1Summary: An event system library
2Summary(pl.UTF-8): Biblioteka systemu zdarzeń
3Name: tevent
9e2eb386 4Version: 0.9.22
dd71e5fd 5Release: 1
d79016b6
JB
6License: LGPL v3+
7Group: Libraries
1b5cdcad 8Source0: http://www.samba.org/ftp/tevent/%{name}-%{version}.tar.gz
9e2eb386 9# Source0-md5: a526afa69137d660f9885ffcb6dea8ac
d79016b6 10URL: http://tevent.samba.org/
9e2eb386 11BuildRequires: talloc-devel >= 2:2.1.1
d79016b6 12BuildRequires: python-devel >= 1:2.4.2
9e2eb386 13BuildRequires: python-talloc-devel >= 2:2.1.1
d79016b6 14BuildRequires: rpm-pythonprov
70aba668 15BuildRequires: rpmbuild(macros) >= 1.219
d79016b6
JB
16BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18%description
19Tevent is an event system based on the talloc memory management
20library. It is the core event system used in Samba.
21
22The low level tevent has support for many event types, including
23timers, signals, and the classic file descriptor events.
24
25Tevent also provide helpers to deal with asynchronous code providing
26the tevent_req (tevent request) functions.
27
28%description -l pl.UTF-8
29Tevent to system zdarzeń oparty na bibliotece zarządzającej pamięcią
30talloc. Jest to główny system zdarzeń używany w Sambie.
31
32Niskopoziomowo tevent obsługuje wiele rodzajów zdarzeń, w tym
33zegary, sygnały i zdarzenia związane z klasycznymi deskryptorami
34plików.
35
36Tevent udostępnia także funkcje pomocnicze tevent_req (żądanie tevent)
37dla kodu asynchronicznego.
38
39%package devel
40Summary: Header files for tevent library
41Summary(pl.UTF-8): Pliki nagłówkowe biblioteki tevent
42Group: Development/Libraries
43Requires: %{name} = %{version}-%{release}
9e2eb386 44Requires: talloc-devel >= 2:2.1.1
d79016b6
JB
45
46%description devel
47Header files for tevent library.
48
49%description devel -l pl.UTF-8
50Pliki nagłówkowe biblioteki tevent.
51
52%package -n python-tevent
53Summary: Python bindings for tevent
54Summary(pl.UTF-8): Pythonowy interfejs do tevent
55Group: Libraries/Python
56Requires: %{name} = %{version}-%{release}
7fe7a6ee 57Requires: python-talloc >= 2.0.8
d79016b6
JB
58%pyrequires_eq python-libs
59
60%description -n python-tevent
61Python bindings for tevent.
62
63%description -n python-tevent -l pl.UTF-8
64Pythonowy interfejs do tevent.
65
66%prep
67%setup -q
68
69%build
70# note: configure in fact is waf call
71CC="%{__cc}" \
72CFLAGS="%{rpmcflags}" \
73PYTHONDIR=%{py_sitedir} \
74./configure \
75 --prefix=%{_prefix} \
76 --libdir=%{_libdir}
77
78%{__make} \
79 V=1
80
81%install
82rm -rf $RPM_BUILD_ROOT
83
84%{__make} install \
85 DESTDIR=$RPM_BUILD_ROOT
86
70aba668
JB
87%py_comp $RPM_BUILD_ROOT%{py_sitedir}
88%py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
89%py_postclean
90
d79016b6
JB
91%clean
92rm -rf $RPM_BUILD_ROOT
93
94%post -p /sbin/ldconfig
95%postun -p /sbin/ldconfig
96
97%files
98%defattr(644,root,root,755)
99%attr(755,root,root) %{_libdir}/libtevent.so.*.*.*
100%attr(755,root,root) %ghost %{_libdir}/libtevent.so.0
101
102%files devel
103%defattr(644,root,root,755)
104%attr(755,root,root) %{_libdir}/libtevent.so
105%{_includedir}/tevent.h
106%{_pkgconfigdir}/tevent.pc
107
108%files -n python-tevent
109%defattr(644,root,root,755)
110%attr(755,root,root) %{py_sitedir}/_tevent.so
70aba668 111%{py_sitedir}/tevent.py[co]
This page took 0.050724 seconds and 4 git commands to generate.