7c3374
%global oname  pyinotify
7c3374
7c3374
Summary:       Monitor filesystem events with Python under Linux
7c3374
Name:          python-inotify
7c3374
Version:       0.9.6
7c3374
Release:       13%{?dist}
7c3374
License:       MIT
7c3374
Group:         Development/Libraries
7c3374
URL:           https://github.com/seb-m/pyinotify
7c3374
Source0:       http://seb.dbzteam.org/pub/pyinotify/releases/pyinotify-%{version}.tar.gz
7c3374
Patch01:       pyinotify-0.9.6-epoint.patch
7c3374
BuildRequires: gmp-devel
7c3374
BuildRequires: python3-devel
7c3374
BuildArch:     noarch
7c3374
7c3374
%description
7c3374
This is a Python module for watching filesystems changes. pyinotify
7c3374
can be used for various kind of fs monitoring. pyinotify relies on a
7c3374
recent Linux Kernel feature (merged in kernel 2.6.13) called
7c3374
inotify. inotify is an event-driven notifier, its notifications are
7c3374
exported from kernel space to user space.
7c3374
7c3374
%package -n    python3-inotify
7c3374
Summary:       Monitor filesystem events with Python under Linux
7c3374
Group:         Development/Languages
7c3374
%{?python_provide:%python_provide python3-inotify}
7c3374
7c3374
%description -n python3-inotify
7c3374
This is a Python 3 module for watching filesystems changes. pyinotify
7c3374
can be used for various kind of fs monitoring. pyinotify relies on a
7c3374
recent Linux Kernel feature (merged in kernel 2.6.13) called
7c3374
inotify. inotify is an event-driven notifier, its notifications are
7c3374
exported from kernel space to user space.
7c3374
7c3374
%prep
7c3374
%setup -q -n %{oname}-%{version}
7c3374
%patch01 -p1
7c3374
rm -rf %{py3dir}
7c3374
cp -a . %{py3dir}
7c3374
7c3374
%build
7c3374
pushd %{py3dir}
7c3374
%py3_build
7c3374
popd
7c3374
7c3374
%install
7c3374
pushd %{py3dir}
7c3374
%py3_install
7c3374
popd
7c3374
7c3374
%files -n python3-inotify
7c3374
%license COPYING
7c3374
%doc ACKS README.md
7c3374
%{_bindir}/%{oname}
7c3374
%{python3_sitelib}/%{oname}*
7c3374
%{python3_sitelib}/__pycache__/%{oname}*
7c3374
7c3374
%changelog
7c3374
* Thu Nov 15 2018 Matej Marusak <mmarusak@redhat.com> - 0.9.6-13
7c3374
- Only ship one executable (#1646714)
7c3374
7c3374
* Mon Apr 09 2018 Miroslav Suchy <msuchy@redhat.com> - 0.9.6-12
7c3374
- remove python2 subpackage
7c3374
7c3374
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.6-11
7c3374
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
7c3374
7c3374
* Thu Jan 25 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.9.6-10
7c3374
- Update Python 2 dependency declarations to new packaging standards
7c3374
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
7c3374
7c3374
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.6-9
7c3374
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
7c3374
7c3374
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.6-8
7c3374
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
7c3374
7c3374
* Tue Dec 13 2016 Stratakis Charalampos <cstratak@redhat.com> - 0.9.6-7
7c3374
- rebuilt
7c3374
7c3374
* Tue Sep 20 2016 Terje Rosten <terje.rosten@ntnu.no> - 0.9.6-6
7c3374
- Add entry point script
7c3374
7c3374
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.6-5
7c3374
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
7c3374
7c3374
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.6-4
7c3374
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
7c3374
7c3374
* Fri Nov 6 2015 Jakub Filak <jfilak@redhat.com> - 0.9.6-3
7c3374
- Rebuilt for Python3.5 rebuild
7c3374
7c3374
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.6-2
7c3374
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
7c3374
7c3374
* Thu Jun 04 2015 Terje Rosten <terje.rosten@ntnu.no> - 0.9.6-1
7c3374
- 0.9.6
7c3374
7c3374
* Mon Apr 13 2015 Terje Rosten <terje.rosten@ntnu.no> - 0.9.5-1
7c3374
- 0.9.5
7c3374
7c3374
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.4-6
7c3374
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
7c3374
7c3374
* Wed May 28 2014 Kalev Lember <kalevlember@gmail.com> - 0.9.4-5
7c3374
- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
7c3374
7c3374
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.4-4
7c3374
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
7c3374
7c3374
* Fri Feb 15 2013 Jakub Filak <jfilak@redhat.com> - 0.9.4-3
7c3374
- make with_python3 be conditional on fedora
7c3374
7c3374
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.4-2
7c3374
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
7c3374
7c3374
* Tue Dec 04 2012 Terje Rosten <terje.rosten@ntnu.no> - 0.9.4-1
7c3374
- 0.9.4
7c3374
7c3374
* Sat Aug 04 2012 David Malcolm <dmalcolm@redhat.com> - 0.9.3-3
7c3374
- rebuild for https://fedoraproject.org/wiki/Features/Python_3.3
7c3374
7c3374
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.3-2
7c3374
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
7c3374
7c3374
* Wed Feb 01 2012 Terje Rosten <terje.rosten@ntnu.no> - 0.9.3-1
7c3374
- 0.9.3
7c3374
7c3374
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.2-2
7c3374
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
7c3374
7c3374
* Mon May 02 2011 Terje Rosten <terje.rosten@ntnu.no> - 0.9.2-1
7c3374
- 0.9.2
7c3374
7c3374
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.1-2
7c3374
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
7c3374
7c3374
* Mon Feb 07 2011 Terje Rosten <terje.rosten@ntnu.no> - 0.9.1-1
7c3374
- 0.9.1
7c3374
7c3374
* Wed Aug 25 2010 Thomas Spura <tomspur@fedoraproject.org> - 0.9.0-3
7c3374
- rebuild with python3.2
7c3374
  http://lists.fedoraproject.org/pipermail/devel/2010-August/141368.html
7c3374
7c3374
* Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 0.9.0-2
7c3374
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
7c3374
7c3374
* Sat Jun 19 2010 Terje Rosten <terje.rosten@ntnu.no> - 0.9.0-1
7c3374
- 0.9.0
7c3374
- Add python 3 subpackage
7c3374
- License changed to MIT
7c3374
7c3374
* Sun Dec 06 2009 Terje Rosten <terje.rosten@ntnu.no> - 0.8.8-1
7c3374
- 0.8.8
7c3374
7c3374
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.6-2.git20090518
7c3374
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
7c3374
7c3374
* Mon May 18 2009 Terje Rosten <terje.rosten@ntnu.no> - 0.8.6-1.git20090518
7c3374
- Update to latest git, fixing bz #500934.
7c3374
7c3374
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.1-2.git20090208
7c3374
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
7c3374
7c3374
* Sun Feb  8 2009 Terje Rosten <terje.rosten@ntnu.no> - 0.8.1-1.git20090208
7c3374
- 0.8.1
7c3374
7c3374
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.8.0-4.r
7c3374
- Rebuild for Python 2.6
7c3374
7c3374
* Sun Jun 22 2008 Terje Rosten <terjeros@phys.ntnu.no> - 0.8.0-3.r
7c3374
- rebuild 
7c3374
7c3374
* Tue Jun 17 2008 Terje Rosten <terjeros@phys.ntnu.no> - 0.8.0-2.r
7c3374
- 0.8.0r
7c3374
- add wrapper in /usr/bin
7c3374
7c3374
* Mon Jun 16 2008 Terje Rosten <terjeros@phys.ntnu.no> - 0.8.0-1.q
7c3374
- 0.8.0q
7c3374
- Update url, license and source url
7c3374
7c3374
* Sat Feb  9 2008 Terje Rosten <terjeros@phys.ntnu.no> - 0.7.1-2
7c3374
- Rebuild
7c3374
7c3374
* Wed Aug 08 2007 Terje Rosten <terjeros@phys.ntnu.no> - 0.7.1-1
7c3374
- New upstream release: 0.7.1
7c3374
- Fix license tag
7c3374
7c3374
* Mon Jun 25 2007 Terje Rosten <terjeros@phys.ntnu.no> - 0.7.0-3
7c3374
- Remove autopath from example package (bz #237464)
7c3374
7c3374
* Tue Mar 27 2007 Terje Rosten <terjeros@phys.ntnu.no> - 0.7.0-2
7c3374
- Fix email address
7c3374
7c3374
* Tue Mar  6 2007 Terje Rosten <terjeros@phys.ntnu.no> - 0.7.0-1
7c3374
- Initial build
7c3374