source: tags/fc9-eol/server/fedora/specs/scripts-python-path.spec @ 2013

Last change on this file since 2013 was 1256, checked in by andersk, 15 years ago
BLUE!!!
File size: 1.0 KB
Line 
1Summary: scripts.mit.edu python path configuration
2Group: Development/Languages
3Name: scripts-python-path
4Version: 0.%{scriptsversion}
5Release: 0
6Vendor: The scripts.mit.edu Team (scripts@mit.edu)
7URL: http://scripts.mit.edu
8License: GPL
9Source: %{name}.tar.gz
10BuildRoot: %{_tmppath}/%(%{__id_u} -n)-%{name}-%{version}-root
11
12%description 
13
14scripts.mit.edu python path configuration
15See 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
23install -d $RPM_BUILD_ROOT%{python_sitelib}
24install -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.