57 lines
1.9 KiB
RPMSpec
57 lines
1.9 KiB
RPMSpec
Name: python-decorator
|
|
Version: 4.2.1
|
|
Release: 1mamba
|
|
Summary: A Python moduke to simplify the usage and to popularize decorators
|
|
Group: System/Libraries
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Davide Madrisan <davide.madrisan@gmail.com>
|
|
URL: https://pypi.python.org/pypi/decorator/
|
|
Source: http://pypi.debian.net/decorator/decorator-%{version}.tar.gz
|
|
License: BSD
|
|
BuildRequires: libpython-devel
|
|
Requires: python >= %python_version
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
%description
|
|
The aim of the Python decorator module it to simplify the usage and to popularize decorators.
|
|
|
|
%prep
|
|
%setup -q -n decorator-%{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
|
|
|
|
%files -f %{name}.filelist
|
|
%defattr(-,root,root)
|
|
%{python27_sitearch}/decorator-%{version}-py*.egg-info/*
|
|
|
|
%changelog
|
|
* Mon Jan 15 2018 Automatic Build System <autodist@mambasoft.it> 4.2.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue Aug 08 2017 Automatic Build System <autodist@mambasoft.it> 4.1.2-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Jan 25 2017 Automatic Build System <autodist@mambasoft.it> 4.0.11-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sat Jun 11 2016 Automatic Build System <autodist@mambasoft.it> 4.0.10-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue Mar 01 2016 Automatic Build System <autodist@mambasoft.it> 4.0.9-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sat Jan 23 2016 Davide Madrisan <davide.madrisan@gmail.com> 4.0.6-1mamba
|
|
- package created using the webbuild interface |