2022-11-18 14:38:40 +08:00
|
|
|
%global _empty_manifest_terminate_build 0
|
2019-11-27 18:04:37 +08:00
|
|
|
Name: python-blinker
|
2022-11-18 14:38:40 +08:00
|
|
|
Version: 1.5
|
|
|
|
|
Release: 1
|
2019-11-27 18:04:37 +08:00
|
|
|
Summary: A powerful signal lib based on Python
|
|
|
|
|
License: MIT
|
|
|
|
|
URL: https://pythonhosted.org/blinker/
|
2022-11-18 14:38:40 +08:00
|
|
|
Source0: https://files.pythonhosted.org/packages/2b/12/82786486cefb68685bb1c151730f510b0f4e5d621d77f245bc0daf9a6c64/blinker-1.5.tar.gz
|
2019-11-27 18:04:37 +08:00
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Blinker is a signal lib based on Python.It supports both object-to-object
|
|
|
|
|
and multicasting for python object.The core of blinker is minimal but provides
|
|
|
|
|
quite powerful features.
|
|
|
|
|
|
2022-11-18 14:38:40 +08:00
|
|
|
%package -n python3-blinker
|
|
|
|
|
Summary: A powerful signal lib based on Python
|
|
|
|
|
Provides: python-blinker = %{version}-%{release}
|
|
|
|
|
BuildRequires: python3-devel python3-setuptools
|
2019-11-27 18:04:37 +08:00
|
|
|
|
|
|
|
|
%description -n python3-blinker
|
|
|
|
|
Blinker is a signal lib based on Python.It supports both object-to-object
|
|
|
|
|
and multicasting for python object.The core of blinker is minimal but provides
|
|
|
|
|
quite powerful features.
|
|
|
|
|
|
2022-11-18 14:38:40 +08:00
|
|
|
%package help
|
|
|
|
|
Summary: Development documents and examples for blinker
|
|
|
|
|
Provides: python3-blinker-doc
|
|
|
|
|
|
|
|
|
|
%description help
|
|
|
|
|
Blinker is a signal lib based on Python.It supports both object-to-object
|
|
|
|
|
and multicasting for python object.The core of blinker is minimal but provides
|
|
|
|
|
quite powerful features.
|
2019-11-27 18:04:37 +08:00
|
|
|
|
2022-11-18 14:38:40 +08:00
|
|
|
%prep
|
|
|
|
|
%autosetup -n blinker-%{version}
|
2019-11-27 18:04:37 +08:00
|
|
|
|
|
|
|
|
%build
|
2022-11-18 14:38:40 +08:00
|
|
|
%py3_build
|
2019-11-27 18:04:37 +08:00
|
|
|
|
|
|
|
|
%install
|
2022-11-18 14:38:40 +08:00
|
|
|
%py3_install
|
|
|
|
|
install -d -m755 %{buildroot}/%{_pkgdocdir}
|
|
|
|
|
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
|
|
|
|
|
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
|
|
|
|
|
if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
|
|
|
|
|
if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
|
|
|
|
|
pushd %{buildroot}
|
|
|
|
|
if [ -d usr/lib ]; then
|
|
|
|
|
find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
|
|
|
|
|
fi
|
|
|
|
|
if [ -d usr/lib64 ]; then
|
|
|
|
|
find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
|
|
|
|
|
fi
|
|
|
|
|
if [ -d usr/bin ]; then
|
|
|
|
|
find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
|
|
|
|
|
fi
|
|
|
|
|
if [ -d usr/sbin ]; then
|
|
|
|
|
find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
|
|
|
|
|
fi
|
|
|
|
|
touch doclist.lst
|
|
|
|
|
if [ -d usr/share/man ]; then
|
|
|
|
|
find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
|
|
|
|
|
fi
|
|
|
|
|
popd
|
|
|
|
|
mv %{buildroot}/filelist.lst .
|
|
|
|
|
mv %{buildroot}/doclist.lst .
|
2019-11-27 18:04:37 +08:00
|
|
|
|
2022-11-18 14:38:40 +08:00
|
|
|
%files -n python3-blinker -f filelist.lst
|
|
|
|
|
%dir %{python3_sitelib}/*
|
|
|
|
|
|
|
|
|
|
%files help -f doclist.lst
|
|
|
|
|
%{_docdir}/*
|
2019-11-27 18:04:37 +08:00
|
|
|
|
|
|
|
|
%changelog
|
2022-11-18 14:38:40 +08:00
|
|
|
* Fri Nov 18 2022 liqiuyu <liqiuyu@kylinos.cn> - 1.5-1
|
|
|
|
|
- Update package to version 1.5
|
|
|
|
|
|
2020-10-30 14:15:20 +08:00
|
|
|
* Wed Oct 21 2020 chengzihan <chengzihan2@huawei.com> - 1.4-6
|
|
|
|
|
- Remove subpackage python2-blinker
|
|
|
|
|
|
2020-09-29 10:29:37 +08:00
|
|
|
* Tue Sep 29 2020 liuweibo <liuweibo10@huawei.com> - 1.4-5
|
|
|
|
|
- Fix Source0
|
|
|
|
|
|
2019-11-27 18:04:37 +08:00
|
|
|
* Tue Nov 26 2019 zhouyihang <zhouyihang1@huawei.com> - 1.4-4
|
|
|
|
|
- Package init
|