Line | |
---|
1 | Summary: scripts.mit.edu python path configuration |
---|
2 | Group: Development/Languages |
---|
3 | Name: scripts-python-path |
---|
4 | Version: 0.%{scriptsversion} |
---|
5 | Release: 0 |
---|
6 | Vendor: The scripts.mit.edu Team (scripts@mit.edu) |
---|
7 | URL: http://scripts.mit.edu |
---|
8 | License: GPL |
---|
9 | Source: %{name}.tar.gz |
---|
10 | BuildRoot: %{_tmppath}/%(%{__id_u} -n)-%{name}-%{version}-root |
---|
11 | |
---|
12 | %description |
---|
13 | |
---|
14 | scripts.mit.edu python path configuration |
---|
15 | See http://scripts.mit.edu/wiki for more information. |
---|
16 | |
---|
17 | %prep |
---|
18 | %setup -q -n %{name} |
---|
19 | %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} |
---|
20 | |
---|
21 | %install |
---|
22 | [ $RPM_BUILD_ROOT != / ] && rm -rf $RPM_BUILD_ROOT |
---|
23 | install -d $RPM_BUILD_ROOT%{python_sitelib} |
---|
24 | install -m 644 00scripts-home.pth $RPM_BUILD_ROOT%{python_sitelib} |
---|
25 | |
---|
26 | %clean |
---|
27 | [ $RPM_BUILD_ROOT != / ] && rm -rf $RPM_BUILD_ROOT |
---|
28 | |
---|
29 | %files |
---|
30 | %defattr(0644, root, root) |
---|
31 | %{python_sitelib}/00scripts-home.pth |
---|
32 | |
---|
33 | %changelog |
---|
34 | * Thu Jul 9 2009 Geoffrey Thomas <geofft@mit.edu> |
---|
35 | - Update to Python 2.6 |
---|
36 | * Tue Jan 27 2009 Quentin Smith <quentin@mit.edu> |
---|
37 | - initial release |
---|
Note: See
TracBrowser
for help on using the repository browser.