This commit is contained in:
terjeros 2009-12-06 16:28:59 +00:00
parent 6ab46e7f78
commit b14b7f1ed3
3 changed files with 15 additions and 18 deletions

View File

@ -1 +1 @@
pyinotify-0.8.6-20090518.tar.bz2 pyinotify-0.8.8.tar.gz

View File

@ -1,21 +1,15 @@
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(0)")} %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(0)")}
%define oname pyinotify %global oname pyinotify
%define git affbbb02
%define date 20090518
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.6 Version: 0.8.8
Release: 2.git%{date}%{?dist} Release: 1%{?dist}
License: GPLv2+ License: GPLv2+
Group: Development/Libraries Group: Development/Libraries
URL: http://trac.dbzteam.org/pyinotify URL: http://trac.dbzteam.org/pyinotify
# Tarball created by Source0: http://seb.dbzteam.org/pub/pyinotify/releases/pyinotify-%{version}.tar.gz
# $ git clone http://git.dbzteam.org/pyinotify.git/
# $ cd pyinotify
# $ git-archive --format=tar --prefix=%{oname}-%{version}/ %{gitver} | bzip2 > %{oname}-%{version}-%{date}.tar.bz2
Source0: %{oname}-%{version}-%{date}.tar.bz2
Source1: %{oname} Source1: %{oname}
BuildRequires: python-devel BuildRequires: python-devel
BuildArch: noarch BuildArch: noarch
@ -38,9 +32,9 @@ 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}-%{version} %setup -q -n %{oname}
for f in ChangeLog ; do for f in ChangeLog_old ; 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
rm -f $f.iso88591 rm -f $f.iso88591
@ -53,8 +47,8 @@ done
%{__rm} -rf %{buildroot} %{__rm} -rf %{buildroot}
%{__python} setup.py install -O1 --skip-build --root %{buildroot} %{__python} setup.py install -O1 --skip-build --root %{buildroot}
%{__install} -d %{buildroot}%{_datadir}/%{name} %{__install} -d %{buildroot}%{_datadir}/%{name}
%{__cp} -a loop.py chain.py daemon.py loop.py not_quiet.py stats.py \ #{__cp} -a loop.py chain.py daemon.py loop.py not_quiet.py stats.py \
stats_threaded.py transient_file.py %{buildroot}%{_datadir}/%{name} # stats_threaded.py transient_file.py %{buildroot}%{_datadir}/%{name}
%{__install} -D -m 0755 -p %{SOURCE1} %{buildroot}%{_bindir}/%{oname} %{__install} -D -m 0755 -p %{SOURCE1} %{buildroot}%{_bindir}/%{oname}
%{__chmod} 0755 %{buildroot}%{python_sitelib}/%{oname}.py %{__chmod} 0755 %{buildroot}%{python_sitelib}/%{oname}.py
@ -63,7 +57,7 @@ done
%files %files
%defattr(-, root, root, -) %defattr(-, root, root, -)
%doc ChangeLog NEWS %doc ChangeLog_old NEWS
%{python_sitelib}/%{oname}* %{python_sitelib}/%{oname}*
%{_bindir}/%{oname} %{_bindir}/%{oname}
@ -73,6 +67,9 @@ done
%{_datadir}/%{name} %{_datadir}/%{name}
%changelog %changelog
* Sun Dec 06 2009 Terje Rosten <terje.rosten@ntnu.no> - 0.8.8-1
- 0.8.8
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.6-2.git20090518 * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.6-2.git20090518
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild

View File

@ -1 +1 @@
2ef313d58bad2fbdefd6e7378338569b pyinotify-0.8.6-20090518.tar.bz2 3c4214f10955e6be0ac2d054efa55cf8 pyinotify-0.8.8.tar.gz