]>
Commit | Line | Data |
---|---|---|
93249b9c | 1 | %define module fuse |
93249b9c | 2 | Summary: Python interface to FUSE (Filesystem in USErspace) |
59397545 | 3 | Summary(pl.UTF-8): Pythonowy interfejs do FUSE (systemu plików w przestrzeni użytkownika) |
93249b9c | 4 | Name: python-%{module} |
f266ade2 | 5 | Version: 0.2.1 |
cccc0c41 | 6 | Release: 4 |
db9230cd | 7 | License: LGPL v2.1 |
93249b9c | 8 | Group: Development/Languages/Python |
f266ade2 ER |
9 | Source0: http://downloads.sourceforge.net/fuse/fuse-python-%{version}.tar.gz |
10 | # Source0-md5: 9d9c5c2311ac04291ce822dfece108f8 | |
11 | URL: http://sourceforge.net/apps/mediawiki/fuse/index.php?title=FusePython | |
93249b9c | 12 | BuildRequires: libfuse-devel |
01aed787 | 13 | BuildRequires: pkgconfig |
366406e8 ER |
14 | BuildRequires: python-devel >= 1:2.5 |
15 | BuildRequires: rpm-pythonprov | |
6ac42cb3 | 16 | BuildRequires: rpmbuild(macros) >= 1.710 |
f266ade2 | 17 | Requires: python-modules |
93249b9c MK |
18 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
19 | ||
20 | %description | |
21 | Python interface to FUSE (Filesystem in USErspace). | |
22 | ||
15865a16 JR |
23 | %description -l pl.UTF-8 |
24 | Pythonowy interfejs do FUSE (Filesystem in USErspace - systemu plików | |
25 | w przestrzeni użytkownika). | |
04431660 | 26 | |
93249b9c | 27 | %prep |
8c53c5d7 | 28 | %setup -q -n fuse-python-%{version} |
93249b9c MK |
29 | |
30 | %build | |
1fdbc2fb | 31 | %py_build |
93249b9c MK |
32 | |
33 | %install | |
34 | rm -rf $RPM_BUILD_ROOT | |
1fdbc2fb | 35 | %py_install |
07397e09 | 36 | |
a00a494c | 37 | install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}-%{release} |
f266ade2 | 38 | cp -p example/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}-%{release} |
e75d58e2 | 39 | %py_postclean |
93249b9c MK |
40 | |
41 | %clean | |
42 | rm -rf $RPM_BUILD_ROOT | |
43 | ||
44 | %files | |
45 | %defattr(644,root,root,755) | |
8c53c5d7 | 46 | %doc AUTHORS Changelog FAQ README* |
f266ade2 ER |
47 | %{py_sitedir}/fuse.py[co] |
48 | %dir %{py_sitedir}/fuseparts | |
8c53c5d7 | 49 | %{py_sitedir}/fuseparts/*.py[co] |
50 | %attr(755,root,root) %{py_sitedir}/fuseparts/*.so | |
f266ade2 | 51 | %{py_sitedir}/fuse_python-%{version}-py*.egg-info |
a00a494c | 52 | %{_examplesdir}/%{name}-%{version}-%{release} |