This is a really simple spec file that lets me build the dratted thing with a minimum of fuss. Twisted tarball is the one from http://twistedmatrix.com/trac/wiki/Downloads.
%define name python-twisted %define version 10.1.0 %define release 1 %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} Summary: Event-based framework for internet applications Name: %{name} Version: %{version} Release: %{release} Source0: Twisted-%{version}.tar.bz2 License: MIT Group: Development/Libraries BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot Prefix: %{_prefix} BuildArch: i386 Vendor: Your Name Url: http://twistedmatrix.com/ BuildRequires: python-devel Requires: python Requires: python-zope-interface Obsoletes: python-twisted-core %description See summary. %prep %setup -q -c %build cd Twisted-10.1.0 %{__python} setup.py build %install cd Twisted-10.1.0 %{__python} setup.py install --root=$RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %{python_sitelib}/twisted %{_bindir}
7 comments:
Eeeh nice. Update for this that works on Amazon Linux, python2.7, assuming you have the tarball Twisted-12.1.0.tar.bz2.
%define __python /usr/bin/python2.7
%define name python-twisted
%define python_sitelib %{python_sitearch}
%define version 12.1.0
%define release 1
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
Summary: Event-based framework for internet applications
Name: %{name}
Version: %{version}
Release: %{release}
Source0: Twisted-%{version}.tar.bz2
License: MIT
Group: Development/Libraries
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
Prefix: %{_prefix}
Vendor: Your Name
Url: http://twistedmatrix.com/
BuildRequires: python-devel
Requires: python27
Requires: python-zope-interface
%description
See summary.
%prep
%setup -q -n Twisted-12.1.0
%build
%{__python} setup.py build
%install
%{__python} setup.py install --root=$RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%{python_sitelib}/twisted
%{python_sitelib}/Twisted-12.1.0-py2.7.egg-info
%{_bindir}
Such A Brilent Information Eeeh nice. Update for this that works on Amazon Linux, python2.7, assuming you have the tarball Twisted-12.1.0.tar.bz2.
Layers Manager
WonderMouse Technology is a Digital marketing company in delhi. We market brands on the web & make sure that you get bang for your buck by SEO, SEM, PPC, SMO, Email Marketing, etc. Internet business is the present and eventual fate of overall exchange. WonderMouse Technology is the pioneer in making Ecommerce a smooth ordeal and top website designing company in Delhi knows it great. The platforms are designed specifically to enhance the consumer panorama of corporate websites. We offer customized and affordable best seo services in india which are designed to the needs, desires and budget of our clients.
yeezy wave runner 700
golden goose superstar
yeezy 500
off white
kyrie 6
lebron shoes
supreme hoodie
off white jordan 1
yeezy boost 350
off white shoes
Hi! I’m glad to read your post, it was nice. If anyone need assignment help service then visit our website No1AssignmentHelp.Com and get the best and valuable Assignment Help service at a student-friendly price prepared by our professional Assignment Writers. Visit us and get free Assignment Samples and free modification service on all your Case Study Assignment Help, homework, essay and dissertation requirement at one platform.
consultez ce site répliques de sacs gucci Cliquez ici sacs répliques hautes référence utile Goyard Dolabuy
Students will not be in a position to spend more time on the paper as there will be additional academic tasks to finish. Just count on us https://rankmywriter.com/papernow-org-review for these needs and our live assistance will result in the completion of the writing task as well as an additional valuable learning curve for students.
Post a Comment