From: Frank Brehm Date: Thu, 9 Dec 2021 10:53:10 +0000 (+0100) Subject: Adding pp-admintools.spec.template X-Git-Tag: 0.4.1~4^2~40 X-Git-Url: https://git.uhu-banane.net/?a=commitdiff_plain;h=b935c8a12a0fdb7f6c1e5ffc0d7dbe13c10ede2c;p=pixelpark%2Fpp-admin-tools.git Adding pp-admintools.spec.template --- diff --git a/pp-admintools.spec.template b/pp-admintools.spec.template new file mode 100644 index 0000000..e2dee64 --- /dev/null +++ b/pp-admintools.spec.template @@ -0,0 +1,69 @@ +# vim: filetype=spec + +%define version @@@Version@@@ +%define builddir python@@@py_version_nodot@@@_pp-admintools-%{version} + +Name: python@@@py_version_nodot@@@-pp-admintools +Version: %{version} +Release: @@@Release@@@%{?dist} +Summary: Scripts and modules for admin tasks of DPX Betriebs-Department + +Group: Development/Languages/Python +License: LGPL-3 +Distribution: Frank Brehm +URL: https://git.pixelpark.com/ppadmin/admin-tools +Source0: pp-admintools.%{version}.tar.gz + +BuildRequires: gettext +BuildRequires: python@@@py_version_nodot@@@ +BuildRequires: python@@@py_version_nodot@@@-libs +BuildRequires: python@@@py_version_nodot@@@-devel +BuildRequires: python@@@py_version_nodot@@@-setuptools +BuildRequires: python@@@py_version_nodot@@@-babel +BuildRequires: python@@@py_version_nodot@@@-pytz +BuildRequires: python@@@py_version_nodot@@@-six +BuildRequires: python@@@py_version_nodot@@@-fb-logging +BuildRequires: python@@@py_version_nodot@@@-fb-tools +BuildRequires: python@@@py_version_nodot@@@-fb-pdnstools +Requires: python@@@py_version_nodot@@@ +Requires: python@@@py_version_nodot@@@-libs +Requires: python@@@py_version_nodot@@@-babel +Requires: python@@@py_version_nodot@@@-pytz +Requires: python@@@py_version_nodot@@@-requests +Requires: python@@@py_version_nodot@@@-six +Requires: python@@@py_version_nodot@@@-fb-logging +Requires: python@@@py_version_nodot@@@-fb-tools +Requires: python@@@py_version_nodot@@@-fb-pdnstools +BuildArch: noarch + +%description +Scripts and modules for admin tasks of DPX Betriebs-Department + +This is the Python@@@py_version_nodot@@@ version. + +In this package are contained the following scripts: + * dns-deploy-zones + +%prep +%setup -n %{builddir} + +%build +cd ../%{builddir} +python@@@py_version_dot@@@ setup.py build + +%install +cd ../%{builddir} +echo "Buildroot: %{buildroot}" +python@@@py_version_dot@@@ setup.py install --prefix=%{_prefix} --root=%{buildroot} + +%files +%defattr(-,root,root,-) +%license LICENSE +%doc LICENSE README.md requirements.txt +%{_bindir}/dns-deploy-zones +%{python3_sitelib}/* + +%changelog +* Thu Dec 09 2021 Frank Brehm 0.3.0-1 +- Initial Build of a RPM package +