This commit is contained in:
terjeros 2009-02-08 18:19:11 +00:00
parent 64e97ed92d
commit 30c7fc41fd
4 changed files with 23 additions and 12 deletions

View File

@ -1 +1 @@
pyinotify-0.8.0r.tar.gz pyinotify-0.8.1-20090208.tar.bz2

5
pyinotify Normal file
View File

@ -0,0 +1,5 @@
#! /bin/bash
#
python -m pyinotify "$@"

View File

@ -1,19 +1,21 @@
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(0)")} %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(0)")}
%define oname pyinotify %define oname pyinotify
%define git beba626
%define date 20090208
Summary: Monitor filesystem events with Python under Linux Summary: Monitor filesystem events with Python under Linux
Name: python-inotify Name: python-inotify
Version: 0.8.0 Version: 0.8.1
Release: 4.r%{?dist} Release: 1.git%{date}%{?dist}
License: GPLv2 License: GPLv2
Group: Development/Libraries Group: Development/Libraries
URL: http://trac.dbzteam.org/pyinotify URL: http://trac.dbzteam.org/pyinotify
# Go here to browse tarballs: # Tarball created by
# http://git.dbzteam.org/?p=pyinotify.git;a=summary # $ git clone http://git.dbzteam.org/pyinotify.git/
# Current tarball (Documentation 2008-06-06): # $ cd pyinotify
# http://git.dbzteam.org/?p=pyinotify.git;a=snapshot;h=6253a716008486c1864f4416916bb2fe1387498c;sf=tgz # $ git-archive --format=tar --prefix=%{oname}-%{version}/ %{gitver} | bzip2 > %{oname}-%{version}-%{date}.tar.bz2
Source0: %{oname}-%{version}r.tar.gz Source0: %{oname}-%{version}-%{date}.tar.bz2
Source1: %{oname} Source1: %{oname}
BuildRequires: python-devel BuildRequires: python-devel
BuildArch: noarch BuildArch: noarch
@ -36,7 +38,8 @@ This package includes some examples usage of the Python inotify module,
extensive documentation is also included. extensive documentation is also included.
%prep %prep
%setup -q -n %{oname} %setup -q -n %{oname}-%{version}
for f in ChangeLog ; do for f in ChangeLog ; do
mv $f $f.iso88591 mv $f $f.iso88591
iconv -o $f -f iso88591 -t utf8 $f.iso88591 iconv -o $f -f iso88591 -t utf8 $f.iso88591
@ -65,10 +68,14 @@ done
%{_bindir}/%{oname} %{_bindir}/%{oname}
%files examples %files examples
%defattr(-, root, root, -)
%doc docstrings/* %doc docstrings/*
%{_datadir}/%{name} %{_datadir}/%{name}
%changelog %changelog
* Sat Feb 8 2009 Terje Rosten <terje.rosten@ntnu.no> - 0.8.1-1.git20090208
- 0.8.1
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.8.0-4.r * Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.8.0-4.r
- Rebuild for Python 2.6 - Rebuild for Python 2.6

View File

@ -1,2 +1 @@
9a4f1dbd2f28942d821b90f87196c8a2 pyinotify-0.8.0r.tar.gz 3a44b362fad497d30e92871620cfa5e0 pyinotify-0.8.1-20090208.tar.bz2
42e18532df53731035d08fcbc94140aa pyinotify