Line | |
---|
1 | %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} |
---|
2 | |
---|
3 | Name: python-routefs |
---|
4 | Version: 0.0.1 |
---|
5 | Release: 1%{?dist} |
---|
6 | Summary: A FUSE API wrapper based on URL routing |
---|
7 | |
---|
8 | Group: Development/Languages |
---|
9 | License: MIT |
---|
10 | URL: http://ebroder.net/code/python-routefs.git |
---|
11 | Source0: python-routefs.tar.gz |
---|
12 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
---|
13 | |
---|
14 | BuildRequires: python-devel |
---|
15 | BuildRequires: python-routes >= 1.7 |
---|
16 | BuildRequires: fuse-python >= 0.2 |
---|
17 | Requires: python-routes >= 1.7 |
---|
18 | Requires: fuse-python >= 0.2 |
---|
19 | |
---|
20 | %description |
---|
21 | |
---|
22 | RouteFS is a base class for developing read-only FUSE filesystems that |
---|
23 | lets you focus on the directory tree instead of the system calls. |
---|
24 | |
---|
25 | RouteFS uses the Routes library developed for Pylons. URLs were |
---|
26 | inspired by filesystems, and now you can have filesystems inspired by |
---|
27 | URLs. |
---|
28 | |
---|
29 | |
---|
30 | %prep |
---|
31 | %setup -q -n %{name} |
---|
32 | |
---|
33 | |
---|
34 | %build |
---|
35 | %{__python} setup.py build |
---|
36 | |
---|
37 | |
---|
38 | %install |
---|
39 | rm -rf $RPM_BUILD_ROOT |
---|
40 | %{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT |
---|
41 | |
---|
42 | |
---|
43 | %clean |
---|
44 | rm -rf $RPM_BUILD_ROOT |
---|
45 | |
---|
46 | |
---|
47 | %files |
---|
48 | %defattr(-,root,root,-) |
---|
49 | %doc |
---|
50 | %{python_sitelib}/* |
---|
51 | |
---|
52 | |
---|
53 | %changelog |
---|
54 | * Sun Sep 14 2008 Anders Kaseorg <andersk@mit.edu> - 0.0.1 |
---|
55 | - Initial RPM release. |
---|
Note: See
TracBrowser
for help on using the repository browser.