diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-05-10 05:22:32 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-05-10 05:22:32 +0000 |
| commit | 255fe652c4bf354fe4062b14ec463cc067a7665a (patch) | |
| tree | 9e8a2386681d7dceefde480f9e8698f5f18b62cd | |
| parent | 16fc66889db2422e708642724da6137abd7a9fb5 (diff) | |
automatic import of python-boostopeneuler20.03
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | python-boost.spec | 72 | ||||
| -rw-r--r-- | sources | 1 |
3 files changed, 74 insertions, 0 deletions
@@ -0,0 +1 @@ +/boost-0.1.tar.gz diff --git a/python-boost.spec b/python-boost.spec new file mode 100644 index 0000000..1314811 --- /dev/null +++ b/python-boost.spec @@ -0,0 +1,72 @@ +%global _empty_manifest_terminate_build 0 +Name: python-boost +Version: 0.1 +Release: 1 +Summary: Boost automatically toots from Mastodon users +License: GNU GPL v3 +URL: https://gitlab.com/chaica/boost +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/cd/e9/fd77f318eba4976c9ed9df341c13daebe69cace8723dbd0f3d39a0dddb08/boost-0.1.tar.gz +BuildArch: noarch + + +%description +Boost automatically toots from users of the Mastodon social network + +%package -n python3-boost +Summary: Boost automatically toots from Mastodon users +Provides: python-boost +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-boost +Boost automatically toots from users of the Mastodon social network + +%package help +Summary: Development documents and examples for boost +Provides: python3-boost-doc +%description help +Boost automatically toots from users of the Mastodon social network + +%prep +%autosetup -n boost-0.1 + +%build +%py3_build + +%install +%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 . + +%files -n python3-boost -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed May 10 2023 Python_Bot <Python_Bot@openeuler.org> - 0.1-1 +- Package Spec generated @@ -0,0 +1 @@ +0958d5dbf81da6268aa8ee8dd86f203e boost-0.1.tar.gz |
