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