automatic update by autodist [release 4.4.1-1mamba;Thu Mar 20 2014]

This commit is contained in:
Automatic Build System 2024-01-05 16:57:57 +01:00
parent a5f965df00
commit bf841e3e58
2 changed files with 80 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# python-zope-schema
zope.interface extension for defining data schemas.

78
python-zope-schema.spec Normal file
View File

@ -0,0 +1,78 @@
Name: python-zope-schema
Version: 4.4.1
Release: 1mamba
Summary: zope.interface extension for defining data schemas
Group: System/Libraries/Python
Vendor: openmamba
Distribution: openmamba
Packager: Stefano Cotta Ramusino <stefano.cotta@openmamba.org>
URL: http://pypi.python.org/pypi/zope.schema
Source: http://pypi.python.org/packages/source/z/zope.schema/zope.schema-%{version}.tar.gz
License: Zope Public License
## AUTOBUILDREQ-BEGIN
BuildRequires: libpython-devel
## AUTOBUILDREQ-END
Requires: python >= %python_version
Requires: python-zope-interface
Requires: python-zope-event
Requires: python-six
BuildRoot: %{_tmppath}/%{name}-%{version}-root
BuildArch: noarch
%description
zope.interface extension for defining data schemas.
%prep
%setup -q -n zope.schema-%{version}
%build
%{__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} \
--single-version-externally-managed \
--record=%{name}.filelist
# remove tests
rm -rf %{buildroot}%{python_sitearch}/zope/schema/tests
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz,;\,/tests/,d" %{name}.filelist
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files -f %{name}.filelist
%defattr(-,root,root)
%doc COPYRIGHT.txt LICENSE.txt
#%doc CHANGES.txt README.txt
#%doc src/zope/schema/*.txt
%changelog
* Thu Mar 20 2014 Automatic Build System <autodist@mambasoft.it> 4.4.1-1mamba
- automatic update by autodist
* Fri May 17 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 4.2.2-2mamba
- python 2.7 mass rebuild
* Thu Nov 29 2012 Automatic Build System <autodist@mambasoft.it> 4.2.2-1mamba
- automatic version update by autodist
* Wed Aug 08 2012 Automatic Build System <autodist@mambasoft.it> 4.2.0-1mamba
- automatic version update by autodist
* Wed Dec 21 2011 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 4.0.1-2mamba
- added missing requirement
* Tue Dec 20 2011 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 4.0.1-1mamba
- update to 4.0.1
* Mon May 23 2011 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 3.8.0-1mamba
- update to 3.8.0
* Wed Oct 13 2010 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 3.7.0-1mamba
- package created by autospec