Created
July 3, 2014 09:41
-
-
Save greggigon/7934d4548a68c97be766 to your computer and use it in GitHub Desktop.
RPM Spec for building Python 2.7.7 on RedHat 6.4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Name: python2.7 | |
Version: 2.7.7 | |
Release: 1%{?dist} | |
Summary: Python version 2.7.7 installation | |
Group: Development/Tools | |
License: GPL | |
URL: http://python.org | |
Source0: Python-2.7.7.tgz | |
BuildRequires:gcc | |
Requires: | |
%description | |
%prep | |
%setup -n Python-2.7.7 | |
%build | |
%configure | |
make %{?_smp_mflags} | |
%install | |
rm -rf $RPM_BUILD_ROOT | |
make altinstall DESTDIR=$RPM_BUILD_ROOT | |
%clean | |
rm -rf $RPM_BUILD_ROOT | |
%files | |
%defattr(-,root,root,-) | |
%doc | |
/usr/bin/2to3 | |
/usr/bin/idle | |
/usr/bin/pydoc | |
/usr/bin/python2.7 | |
/usr/bin/python2.7-config | |
/usr/bin/smtpd.py | |
/usr/include/python2.7/ | |
/usr/lib/python2.7/ | |
/usr/lib64/libpython2.7.a | |
/usr/lib64/pkgconfig/python-2.7.pc | |
/usr/lib64/python2.7/ | |
/usr/share/man/man1/python2.7.1.gz | |
%changelog |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment