%global _empty_manifest_terminate_build 0 Name: python-pyinotify Version: 0.9.6 Release: 1 Summary: Linux filesystem events monitoring License: MIT License URL: http://github.com/seb-m/pyinotify Source0: https://mirrors.nju.edu.cn/pypi/web/packages/e3/c0/fd5b18dde17c1249658521f69598f3252f11d9d7a980c5be8619970646e1/pyinotify-0.9.6.tar.gz BuildArch: noarch %description # Pyinotify * License : MIT * Project URL : [http://github.com/seb-m/pyinotify](http://github.com/seb-m/pyinotify) * Project Wiki : [http://github.com/seb-m/pyinotify/wiki](http://github.com/seb-m/pyinotify/wiki) * API Documentation: [http://seb-m.github.com/pyinotify](http://seb-m.github.com/pyinotify) ## Dependencies * Linux ≥ 2.6.13 * Python ≥ 2.4 (including Python 3.x) ## Install ### Get the current stable version from PyPI and install it with `pip` # To install pip follow http://www.pip-installer.org/en/latest/installing.html $ sudo pip install pyinotify ### Or install Pyinotify directly from source # Choose your Python interpreter: either python, python2.7, python3.2,.. # Replacing XXX accordingly, type: $ sudo pythonXXX setup.py install ## Watch a directory Install pyinotify and run this command from a shell: $ python -m pyinotify -v /my-dir-to-watch %package -n python3-pyinotify Summary: Linux filesystem events monitoring Provides: python-pyinotify BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pip %description -n python3-pyinotify # Pyinotify * License : MIT * Project URL : [http://github.com/seb-m/pyinotify](http://github.com/seb-m/pyinotify) * Project Wiki : [http://github.com/seb-m/pyinotify/wiki](http://github.com/seb-m/pyinotify/wiki) * API Documentation: [http://seb-m.github.com/pyinotify](http://seb-m.github.com/pyinotify) ## Dependencies * Linux ≥ 2.6.13 * Python ≥ 2.4 (including Python 3.x) ## Install ### Get the current stable version from PyPI and install it with `pip` # To install pip follow http://www.pip-installer.org/en/latest/installing.html $ sudo pip install pyinotify ### Or install Pyinotify directly from source # Choose your Python interpreter: either python, python2.7, python3.2,.. # Replacing XXX accordingly, type: $ sudo pythonXXX setup.py install ## Watch a directory Install pyinotify and run this command from a shell: $ python -m pyinotify -v /my-dir-to-watch %package help Summary: Development documents and examples for pyinotify Provides: python3-pyinotify-doc %description help # Pyinotify * License : MIT * Project URL : [http://github.com/seb-m/pyinotify](http://github.com/seb-m/pyinotify) * Project Wiki : [http://github.com/seb-m/pyinotify/wiki](http://github.com/seb-m/pyinotify/wiki) * API Documentation: [http://seb-m.github.com/pyinotify](http://seb-m.github.com/pyinotify) ## Dependencies * Linux ≥ 2.6.13 * Python ≥ 2.4 (including Python 3.x) ## Install ### Get the current stable version from PyPI and install it with `pip` # To install pip follow http://www.pip-installer.org/en/latest/installing.html $ sudo pip install pyinotify ### Or install Pyinotify directly from source # Choose your Python interpreter: either python, python2.7, python3.2,.. # Replacing XXX accordingly, type: $ sudo pythonXXX setup.py install ## Watch a directory Install pyinotify and run this command from a shell: $ python -m pyinotify -v /my-dir-to-watch %prep %autosetup -n pyinotify-0.9.6 %build %py3_build %install %py3_install install -d -m755 %{buildroot}/%{_pkgdocdir} if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi pushd %{buildroot} if [ -d usr/lib ]; then find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/lib64 ]; then find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/bin ]; then find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/sbin ]; then find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst fi touch doclist.lst if [ -d usr/share/man ]; then find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst fi popd mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . %files -n python3-pyinotify -f filelist.lst %dir %{python3_sitelib}/* %files help -f doclist.lst %{_docdir}/* %changelog * Mon Apr 10 2023 Python_Bot - 0.9.6-1 - Package Spec generated