diff --git a/README.md b/README.md index 9c196a1..42a5115 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # python-pyplete +PYPLETE (PYthon autocomPLETE) is a interface to autocomplete in python. + diff --git a/python-pyplete.spec b/python-pyplete.spec new file mode 100644 index 0000000..eef880b --- /dev/null +++ b/python-pyplete.spec @@ -0,0 +1,46 @@ +Name: python-pyplete +Version: 0.0.5 +Release: 1mamba +Summary: An interface to autocomplete in Python +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Stefano Cotta Ramusino +URL: https://github.com/goinnn/pyplete +Source: https://pypi.python.org/packages/source/p/pyplete/pyplete-%{version}.tar.gz +License: LGPL +## AUTOBUILDREQ-BEGIN +BuildRequires: libpython-devel +## AUTOBUILDREQ-END +Requires: python >= %python_version +Requires: python-pysmell +BuildArch: noarch +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +PYPLETE (PYthon autocomPLETE) is a interface to autocomplete in python. + +%prep +%setup -q -n pyplete-%{version} + +%build +CFLAGS="%{optflags}" %{__python} setup.py build + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%{__python} setup.py install \ + -O1 --skip-build \ + --root="%{buildroot}" \ + --install-headers=%{_includedir}/python \ + --install-lib=%{python_sitearch} \ + --record=%{name}.filelist + +sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist + +%files -f %{name}.filelist +%defattr(-,root,root) +%doc CHANGES README.rst + +%changelog +* Thu Jan 30 2014 Stefano Cotta Ramusino 0.0.5-1mamba +- package created using the webbuild interface