package created using the webbuild interface [release 4.0.6-1mamba;Sat Jan 23 2016]

This commit is contained in:
Davide Madrisan 2024-01-06 11:02:41 +01:00
parent 36978a6e40
commit 26f42c845f
2 changed files with 43 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# python-decorator
The aim of the Python decorator module it to simplify the usage and to popularize decorators.

41
python-decorator.spec Normal file
View File

@ -0,0 +1,41 @@
Name: python-decorator
Version: 4.0.6
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.python.org/packages/source/d/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)
%changelog
* Sat Jan 23 2016 Davide Madrisan <davide.madrisan@gmail.com> 4.0.6-1mamba
- package created using the webbuild interface