2019-11-06 19:48:19 +08:00
|
|
|
%bcond_with runtests
|
|
|
|
|
|
|
|
|
|
Name: pykickstart
|
2021-12-28 18:56:50 +08:00
|
|
|
Version: 3.34
|
|
|
|
|
Release: 1
|
2020-06-22 19:28:39 +08:00
|
|
|
Summary: Python utilities for manipulating kickstart files.
|
2019-11-06 19:48:19 +08:00
|
|
|
License: GPLv2 and MIT
|
|
|
|
|
Url: http://fedoraproject.org/wiki/pykickstart
|
2021-12-28 18:56:50 +08:00
|
|
|
Source0: https://github.com/pykickstart/pykickstart/releases/download/r3.34/%{name}-%{version}.tar.gz
|
|
|
|
|
Source1: https://github.com/pykickstart/pykickstart/releases/download/r3.34/%{name}-%{version}.tar.gz.asc
|
2019-11-06 19:48:19 +08:00
|
|
|
|
2020-06-22 19:28:39 +08:00
|
|
|
BuildArch: noarch
|
|
|
|
|
|
2021-12-28 18:56:50 +08:00
|
|
|
BuildRequires: gettext python3-coverage python3-devel
|
2021-01-26 11:52:01 +08:00
|
|
|
BuildRequires: python3-requests python3-setuptools
|
2021-07-30 23:18:07 +08:00
|
|
|
BuildRequires: python3-six python3-sphinx
|
2019-11-06 19:48:19 +08:00
|
|
|
|
|
|
|
|
Requires: python3-kickstart = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description
|
2020-06-22 19:28:39 +08:00
|
|
|
Python utilities for manipulating kickstart files.
|
2019-11-06 19:48:19 +08:00
|
|
|
|
2020-06-22 19:28:39 +08:00
|
|
|
%package help
|
|
|
|
|
Summary: Help manual for %{name}
|
2019-11-06 19:48:19 +08:00
|
|
|
|
|
|
|
|
%description help
|
|
|
|
|
The %{name}-help package conatins man manual
|
|
|
|
|
|
|
|
|
|
%package -n python3-kickstart
|
|
|
|
|
Summary: Python 3 library for manipulating kickstart files.
|
2021-01-26 11:52:01 +08:00
|
|
|
Requires: python3-six python3-requests
|
2019-11-06 19:48:19 +08:00
|
|
|
|
|
|
|
|
%description -n python3-kickstart
|
2020-06-22 19:28:39 +08:00
|
|
|
Python 3 library for manipulating kickstart files. The binaries are found in
|
|
|
|
|
the pykickstart package.
|
2019-11-06 19:48:19 +08:00
|
|
|
|
|
|
|
|
%package -n python-kickstart-help
|
|
|
|
|
Summary: Help manual for python2-kickstart and python3-kickstart
|
|
|
|
|
|
|
|
|
|
%description -n python-kickstart-help
|
|
|
|
|
The python-kickstart-help package conatins kickstart-docs and programmers-guide
|
|
|
|
|
|
|
|
|
|
%prep
|
2021-07-30 23:18:07 +08:00
|
|
|
%autosetup -n %{name}-%{version} -p1
|
2019-11-06 19:48:19 +08:00
|
|
|
|
|
|
|
|
%build
|
2020-06-22 19:28:39 +08:00
|
|
|
make PYTHON=%{__python3}
|
2019-11-06 19:48:19 +08:00
|
|
|
|
|
|
|
|
%install
|
2020-06-22 19:28:39 +08:00
|
|
|
make PYTHON=%{__python3} DESTDIR=%{buildroot} install
|
2019-11-06 19:48:19 +08:00
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
%if %{with runtests}
|
2020-06-22 19:28:39 +08:00
|
|
|
make PYTHON=%{__python3} test
|
2019-11-06 19:48:19 +08:00
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%license COPYING
|
|
|
|
|
%doc data/kickstart.vim
|
|
|
|
|
%doc README.rst
|
|
|
|
|
%{_bindir}/ksvalidator
|
|
|
|
|
%{_bindir}/ksflatten
|
|
|
|
|
%{_bindir}/ksverdiff
|
|
|
|
|
%{_bindir}/ksshell
|
|
|
|
|
|
|
|
|
|
%files help
|
|
|
|
|
%{_mandir}/man1/ksflatten.1.gz
|
|
|
|
|
%{_mandir}/man1/ksshell.1.gz
|
|
|
|
|
%{_mandir}/man1/ksvalidator.1.gz
|
|
|
|
|
%{_mandir}/man1/ksverdiff.1.gz
|
|
|
|
|
|
|
|
|
|
%files -n python3-kickstart
|
|
|
|
|
%{python3_sitelib}/pykickstart
|
|
|
|
|
%{python3_sitelib}/pykickstart*.egg-info
|
|
|
|
|
|
|
|
|
|
%files -n python-kickstart-help
|
|
|
|
|
%doc docs/2to3
|
|
|
|
|
%doc docs/programmers-guide
|
|
|
|
|
%doc docs/kickstart-docs.txt
|
|
|
|
|
|
|
|
|
|
%changelog
|
2021-12-28 18:56:50 +08:00
|
|
|
* Tue Dec 28 2021 fuanan <fuanan3@huawei.com> - 3.34-1
|
|
|
|
|
- update version to 3.34
|
|
|
|
|
|
2021-07-30 23:18:07 +08:00
|
|
|
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 3.30-2
|
|
|
|
|
- DESC: delete -Sgit from %autosetup, and delete BuildRequires git
|
|
|
|
|
|
2021-01-26 11:52:01 +08:00
|
|
|
* Tue Jan 26 2021 zoulin <zoulin13@huawei.com> - 3.30-1
|
|
|
|
|
- update version to 3.30
|
|
|
|
|
|
2020-07-24 10:01:57 +08:00
|
|
|
* Fri Jul 24 2020 wangchen<wangchen137@huawei.com> - 3.27-1
|
|
|
|
|
- update version to 3.27
|
|
|
|
|
|
2020-06-22 19:28:39 +08:00
|
|
|
* Mon Jun 22 2020 fengtao<fengtao40@huawei.com> - 3.25-1
|
|
|
|
|
- update version to 3.25
|
|
|
|
|
|
2019-11-06 19:48:19 +08:00
|
|
|
* Sat Oct 19 2019 openEuler Buildteam <buildteam@openeuler.org> - 3.16-2
|
|
|
|
|
- Package init
|