- add pyinotify wrapper

- fix license in spec file

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyinotify?expand=0&rev=10
This commit is contained in:
Pavol Rusnak 2010-11-02 13:28:47 +00:00 committed by Git OBS Bridge
parent 6952ae0366
commit c06e24b93a
3 changed files with 14 additions and 13 deletions

2
pyinotify Normal file
View File

@ -0,0 +1,2 @@
#!/bin/sh
python -m pyinotify "$@"

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Nov 2 13:27:57 UTC 2010 - prusnak@opensuse.org
- add pyinotify wrapper
- fix license in spec file
-------------------------------------------------------------------
Thu Oct 28 18:33:27 UTC 2010 - prusnak@opensuse.org
@ -13,16 +19,6 @@ Mon Oct 11 22:29:37 UTC 2010 - pascal.bleser@opensuse.org
Tue Jun 17 21:15:13 CEST 2008 - poeml@suse.de
- update to 0.7.1
* Update License: GPLv2 or later.
* src/pyinotify/pyinotify.py: reworking of EventsCodes
* src/pyinotify/pyinotify.py: new -e command line option
* src/pyinotify/inotify_syscalls.h: support hppa and mc68000.
* src/example/close.py: fix import statement.
* src/pyinotify/pyinotify.py: raise OSError when inotify_init() fails
* src/pyinotify/pyinotify.py: checks exception on polling
* src/pyinotify/pyinotify.py: add_watch: by default do not make globbing
* src/pyinotify/pyinotify.py: print errors only when verbose mode is set.
* src/pyinotify/iglob.py: fix compatibility with Python 2.3
-------------------------------------------------------------------
Fri Sep 15 11:42:54 CEST 2006 - poeml@suse.de

View File

@ -21,7 +21,7 @@
Name: python-pyinotify
Version: 0.9.1
Release: 1
License: BSD License
License: MIT
Summary: Python module for watching filesystems changes
Url: http://github.com/seb-m/pyinotify
Group: Development/Libraries/Python
@ -29,6 +29,7 @@ Group: Development/Libraries/Python
%define tag 5d381ce
%define subdir 4ad6992
Source: http://download.github.com/seb-m-pyinotify-%{version}-0-g%{tag}.tar.gz
Source1: pyinotify
BuildRequires: perl
BuildRequires: python-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -64,14 +65,16 @@ export CFLAGS="%{optflags}"
python ./setup.py build
%install
python ./setup.py install --prefix="%{_prefix}" --root=%{buildroot} --record-rpm=INSTALLED_FILES
python ./setup.py install --prefix=%{_prefix} --root=%{buildroot} --record-rpm=INSTALLED_FILES
install -D -m 0755 %{SOURCE1} %{buildroot}%{_bindir}/pyinotify
%clean
rm -rf %{buildroot}
%files -f INSTALLED_FILES
%defattr(-,root,root)
%doc ACKS COPYING README
%doc ACKS COPYING README.md
%doc python2/examples
%{_bindir}/pyinotify
%changelog