python-posix_ipc/python-posix_ipc.spec

46 lines
1.4 KiB
RPMSpec
Raw Normal View History

2021-05-11 14:46:34 +08:00
Name: python-posix_ipc
2022-08-01 15:09:56 +08:00
Version: 1.0.5
Release: 1
2021-05-11 14:46:34 +08:00
Summary: POSIX IPC primitives (semaphores and shared memory) for Python
2022-05-10 19:14:35 +08:00
License: BSD-3-Clause
2021-05-11 14:46:34 +08:00
URL: http://semanchuk.com/philip/posix_ipc/
Source0: http://semanchuk.com/philip/posix_ipc/posix_ipc-%{version}.tar.gz
BuildRequires: gcc
%global _description\
posix_ipc is a Python module (written in C) that permits creation and\
manipulation of POSIX inter-process semaphores, shared memory and message\
queues on platforms supporting POSIX Realtime Extensions, POSIX 1003.1b-1993.
%description %_description
%package -n python3-posix_ipc
Summary: POSIX IPC primitives (semaphores and shared memory) for Python
BuildRequires: python3-devel python3-setuptools
%description -n python3-posix_ipc %_description
%prep
%setup -q -n posix_ipc-%{version}
chmod 644 demo/make_all.sh
chmod 644 demo2/cleanup.py
chmod 644 demo/cleanup.py
find . -name '*.py' | xargs sed -i '1s|^#!python|#!%{__python3}|'
%build
%py3_build
%install
%py3_install
%files -n python3-posix_ipc
%doc README LICENSE demo demo2
%{python3_sitearch}/*
%changelog
2022-08-01 15:09:56 +08:00
* Mon Aug 01 2022 liqiuyu <liqiuyu@kylinos.cn> - 1.0.5-1
- update to 1.0.5
2022-05-10 19:14:35 +08:00
* Tue May 10 2022 yangping <yangping69@h-partners> - 0.9.8-2
- License compliance rectification
2021-05-11 14:46:34 +08:00
* Sat May 8 2021 baizhonggui <baizhonggui@huawei.com> - 0.9.8-1
- package init