package created using the webbuild interface [release 0.7.3-1mamba;Thu Jan 30 2014]
This commit is contained in:
parent
2df7cf7bff
commit
ad07c30bd9
45
python-pysmell.spec
Normal file
45
python-pysmell.spec
Normal file
@ -0,0 +1,45 @@
|
||||
Name: python-pysmell
|
||||
Version: 0.7.3
|
||||
Release: 1mamba
|
||||
Summary: Autocomplete helper for Python
|
||||
Group: System/Libraries
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Stefano Cotta Ramusino <stefano.cotta@openmamba.org>
|
||||
URL: https://code.google.com/p/pysmell/
|
||||
Source: https://pypi.python.org/packages/source/p/pysmell/pysmell-%{version}.zip
|
||||
License: BSD
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: libpython-devel
|
||||
## AUTOBUILDREQ-END
|
||||
Requires: python >= %python_version
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
%description
|
||||
PySmell is a python IDE completion helper.
|
||||
|
||||
%prep
|
||||
%setup -q -n pysmell-%{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 AUTHORS README.markdown
|
||||
|
||||
%changelog
|
||||
* Thu Jan 30 2014 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 0.7.3-1mamba
|
||||
- package created using the webbuild interface
|
Loading…
Reference in New Issue
Block a user