|
|
be70dac |
%if ! (0%{?fedora} || 0%{?rhel} > 5)
|
|
|
3b018ac |
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
|
|
3b018ac |
%endif
|
|
|
3b018ac |
|
|
|
3b018ac |
Summary: Streaming zlib (gzip) support for python
|
|
|
3b018ac |
Name: python-gzipstream
|
|
|
be70dac |
Version: 1.6.2
|
|
|
be70dac |
Release: 1%{?dist}
|
|
|
be70dac |
URL: https://fedorahosted.org/spacewalk/wiki/Projects/python-gzipstream
|
|
|
3b018ac |
Source0: https://fedorahosted.org/releases/s/p/spacewalk/python-gzipstream-%{version}.tar.gz
|
|
|
3b018ac |
License: Python and GPLv2
|
|
|
3b018ac |
Group: Development/Libraries
|
|
|
3b018ac |
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
|
|
3b018ac |
BuildArch: noarch
|
|
|
3b018ac |
BuildRequires: python-devel
|
|
|
3b018ac |
|
|
|
3b018ac |
|
|
|
3b018ac |
%description
|
|
|
3b018ac |
A streaming gzip handler.
|
|
|
3b018ac |
gzipstream.GzipStream extends the functionality of the gzip.GzipFile class
|
|
|
3b018ac |
to allow the processing of streaming data.
|
|
|
3b018ac |
|
|
|
3b018ac |
|
|
|
3b018ac |
%prep
|
|
|
3b018ac |
%setup -q
|
|
|
3b018ac |
|
|
|
3b018ac |
%build
|
|
|
3b018ac |
%{__python} setup.py build
|
|
|
3b018ac |
|
|
|
3b018ac |
%install
|
|
|
3b018ac |
rm -rf $RPM_BUILD_ROOT
|
|
|
3b018ac |
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
|
|
|
3b018ac |
|
|
|
3b018ac |
%clean
|
|
|
3b018ac |
rm -rf $RPM_BUILD_ROOT
|
|
|
3b018ac |
|
|
|
3b018ac |
%files
|
|
|
3b018ac |
%defattr(-,root,root)
|
|
|
3b018ac |
%{python_sitelib}/*
|
|
|
be70dac |
%doc html
|
|
|
3b018ac |
%doc LICENSE
|
|
|
3b018ac |
|
|
|
3b018ac |
%changelog
|
|
|
be70dac |
* Mon Oct 31 2011 Miroslav Suchý 1.6.2-1
|
|
|
be70dac |
- point to python-gzipstream specific URL
|
|
|
be70dac |
- add documentation
|
|
|
be70dac |
|
|
|
be70dac |
* Fri Jul 22 2011 Jan Pazdziora 1.6.1-1
|
|
|
be70dac |
- We only support version 14 and newer of Fedora, removing conditions for old
|
|
|
be70dac |
versions.
|
|
|
11798aa |
|
|
|
3b018ac |
* Tue Nov 30 2010 Miroslav Suchý <msuchy@redhat.com> 1.4.3-1
|
|
|
3b018ac |
- 657531 - correct condition for defining the python_sitelib macro
|
|
|
3b018ac |
(msuchy@redhat.com)
|
|
|
3b018ac |
|
|
|
3b018ac |
* Fri Nov 26 2010 Miroslav Suchý <msuchy@redhat.com> 1.4.2-1
|
|
|
3b018ac |
- put license into doc section (msuchy@redhat.com)
|
|
|
3b018ac |
- make setup quiet (msuchy@redhat.com)
|
|
|
3b018ac |
- correct buildroot (msuchy@redhat.com)
|
|
|
3b018ac |
- correct url and source url to point to fedorahosted (msuchy@redhat.com)
|
|
|
3b018ac |
|
|
|
3b018ac |
* Fri Nov 26 2010 Miroslav Suchý <msuchy@redhat.com> 1.4.1-1
|
|
|
3b018ac |
- new package built with tito
|
|
|
3b018ac |
|
|
|
3b018ac |
* Tue Jun 02 2009 Dennis Gilmore <dgilmore@redhat.com> 1.4.0-18
|
|
|
3b018ac |
- bump release to 18 to ensure its highest nvr wise
|
|
|
3b018ac |
|
|
|
3b018ac |
* Thu Feb 26 2009 Devan Goodwin <dgoodwin@redhat.com> 1.4.0-4
|
|
|
3b018ac |
- Rebuild for new rel-eng tools.
|
|
|
3b018ac |
|
|
|
3b018ac |
* Tue Jan 27 2009 Miroslav Suchý <msuchy@redhat.com> 1.4.0-3
|
|
|
3b018ac |
- rename gzipstream.spec to python-gzipstream.spec
|
|
|
3b018ac |
|
|
|
3b018ac |
* Fri Jan 23 2009 Dennis Gilmore <dennis@ausil.us> 1.4.0-17
|
|
|
3b018ac |
- BuildRequires python-devel
|
|
|
3b018ac |
- lots of spec file cleanups
|
|
|
3b018ac |
|
|
|
3b018ac |
* Fri Aug 1 2008 Jan Pazdziora
|
|
|
3b018ac |
- change .spec not to use the version file
|
|
|
3b018ac |
|
|
|
3b018ac |
* Wed May 21 2008 Jan Pazdziora - 1.4.0-15
|
|
|
3b018ac |
- rebuild in dist-cvs.
|
|
|
3b018ac |
|
|
|
3b018ac |
* Thu Oct 14 2004 Todd Warner <taw@redhat.com> 1.4.0-4
|
|
|
3b018ac |
- bumped release. Fixed a garbage-collection issue.
|
|
|
3b018ac |
|
|
|
3b018ac |
* Tue Jun 22 2004 Mihai Ibanescu <misa@redhat.com> 1.4.0-1
|
|
|
3b018ac |
- Rebuilding with distutils
|
|
|
3b018ac |
|
|
|
3b018ac |
* Tue Aug 20 2002 Cristian Gafton <gafton@redhat.com>
|
|
|
3b018ac |
- figure out automatically what python version are we building for
|
|
|
3b018ac |
|
|
|
3b018ac |
* Sun Mar 24 2002 Todd Warner <taw@redhat.com>
|
|
|
3b018ac |
- Just some v2.2 stuff commented out. (easier testing).
|
|
|
3b018ac |
|
|
|
3b018ac |
* Sat Mar 23 2002 Todd Warner <taw@redhat.com>
|
|
|
3b018ac |
- PythonLib is /usr/lib/python1.5, NOT .../python1.5.2
|
|
|
3b018ac |
|
|
|
3b018ac |
* Fri Mar 22 2002 Todd Warner <taw@redhat.com>
|
|
|
3b018ac |
- Only builds for Python v1.5.2 at the moment.
|
|
|
3b018ac |
- Made work with new build system.
|
|
|
3b018ac |
|
|
|
3b018ac |
* Fri Jan 01 2002 Todd Warner <taw@redhat.com>
|
|
|
3b018ac |
- Initial rpm package
|