pykickstart/pykickstart.spec

104 lines
2.7 KiB
RPMSpec
Raw Normal View History

2019-11-06 19:48:19 +08:00
%bcond_with runtests
Name: pykickstart
2023-01-28 16:06:04 +08:00
Version: 3.43
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
2023-01-28 16:06:04 +08:00
Source0: https://files.pythonhosted.org/packages/54/9f/08b1c12ebb6da72fe23cc60ca06bb25087da6f0e523e4bdba0fda0bfc2c7/pykickstart-3.43.tar.gz
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
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
%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
2023-01-28 16:06:04 +08:00
* Sat Jan 28 2023 zhuofeng <zhuofeng2@huawei.com> - 3.43-1
- update version to 3.43
* Tue Aug 02 2022 lixiaofei<lixiaofei38@huawei.com> - 3.34-2
- Bump release in order to upgrade from openEuler 22.03
2021-12-28 18:56:50 +08:00
* Tue Dec 28 2021 fuanan <fuanan3@huawei.com> - 3.34-1
- update version to 3.34
* 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