- 0.8.0q
- Update url, license and source url
This commit is contained in:
parent
1f20338d53
commit
f3a87dfe07
@ -1 +1 @@
|
|||||||
pyinotify-0.7.1.tar.bz2
|
pyinotify-0.8.0q.tar.gz
|
||||||
|
@ -1,17 +1,22 @@
|
|||||||
%{!?python_sitelib_platform: %define python_sitelib_platform %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
%{!?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
|
||||||
|
|
||||||
Summary: Monitor filesystem events with Python under Linux
|
Summary: Monitor filesystem events with Python under Linux
|
||||||
Name: python-inotify
|
Name: python-inotify
|
||||||
Version: 0.7.1
|
Version: 0.8.0
|
||||||
Release: 2%{?dist}
|
Release: 1.q%{?dist}
|
||||||
License: GPLv2+
|
License: GPLv2
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
URL: http://pyinotify.sourceforge.net/
|
URL: http://trac.dbzteam.org/pyinotify
|
||||||
Source0: http://downloads.sourceforge.net/%{oname}/%{oname}-%{version}.tar.bz2
|
# Go here to browse tarballs:
|
||||||
|
# http://git.dbzteam.org/?p=pyinotify.git;a=summary
|
||||||
|
# Current tarball (Version 0.8.0q released):
|
||||||
|
# http://git.dbzteam.org/?p=pyinotify.git;a=snapshot;h=c36bdd432b56f0d9a329c918c0a3a0110d59f5c4;sf=tgz
|
||||||
|
Source0: %{oname}-%{version}q.tar.gz
|
||||||
BuildRequires: python-devel
|
BuildRequires: python-devel
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
BuildArch: noarch
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This is a Python module for watching filesystems changes. pyinotify
|
This is a Python module for watching filesystems changes. pyinotify
|
||||||
@ -21,8 +26,8 @@ inotify. inotify is an event-driven notifier, its notifications are
|
|||||||
exported from kernel space to user space.
|
exported from kernel space to user space.
|
||||||
|
|
||||||
%package examples
|
%package examples
|
||||||
Summary: Examples for Python inotify module
|
Summary: Examples for Python inotify module
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
Requires: python-inotify = %{version}-%{release}
|
Requires: python-inotify = %{version}-%{release}
|
||||||
|
|
||||||
%description examples
|
%description examples
|
||||||
@ -30,34 +35,40 @@ 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
|
||||||
|
mv $f $f.iso88591
|
||||||
|
iconv -o $f -f iso88591 -t utf8 $f.iso88591
|
||||||
|
rm -f $f.iso88591
|
||||||
|
done
|
||||||
|
|
||||||
%build
|
%build
|
||||||
CFLAGS="%{optflags}" %{__python} setup.py build
|
%{__python} setup.py build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%{__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 src/examples %{buildroot}%{_datadir}/%{name}
|
%{__cp} -a loop.py chain.py daemon.py loop.py not_quiet.py stats.py \
|
||||||
|
stats_threaded.py transient_file.py %{buildroot}%{_datadir}/%{name}
|
||||||
# libs installed, no need for autopath
|
|
||||||
%{__rm} -f %{buildroot}%{_datadir}/%{name}/examples/autopath.*
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
%{__rm} -rf %{buildroot}
|
%{__rm} -rf %{buildroot}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-, root, root, -)
|
%defattr(-, root, root, -)
|
||||||
%doc AUTHORS COPYING ChangeLog README TODO
|
%doc ChangeLog NEWS
|
||||||
%{python_sitelib_platform}/%{oname}.pth
|
%{python_sitelib}/%{oname}*
|
||||||
%{python_sitelib_platform}/%{oname}
|
|
||||||
|
|
||||||
%files examples
|
%files examples
|
||||||
%doc doc/*
|
%doc docstrings/*
|
||||||
%{_datadir}/%{name}
|
%{_datadir}/%{name}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jun 16 2008 Terje Rosten <terjeros@phys.ntnu.no> - 0.8.0-1.q
|
||||||
|
- 0.8.0q
|
||||||
|
- Update url, license and source url
|
||||||
|
|
||||||
* Sat Feb 9 2008 Terje Rosten <terjeros@phys.ntnu.no> - 0.7.1-2
|
* Sat Feb 9 2008 Terje Rosten <terjeros@phys.ntnu.no> - 0.7.1-2
|
||||||
- Rebuild
|
- Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user