]> git.pld-linux.org Git - SPECS.git/blob - python-fam.spec
SPECS updated Mon 29 Apr 22:05:02 CEST 2024
[SPECS.git] / python-fam.spec
1 Summary:        Python interface to FAM (File Alternation Monitor)
2 Summary(pl.UTF-8):      Interfejs do FAM (File Alternation Monitor) dla Pythona
3 Name:           python-fam
4 Version:        1.1.1
5 Release:        4
6 License:        LGPL
7 Group:          Development/Languages/Python
8 Source0:        http://downloads.sourceforge.net/python-fam/%{name}-%{version}.tar.gz
9 # Source0-md5:  f6c760c6d8e5ea69a3fce029f7973558
10 URL:            http://python-fam.sourceforge.net/
11 BuildRequires:  rpmbuild(macros) >= 1.710
12 BuildRequires:  fam-devel
13 BuildRequires:  python-devel >= 1:2.3
14 BuildRequires:  python-modules
15 BuildRequires:  rpm-pythonprov
16 %pyrequires_eq  python-modules
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 Python FAM provides a Python module to use the File Alteration Monitor
21 (http://oss.sgi.com/projects/fam/) in Python.
22
23 %description -l pl.UTF-8
24 Python FAM to moduł pozwalający korzystać z File Alternation Monitor
25 (monitora zmian plików). Więcej informacji o FAM dostępne jest na
26 stronie <http://oss.sgi.com/projects/fam/>.
27
28 %prep
29 %setup -q
30
31 %build
32 %py_build
33
34 %install
35 rm -rf $RPM_BUILD_ROOT
36 %py_install
37 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
38 install test*.py $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
39
40 %clean
41 rm -rf $RPM_BUILD_ROOT
42
43 %files
44 %defattr(644,root,root,755)
45 %attr(755,root,root) %{py_sitedir}/_fam.so
46 %{_examplesdir}/%{name}-%{version}
This page took 0.980809 seconds and 3 git commands to generate.