rpms/python-inotify/devel python-inotify.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Terje Røsten (terjeros) fedora-extras-commits at redhat.com
Mon Mar 26 17:56:00 UTC 2007


Author: terjeros

Update of /cvs/extras/rpms/python-inotify/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv9372/devel

Modified Files:
	.cvsignore sources 
Added Files:
	python-inotify.spec 
Log Message:
auto-import python-inotify-0.7.0-1.fc6 on branch devel from python-inotify-0.7.0-1.fc6.src.rpm


--- NEW FILE python-inotify.spec ---
%{!?python_sitelib_platform: %define python_sitelib_platform %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}

%define oname pyinotify

Summary: Monitor filesystem events with Python under Linux
Name: python-inotify
Version: 0.7.0
Release: 1%{?dist}
License: GPL
Group: Development/Libraries
URL: http://pyinotify.sourceforge.net/
Source0: http://downloads.sourceforge.net/%{oname}/%{oname}-%{version}.tar.bz2
BuildRequires: python-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

%description
This is a Python module for watching filesystems changes. pyinotify
can be used for various 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.

%package examples
Summary: Examples for Python inotify module
Group: Development/Libraries
Requires: python-inotify = %{version}-%{release}

%description examples
This package includes some examples usage of the Python inotify module,
extensive documentation is also included.

%prep
%setup -q -n %{oname}-%{version}

%build
CFLAGS="%{optflags}" %{__python} setup.py build

%install
%{__rm} -rf %{buildroot}
%{__python} setup.py install -O1 --skip-build --root %{buildroot}
%{__install} -d %{buildroot}%{_datadir}/%{name}
%{__cp} -a src/examples %{buildroot}%{_datadir}/%{name}

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-, root, root, -)
%doc AUTHORS COPYING ChangeLog README TODO
%{python_sitelib_platform}/%{oname}.pth
%{python_sitelib_platform}/%{oname}

%files examples
%doc doc/*
%{_datadir}/%{name}

%changelog
* Tue Mar  6 2007 Terje Rosten <terjeros at phys.ntn.no> - 0.7.0-1
- Initial build



Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/python-inotify/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	23 Mar 2007 02:44:02 -0000	1.1
+++ .cvsignore	26 Mar 2007 17:55:27 -0000	1.2
@@ -0,0 +1 @@
+pyinotify-0.7.0.tar.bz2


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/python-inotify/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	23 Mar 2007 02:44:02 -0000	1.1
+++ sources	26 Mar 2007 17:55:27 -0000	1.2
@@ -0,0 +1 @@
+159ba32d41c087d98da6248890958ba0  pyinotify-0.7.0.tar.bz2




More information about the fedora-extras-commits mailing list