diff --git a/README.md b/README.md index 1c1801b..64bfd3e 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # python-logilab-common +A collection of low-level Python packages and modules used by Logilab projects. + diff --git a/python-logilab-common.spec b/python-logilab-common.spec new file mode 100644 index 0000000..f35ab61 --- /dev/null +++ b/python-logilab-common.spec @@ -0,0 +1,82 @@ +Name: python-logilab-common +Version: 0.61.0 +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 +URL: http://www.logilab.org/project/logilab-common +Source: http://ftp.logilab.org/pub/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 +* Sun Mar 02 2014 Automatic Build System 0.61.0-1mamba +- automatic version update by autodist + +* Wed Dec 25 2013 Automatic Build System 0.60.1-1mamba +- automatic update by autodist + +* Sun Aug 04 2013 Automatic Build System 0.60.0-1mamba +- automatic update by autodist + +* Fri May 17 2013 Silvan Calarco 0.59.1-2mamba +- python 2.7 mass rebuild + +* Thu May 16 2013 Automatic Build System 0.59.1-1mamba +- automatic version update by autodist + +* Mon Feb 25 2013 Automatic Build System 0.59.0-1mamba +- automatic version update by autodist + +* Sat Nov 24 2012 Automatic Build System 0.58.3-1mamba +- automatic version update by autodist + +* Sun Sep 02 2012 Automatic Build System 0.58.2-1mamba +- automatic version update by autodist + +* Sun Jun 19 2011 Automatic Build System 0.56.0-1mamba +- automatic update by autodist + +* Mon Feb 28 2011 Stefano Cotta Ramusino 0.55.0-1mamba +- update to 0.55.0 + +* Mon May 31 2010 Stefano Cotta Ramusino 0.50.2-1mamba +- package created by autospec