From 5dbb797014a8c9fcbbebf9e6a5359061c95a6637 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 11:16:43 +0100 Subject: [PATCH] package created using the webbuild interface [release 0.4-1mamba;Sat Jun 01 2019] --- README.md | 2 ++ python-iniparse.spec | 48 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 python-iniparse.spec diff --git a/README.md b/README.md index 6b5aaaa..8d446de 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # python-iniparse +A INI parser for Python which is compatible with ConfigParser and more. + diff --git a/python-iniparse.spec b/python-iniparse.spec new file mode 100644 index 0000000..576418a --- /dev/null +++ b/python-iniparse.spec @@ -0,0 +1,48 @@ +Name: python-iniparse +Version: 0.4 +Release: 1mamba +Summary: A INI parser for Python which is compatible with ConfigParser and more +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://pypi.org/project/INIParser/ +Source: https://pypi.debian.net/iniparse/iniparse-%{version}.tar.gz +License: Apache License 2.0 +## AUTOBUILDREQ-BEGIN +BuildRequires: libpython-devel +## AUTOBUILDREQ-END +Requires: python >= %python_version +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +%{summary}. + +%if 0%{?with_pyver} +%pyver_package +%endif + +%prep +%setup -q -n iniparse-%{version} + +%build +CFLAGS="%{optflags}" %{__python} setup.py build + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%{__python} setup.py install \ + -O1 --skip-build \ + --root="%{buildroot}" \ + --install-headers=%{python_inc} \ + --install-lib=%{python_sitearch} \ + --record=%{name}.filelist + +sed -i "s,.*/man/.*,&.gz," %{name}.filelist + +%files %{?pyappend} -f %{name}.filelist +%defattr(-,root,root) +%doc LICENSE + +%changelog +* Sat Jun 01 2019 Silvan Calarco 0.4-1mamba +- package created using the webbuild interface