From 26f42c845ffa25eed88213232310915cbc59c4c2 Mon Sep 17 00:00:00 2001 From: Davide Madrisan Date: Sat, 6 Jan 2024 11:02:41 +0100 Subject: [PATCH] package created using the webbuild interface [release 4.0.6-1mamba;Sat Jan 23 2016] --- README.md | 2 ++ python-decorator.spec | 41 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 python-decorator.spec diff --git a/README.md b/README.md index 6f95ea7..74b7910 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # python-decorator +The aim of the Python decorator module it to simplify the usage and to popularize decorators. + diff --git a/python-decorator.spec b/python-decorator.spec new file mode 100644 index 0000000..ef6e49a --- /dev/null +++ b/python-decorator.spec @@ -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 +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 4.0.6-1mamba +- package created using the webbuild interface \ No newline at end of file