pyparted/pyparted.spec

70 lines
1.9 KiB
RPMSpec
Raw Normal View History

2019-11-06 19:48:25 +08:00
Name: pyparted
Epoch: 1
2023-07-12 15:33:57 +08:00
Version: 3.13.0
Release: 1
2019-11-06 19:48:25 +08:00
Summary: Python bindings for libparted
License: GPLv2
Group: System Environment/Libraries
2020-08-04 09:49:47 +08:00
URL: https://github.com/dcantrell/pyparted
2020-07-24 16:09:25 +08:00
Source0: https://github.com/dcantrell/pyparted/releases/download/v%{version}/%{name}-%{version}.tar.gz
2019-11-06 19:48:25 +08:00
BuildRequires: gcc pkgconfig e2fsprogs parted-devel >= 3.2-18
2019-11-06 19:48:25 +08:00
BuildRequires: python3-devel python3-six
%description
%{name} is a set of native Python bindings for libparted. libparted is the
library portion of the GNU parted project. With pyparted, you can write
applications that interact with disk partition tables and filesystems.
%package -n python3-pyparted
Summary: Python3 bindings for libparted
%description -n python3-pyparted
Python3 module for libparted.
%prep
%autosetup -n %{name}-%{version} -p1
2019-11-06 19:48:25 +08:00
%build
2021-03-24 18:05:31 +08:00
PYTHON=python3 %make_build CFLAGS="$RPM_OPT_FLAGS"
2019-11-06 19:48:25 +08:00
%check
PYTHON=python3 make test
%install
PYTHON=python3 %make_install
%files -n python3-pyparted
2023-07-12 15:33:57 +08:00
%doc AUTHORS NEWS TODO
2019-11-06 19:48:25 +08:00
%{python3_sitearch}/_ped.*.so
%{python3_sitearch}/parted
%{python3_sitearch}/%{name}-%{version}-*.egg-info
2022-11-07 17:46:19 +08:00
%changelog
2023-07-12 15:33:57 +08:00
* Wed Jul 12 2023 dillon chen<dillon.chen@gmail.com> - 3.13.0-1
- update to 3.13.0
2022-12-01 20:53:51 +08:00
* Thu Dec 1 2022 Wenlong Zhang<zhangwenlong@loongson.cn> - 3.12.0-2
- Add loongarch64 architecture
2022-11-07 17:46:19 +08:00
* Fri Oct 28 2022 zhuofeng <zhuofeng2@huawei.com> - 3.12.0-1
- update to 3.12.0
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 3.11.7-3
- DESC: delete -Sgit from %autosetup, and delete BuildRequires git
2021-03-24 18:05:31 +08:00
* Wed Mar 03 2021 shixuantong <shixuantong@huawei.com> - 3.11.7-2
- add debuginfo and debugsource
2021-02-02 11:22:15 +08:00
* Tue Feb 02 2021 wuchaochao <wuchaochao4@huawei.com> - 3.11.7-1
- Update package version
2020-08-04 09:49:47 +08:00
* Tue Aug 04 2020 Leo Fang <leofang_94@163.com> - 3.11.6-2
- Update URL of pyparted
2020-07-24 16:09:25 +08:00
* Fri Jul 24 2020 shixuantong <shixuantong@huawei.com> - 3.11.6-1
- update to 3.11.6-1
2019-11-06 19:48:25 +08:00
* Sat Oct 19 2019 openEuler Buildteam <buildteam@openeuler.org> - 1:3.11.0-18
- Package init