0.9.0
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyinotify?expand=0&rev=7
This commit is contained in:
parent
49178d9283
commit
10d5afcb81
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2b248f129fe887ad287360e189d3a8ca84d74fee545d1767ed04263e3c3b35d6
|
||||
size 91277
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 11 22:29:37 UTC 2010 - pascal.bleser@opensuse.org
|
||||
|
||||
- update to 0.9.0
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 17 21:15:13 CEST 2008 - poeml@suse.de
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-pyinotify (Version 0.6.2)
|
||||
# spec file for package python-pyinotify (Version 0.9.0)
|
||||
#
|
||||
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2006-2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# This file and all modifications and additions to the pristine
|
||||
# package are under the same license as the package itself.
|
||||
#
|
||||
@ -10,57 +10,67 @@
|
||||
|
||||
# norootforbuild
|
||||
|
||||
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
|
||||
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
|
||||
|
||||
Name: python-pyinotify
|
||||
BuildRequires: python-devel
|
||||
Url: http://pyinotify.sourceforge.net/
|
||||
License: GPLv2
|
||||
Group: Productivity/System
|
||||
Autoreqprov: on
|
||||
Version: 0.7.1
|
||||
BuildRequires: perl
|
||||
URL: http://github.com/seb-m/pyinotify
|
||||
License: BSD License
|
||||
Group: Development/Libraries/Python
|
||||
Version: 0.9.0
|
||||
%define tag ec5a9f4
|
||||
%define subdir d2ffa6a
|
||||
Release: 1
|
||||
Summary: Python module for watching filesystems changes
|
||||
Source: http://www.pyinotify.org/kits/stable/pyinotify-%{version}.tar.bz2
|
||||
Source: http://download.github.com/seb-m-pyinotify-%{version}-0-g%{tag}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%if 0%{?suse_version} >= 1120
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
%{py_requires}
|
||||
|
||||
%description
|
||||
pyinotify is a Python module for watching filesystems changes. By its design pyinotify can be used for any kind of fs monitoring. pyinotify
|
||||
relies on a recent Linux Kernel feature (merged in kernel 2.6.13) called inotify. inotify is an event-driven notifier, its notifications are
|
||||
exported from kernel space to user space. The raw interface of inotify is compounded of three system calls. pyinotify binds these system
|
||||
calls and provides an implementation on top of them offering a generic and abstract way to use inotify with Python. Pyinotify doesn't
|
||||
requires much detailed knowledge of inotify. Moreover, it only needs few statements for initializing, watching, handling (eventually trough a
|
||||
new separate thread), and processing events notifications through subclassing. The only things to know is the path of items to watch, the
|
||||
kind of events to monitor and the actions to execute on these notifications. Note: pyinotify requires Python 2.3 and above, and Linux 2.6.13
|
||||
at least.
|
||||
pyinotify is a Python module for watching filesystems changes. By its design
|
||||
pyinotify can be used for any kind of fs monitoring.
|
||||
|
||||
pyinotify relies on a recent Linux Kernel feature (merged in kernel 2.6.13)
|
||||
called inotify. inotify is an event-driven notifier, its notifications are
|
||||
exported from kernel space to user space. The raw interface of inotify is
|
||||
compounded of three system calls. pyinotify binds these system calls and
|
||||
provides an implementation on top of them offering a generic and abstract way
|
||||
to use inotify with Python. Pyinotify doesn't requires much detailed knowledge
|
||||
of inotify. Moreover, it only needs few statements for initializing, watching,
|
||||
handling (eventually trough a new separate thread), and processing events
|
||||
notifications through subclassing. The only things to know is the path of items
|
||||
to watch, the kind of events to monitor and the actions to execute on these
|
||||
notifications.
|
||||
|
||||
Note: pyinotify requires Python 2.3 and above, and Linux 2.6.13 at least.
|
||||
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
<sebastien.martini@gmail.com>
|
||||
Sebastien Martini <seb@dbzteam.org>
|
||||
|
||||
%prep
|
||||
%setup -n pyinotify-%{version}
|
||||
%setup -q -n "seb-m-pyinotify-%{subdir}"
|
||||
|
||||
%build
|
||||
export CFLAGS="$RPM_OPT_FLAGS"
|
||||
python setup.py build
|
||||
export CFLAGS="%{optflags}"
|
||||
%__python ./setup.py build
|
||||
|
||||
%install
|
||||
python setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT --record-rpm=INSTALLED_FILES
|
||||
chmod 644 src/{examples,tests}/*.py
|
||||
%__python ./setup.py install --prefix="%{_prefix}" --root="%{buildroot}" --record-rpm=INSTALLED_FILES
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
%{?buildroot:%__rm -rf "%{buildroot}"}
|
||||
|
||||
%files -f INSTALLED_FILES
|
||||
%defattr(-,root,root)
|
||||
%doc AUTHORS ChangeLog COPYING MANIFEST.in NEWS PKG-INFO README TODO
|
||||
%doc doc
|
||||
%doc src/examples
|
||||
%doc src/tests
|
||||
%doc ACKS COPYING README
|
||||
%doc python2/examples
|
||||
|
||||
%changelog -n python-pyinotify
|
||||
* Fri Jan 19 2007 - judas_iscariote@shorewall.net
|
||||
- update to 0.6.3
|
||||
* Fri Sep 15 2006 - poeml@suse.de
|
||||
- create package (version 0.6.2)
|
||||
|
3
seb-m-pyinotify-0.9.0-0-gec5a9f4.tar.gz
Normal file
3
seb-m-pyinotify-0.9.0-0-gec5a9f4.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f0d5f1253a4564fe1c7ce0cce62e7d84772db6ff0b4a62a3be0ec5e131fa4814
|
||||
size 54875
|
Loading…
Reference in New Issue
Block a user