65 lines
1.9 KiB
RPMSpec
65 lines
1.9 KiB
RPMSpec
Name: python-rope
|
|
Version: 0.16.0
|
|
Release: 1mamba
|
|
Summary: A python refactoring library
|
|
Group: System/Libraries
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: https://github.com/python-rope/rope
|
|
Source: https://pypi.python.org/packages/source/r/rope/rope-%{version}.tar.gz
|
|
License: GPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: libpython-devel
|
|
## AUTOBUILDREQ-END
|
|
Requires: python >= %python_version
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
%description
|
|
%{summary}.
|
|
|
|
%prep
|
|
%setup -q -n rope-%{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
|
|
|
|
chmod -R +r %{buildroot}%{python_sitearch}/rope-%{version}-py*.egg-info
|
|
|
|
%files -f %{name}.filelist
|
|
%defattr(-,root,root)
|
|
%doc COPYING
|
|
|
|
%changelog
|
|
* Sat Jan 11 2020 Automatic Build System <autodist@mambasoft.it> 0.16.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sun Jun 02 2019 Automatic Build System <autodist@mambasoft.it> 0.14.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Mar 14 2019 Automatic Build System <autodist@mambasoft.it> 0.12.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sun Aug 12 2018 Automatic Build System <autodist@mambasoft.it> 0.11.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sat May 05 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 0.10.7-2mamba
|
|
- fix info files permissions
|
|
|
|
* Tue May 01 2018 Automatic Build System <autodist@mambasoft.it> 0.10.7-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Oct 07 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 0.10.2-1mamba
|
|
- package created using the webbuild interface
|