Sophie

Sophie

distrib > Mageia > 7 > aarch64 > media > core-release-src > by-pkgid > f794c80fa33c6fdef053bc3d5be1ad87 > files > 4

tevent-0.9.39-1.mga7.src.rpm

%{?mgaversion: %global mdkversion %(echo $[(2010+%mgaversion)*100])}

%define teventmajor	0
%define libtevent	%mklibname tevent %{teventmajor}
%define teventdevel	%mklibname tevent -d

%define check_sig() export GNUPGHOME=%{_tmppath}/rpm-gpghome \
if [ -d "$GNUPGHOME" ] \
then echo "Error, GNUPGHOME $GNUPGHOME exists, remove it and try again"; exit 1 \
fi \
install -d -m700 $GNUPGHOME \
gpg2 --import %{1} \
gpg2 --trust-model always --verify %{2} \
rm -Rf $GNUPGHOME \

Name: tevent
URL: http://tevent.samba.org/
License: GPLv3
# Shipped in samba4 without internal version:
Epoch: 1
Version: 0.9.39
Release: %mkrel 1
Group: System/Libraries
Summary: Samba4's event management library
Source0: http://samba.org/ftp/tevent/tevent-%{version}.tar.gz
Source1: http://samba.org/ftp/tevent/tevent-%{version}.tar.asc
Source2: samba-bugs.asc
BuildRequires: talloc-devel >= 1:2.1.11
BuildRequires: python2-talloc
BuildRequires: python3-devel
BuildRequires: python3-talloc
BuildRequires: pkgconfig(pytalloc-util) >= 2.1.11
BuildRequires: gnupg2

%description
Tevent is an event system based on the talloc memory management library. It is
the core event system used in Samba. Tevent has support for many event types,
including timers, signals, and the classic file descriptor events. Tevent also
provides helpers to deal with asynchronous code providing the tevent_req
(Tevent Request) functions.

%package -n %{libtevent}
Group: System/Libraries
Summary: Samba4's event management library

%description -n %{libtevent}
Samba4's event management library.

%package -n %{teventdevel}
Group: Development/C
Summary: Development files for Samba4's event management library
Provides: tevent-devel = %{epoch}:%{version}-%{release}
Requires: %{libtevent} = %{epoch}:%{version}-%{release}

%description -n %{teventdevel}
Development files for Samba4's event management library.

%package -n python2-tevent
Group: Development/Python
Summary: Python 2 module for Samba4's event management library
%{?python_provide:%python_provide python2-tevent}

%description -n python2-tevent
Python 2 module for Samba4's event management library.

%package -n python3-tevent
Group: Development/Python
Summary: Python 3 module for Samba4's event management library

%description -n python3-tevent
Python 3 module for Samba4's event management library.

%prep
VERIFYSOURCE=%{SOURCE0}
VERIFYSOURCE=${VERIFYSOURCE%%.gz}
gzip -dc %{SOURCE0} > $VERIFYSOURCE

%check_sig %{SOURCE2} %{SOURCE1} $VERIFYSOURCE

rm -f $VERIFYSOURCE

%setup -q
%autopatch -p1

%build
%configure2_5x --bundled-libraries=NONE \
           --extra-python=%{__python2}
%make_build

%install
%make_install

%files -n %{libtevent}
%{_libdir}/libtevent.so.%{teventmajor}{,.*}

%files -n %{teventdevel}
%{_libdir}/libtevent.so
%{_includedir}/tevent.h
%{_libdir}/pkgconfig/tevent.pc

%files -n python2-tevent
%{python2_sitearch}/_tevent.so
%{python2_sitearch}/tevent.py*

%files -n python3-tevent
%{python3_sitearch}/tevent.py
%{python3_sitearch}/__pycache__/tevent.*
%{python3_sitearch}/_tevent.cpython*.so


%changelog
* Sat Mar 09 2019 luigiwalser <luigiwalser> 1:0.9.39-1.mga7
+ Revision: 1372992
- 0.9.39
- remove unnecessary patches

* Sun Jan 20 2019 luigiwalser <luigiwalser> 1:0.9.38-1.mga7
+ Revision: 1358380
- remove unused patch
- add two patches from fedora
- pathfix is no longer used
- python3 is now the default and python2 is the extra-python
- fix hardcoded path to waf (from fedora)
- 0.9.38

* Tue Jan 08 2019 tv <tv> 1:0.9.37-4.mga7
+ Revision: 1351597
- rebuild with python 3.7

* Wed Nov 28 2018 tv <tv> 1:0.9.37-3.mga7
+ Revision: 1336434
- enable python3 support

* Sun Sep 23 2018 umeabot <umeabot> 1:0.9.37-2.mga7
+ Revision: 1301388
- Mageia 7 Mass Rebuild

* Fri Aug 17 2018 daviddavid <daviddavid> 1:0.9.37-1.mga7
+ Revision: 1252259
- new version: 0.9.37

* Thu May 10 2018 tv <tv> 1:0.9.36-3.mga7
+ Revision: 1228066
- rename python- submodule as python2-

* Mon May 07 2018 wally <wally> 1:0.9.36-2.mga7
+ Revision: 1227516
- check sigs with gnupg2 when building

* Thu Apr 05 2018 buchan <buchan> 1:0.9.36-1.mga7
+ Revision: 1215502
- New version 0.9.36

* Fri Jan 26 2018 luigiwalser <luigiwalser> 1:0.9.35-1.mga7
+ Revision: 1197214
- 0.9.35

* Wed Nov 15 2017 neoclust <neoclust> 1:0.9.34-1.mga7
+ Revision: 1177432
- New version 0.9.34

* Fri Oct 07 2016 luigiwalser <luigiwalser> 1:0.9.31-1.mga6
+ Revision: 1059331
- 0.9.31

* Wed Sep 07 2016 luigiwalser <luigiwalser> 1:0.9.30-1.mga6
+ Revision: 1050392
- 0.9.30

* Thu Aug 11 2016 luigiwalser <luigiwalser> 1:0.9.29-1.mga6
+ Revision: 1045497
- 0.9.29

* Thu Feb 25 2016 luigiwalser <luigiwalser> 1:0.9.28-1.mga6
+ Revision: 979018
- 0.9.28

* Sun Dec 27 2015 neoclust <neoclust> 1:0.9.26-6.mga6
+ Revision: 915539
- New version 0.9.26

* Fri Aug 21 2015 tmb <tmb> 1:0.9.25-6.mga6
+ Revision: 867746
- rebuild for new gcc

* Sun Jun 21 2015 luigiwalser <luigiwalser> 1:0.9.25-5.mga6
+ Revision: 837034
- explicitly disable bundled libraries
- 0.9.25

* Wed Oct 15 2014 umeabot <umeabot> 1:0.9.21-5.mga5
+ Revision: 746538
- Second Mageia 5 Mass Rebuild

* Sat Sep 27 2014 tv <tv> 1:0.9.21-4.mga5
+ Revision: 730611
- rebuild for missing pythoneggs deps

* Tue Sep 16 2014 umeabot <umeabot> 1:0.9.21-3.mga5
+ Revision: 689842
- Mageia 5 Mass Rebuild
+ pterjan <pterjan>
- Rebuild for new Python

* Fri Feb 14 2014 luigiwalser <luigiwalser> 1:0.9.21-1.mga5
+ Revision: 591421
- 0.9.21

* Mon Oct 21 2013 umeabot <umeabot> 1:0.9.19-3.mga4
+ Revision: 540872
- Mageia 4 Mass Rebuild

* Thu Oct 10 2013 luigiwalser <luigiwalser> 1:0.9.19-2.mga4
+ Revision: 494409
- include pyc and pyo files in python subpackage files list

* Fri Aug 09 2013 luigiwalser <luigiwalser> 1:0.9.19-1.mga4
+ Revision: 464833
- 0.9.19

* Mon Jul 08 2013 luigiwalser <luigiwalser> 1:0.9.18-1.mga4
+ Revision: 451046
- 0.9.18

* Mon Jan 14 2013 umeabot <umeabot> 1:0.9.17-2.mga3
+ Revision: 384417
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Thu Oct 18 2012 tv <tv> 1:0.9.17-1.mga3
+ Revision: 307930
- new release

* Thu Aug 16 2012 fedya <fedya> 1:0.9.16-1.mga3
+ Revision: 281516
- BR: gnupg
- version update 0.9.16
+ shlomif <shlomif>
- Correct a typo

* Thu Dec 22 2011 buchan <buchan> 1:0.9.14-1.mga2
+ Revision: 185826
- New version 0.9.14
- Add signature verification
- Retain compatability with Mandriva

* Tue Sep 06 2011 tv <tv> 1:0.9.12-1.mga2
+ Revision: 139857
- new release

* Sun May 08 2011 ennael <ennael> 1:0.9.11-1.mga1
+ Revision: 96443
- clean spec file
- imported package tevent


* Thu May 05 2011 Buchan Milne <bgmilne@mandriva.org> 1:0.9.11-1mdv2011.0
+ Revision: 669059
- update to new version 0.9.11

* Mon May 02 2011 Buchan Milne <bgmilne@mandriva.org> 1:0.9.10-1
+ Revision: 661923
- Help waf find the right place for python modules on x86_64
- New version 0.9.10

* Fri Dec 03 2010 Oden Eriksson <oeriksson@mandriva.com> 1:0.9.8-3mdv2011.0
+ Revision: 607991
- rebuild

* Fri Mar 05 2010 Buchan Milne <bgmilne@mandriva.org> 1:0.9.8-2mdv2010.1
+ Revision: 514795
- Rebuild for newer talloc

* Wed Feb 24 2010 Buchan Milne <bgmilne@mandriva.org> 1:0.9.8-1mdv2010.1
+ Revision: 510756
- import tevent