python-logilab-common/python-logilab-common.spec

95 lines
3.1 KiB
RPMSpec

Name: python-logilab-common
Version: 0.63.1
Release: 1mamba
Summary: A collection of low-level Python packages and modules used by Logilab projects
Group: System/Libraries/Python
Vendor: openmamba
Distribution: openmamba
Packager: Stefano Cotta Ramusino <stefano.cotta@openmamba.org>
URL: http://www.logilab.org/project/logilab-common
Source: https://pypi.python.org/packages/source/l/logilab-common/logilab-common-%{version}.tar.gz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: libpython-devel
## AUTOBUILDREQ-END
Requires: python >= %python_version
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
A collection of low-level Python packages and modules used by Logilab projects.
%prep
%setup -q -n logilab-common-%{version}
%build
%{__python} setup.py build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%{__python} setup.py install \
-O1 --skip-build \
--root="%{buildroot}" \
--install-headers=%{_includedir}/python \
--single-version-externally-managed \
--record=%{name}.filelist
# Do not package testsuite
rm -rf %{buildroot}%{python_sitelib}/logilab/common/test
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz,;\,/test/,d" %{name}.filelist
echo "%{python_sitelib}/logilab/__init__.py" >> %{name}.filelist
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files -f %{name}.filelist
%defattr(-,root,root)
%doc ChangeLog COPYING README
%changelog
* Sat Nov 29 2014 Automatic Build System <autodist@mambasoft.it> 0.63.1-1mamba
- automatic version update by autodist
* Thu Nov 06 2014 Automatic Build System <autodist@mambasoft.it> 0.63.0-1mamba
- automatic version update by autodist
* Thu Jul 31 2014 Automatic Build System <autodist@mambasoft.it> 0.62.1-1mamba
- automatic version update by autodist
* Thu Jul 10 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.62.0-1mamba
- update to 0.62.0
* Sun Mar 02 2014 Automatic Build System <autodist@mambasoft.it> 0.61.0-1mamba
- automatic version update by autodist
* Wed Dec 25 2013 Automatic Build System <autodist@mambasoft.it> 0.60.1-1mamba
- automatic update by autodist
* Sun Aug 04 2013 Automatic Build System <autodist@mambasoft.it> 0.60.0-1mamba
- automatic update by autodist
* Fri May 17 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.59.1-2mamba
- python 2.7 mass rebuild
* Thu May 16 2013 Automatic Build System <autodist@mambasoft.it> 0.59.1-1mamba
- automatic version update by autodist
* Mon Feb 25 2013 Automatic Build System <autodist@mambasoft.it> 0.59.0-1mamba
- automatic version update by autodist
* Sat Nov 24 2012 Automatic Build System <autodist@mambasoft.it> 0.58.3-1mamba
- automatic version update by autodist
* Sun Sep 02 2012 Automatic Build System <autodist@mambasoft.it> 0.58.2-1mamba
- automatic version update by autodist
* Sun Jun 19 2011 Automatic Build System <autodist@mambasoft.it> 0.56.0-1mamba
- automatic update by autodist
* Mon Feb 28 2011 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 0.55.0-1mamba
- update to 0.55.0
* Mon May 31 2010 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 0.50.2-1mamba
- package created by autospec