python 2.7 mass rebuild [release 0.9.4-2mamba;Fri May 17 2013]
This commit is contained in:
parent
b01ea765d2
commit
e24f243835
@ -1,2 +1,7 @@
|
|||||||
# python-pyinotify
|
# python-pyinotify
|
||||||
|
|
||||||
|
Pyinotify is a pure Python module used for monitoring filesystems events.
|
||||||
|
Pyinotify relies on inotify, a Linux Kernel functionality (starting with kernel version 2.6.13).
|
||||||
|
inotify is an event-driven notification mechanism, its notifications are exported to user space through three system calls.
|
||||||
|
Pyinotify binds these system calls and provides an implementation on top of them.
|
||||||
|
|
||||||
|
5
python-pyinotify-script
Normal file
5
python-pyinotify-script
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
#! /bin/bash
|
||||||
|
#
|
||||||
|
|
||||||
|
python -m pyinotify "$@"
|
||||||
|
|
109
python-pyinotify.spec
Normal file
109
python-pyinotify.spec
Normal file
@ -0,0 +1,109 @@
|
|||||||
|
%define python_majversion %(echo %python_version | cut -d. -f 1)
|
||||||
|
|
||||||
|
Name: python-pyinotify
|
||||||
|
Version: 0.9.4
|
||||||
|
Release: 2mamba
|
||||||
|
Summary: Linux filesystem events monitoring
|
||||||
|
Group: System/Libraries/Python
|
||||||
|
Vendor: openmamba
|
||||||
|
Distribution: openmamba
|
||||||
|
Packager: Automatic Build System <autodist@mambasoft.it>
|
||||||
|
URL: http://trac.dbzteam.org/pyinotify
|
||||||
|
Source: http://seb.dbzteam.org/pub/pyinotify/releases/pyinotify-%{version}.tar.gz
|
||||||
|
Source1: python-pyinotify-script
|
||||||
|
License: MIT
|
||||||
|
## AUTOBUILDREQ-BEGIN
|
||||||
|
BuildRequires: libpython-devel
|
||||||
|
## AUTOBUILDREQ-END
|
||||||
|
BuildRequires: python-setuptools
|
||||||
|
Requires: python >= %python_version
|
||||||
|
Provides: python-inotify
|
||||||
|
Obsoletes: python-inotify
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description
|
||||||
|
Pyinotify is a pure Python module used for monitoring filesystems events.
|
||||||
|
Pyinotify relies on inotify, a Linux Kernel functionality (starting with kernel version 2.6.13).
|
||||||
|
inotify is an event-driven notification mechanism, its notifications are exported to user space through three system calls.
|
||||||
|
Pyinotify binds these system calls and provides an implementation on top of them.
|
||||||
|
|
||||||
|
%package doc
|
||||||
|
Group: Documentation
|
||||||
|
Summary: Documentation package for %{name}
|
||||||
|
Requires: %{name} = %{?epoch:epoch:}%{version}-%{release}
|
||||||
|
|
||||||
|
%description doc
|
||||||
|
Pyinotify is a pure Python module used for monitoring filesystems events.
|
||||||
|
Pyinotify relies on inotify, a Linux Kernel functionality (starting with kernel version 2.6.13).
|
||||||
|
inotify is an event-driven notification mechanism, its notifications are exported to user space through three system calls.
|
||||||
|
Pyinotify binds these system calls and provides an implementation on top of them.
|
||||||
|
|
||||||
|
This package contains the documentation files.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n pyinotify-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
CFLAGS="%{optflags}" %{__python} setup.py build
|
||||||
|
|
||||||
|
%install
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
%{__python} setup.py install \
|
||||||
|
-O1 --skip-build \
|
||||||
|
--root="%{buildroot}" \
|
||||||
|
--install-headers=%{_includedir}/python \
|
||||||
|
--install-lib=%{python_sitearch} \
|
||||||
|
--record=%{name}.filelist
|
||||||
|
|
||||||
|
## set encoding for documentation
|
||||||
|
#mv ChangeLog_old ChangeLog_old.iso88591
|
||||||
|
#iconv -f iso88591 -t utf8 -o ChangeLog_old \
|
||||||
|
# ChangeLog_old.iso88591
|
||||||
|
#rm -f ChangeLog_old.iso88591
|
||||||
|
|
||||||
|
# install launch script
|
||||||
|
install -D -m 0755 -p %{S:1} \
|
||||||
|
%{buildroot}%{_bindir}/pyinotify
|
||||||
|
|
||||||
|
# fix permissions
|
||||||
|
chmod 0755 %{buildroot}%{python_sitelib}/pyinotify.py
|
||||||
|
|
||||||
|
%clean
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
|
%files -f %{name}.filelist
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_bindir}/pyinotify
|
||||||
|
%doc ACKS COPYING
|
||||||
|
|
||||||
|
%files doc
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%doc python%{python_majversion}/examples
|
||||||
|
#%doc python%{python_majversion}/docstrings
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Fri May 17 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.4-2mamba
|
||||||
|
- python 2.7 mass rebuild
|
||||||
|
|
||||||
|
* Tue Nov 20 2012 Automatic Build System <autodist@mambasoft.it> 0.9.4-1mamba
|
||||||
|
- update to 0.9.4
|
||||||
|
|
||||||
|
* Wed Jun 13 2012 Automatic Build System <autodist@mambasoft.it> 0.9.3-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Thu May 12 2011 Automatic Build System <autodist@mambasoft.it> 0.9.2-1mamba
|
||||||
|
- automatic update by autodist
|
||||||
|
|
||||||
|
* Tue Nov 09 2010 Automatic Build System <autodist@mambasoft.it> 0.9.1-1mamba
|
||||||
|
- automatic update by autodist
|
||||||
|
|
||||||
|
* Sun Jun 20 2010 Automatic Build System <autodist@mambasoft.it> 0.9.0-1mamba
|
||||||
|
- update to 0.9.0
|
||||||
|
|
||||||
|
* Wed Jan 20 2010 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 0.8.9-1mamba
|
||||||
|
- update to 0.8.9
|
||||||
|
- package name changed to python-pyinotify
|
||||||
|
|
||||||
|
* Wed May 13 2009 gil <puntogil@libero.it> 0.8.6-1mamba
|
||||||
|
- package created by autospec
|
Loading…
Reference in New Issue
Block a user