]> git.pld-linux.org Git - packages/python-inotify.git/blame - python-inotify.spec
- rel 1
[packages/python-inotify.git] / python-inotify.spec
CommitLineData
a3d01b7f 1#
2%define module inotify
3#
4Summary: Inotify module for Python
e8268e0e 5Summary(pl.UTF-8): Moduł inotify dla języka Python
a3d01b7f 6Name: python-%{module}
7Version: 0.1.0
e944e93c 8Release: 1
a3d01b7f 9License: GPL, other
10Group: Libraries/Python
11Source0: http://rudd-o.com/wp-content/uploads/projects/files/python-inotify/python-%{module}-%{version}.tar.gz
12# Source0-md5: 361bcab2f0cd57cdaf6fe6fe433778b0
13URL: http://rudd-o.com/projects/python-inotify/
14BuildRequires: python-devel >= 1:2.3
15BuildRequires: rpmbuild(macros) >= 1.219
16%pyrequires_eq python-modules
17BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19%description
20A module designed to make the Linux inotify interface programmatically
21available for Python.
22
23%description -l pl.UTF-8
24TODO
25
26%prep
27%setup -q
28
29%build
30python setup.py build
31
32%install
33rm -rf $RPM_BUILD_ROOT
34
35%{__install} -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
36
37python setup.py install \
38 --optimize=2 \
39 --root=$RPM_BUILD_ROOT
40
41%py_postclean
42mv $RPM_BUILD_ROOT%{_bindir}/inotify $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
43
44%clean
45rm -rf $RPM_BUILD_ROOT
46
47%files
48%defattr(644,root,root,755)
49%doc README LICENSE ChangeLog TODO
50%{py_sitedir}/*
51%{_examplesdir}/%{name}-%{version}
This page took 0.064655 seconds and 4 git commands to generate.