diff options
author | CoprDistGit <infra@openeuler.org> | 2023-06-20 07:21:54 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-06-20 07:21:54 +0000 |
commit | 80ae5c39d85298df86504cc0f40792c31197da6e (patch) | |
tree | c345f048fdbcc13f7467ca1a1394f3d7ce36b5ad | |
parent | d7878c5954d65d11cc53072811b96b9b1e3e9432 (diff) |
automatic import of python-pyramid_assetviewsopeneuler20.03
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-pyramid-assetviews.spec | 78 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 80 insertions, 0 deletions
@@ -0,0 +1 @@ +/pyramid_assetviews-1.0a3.tar.gz diff --git a/python-pyramid-assetviews.spec b/python-pyramid-assetviews.spec new file mode 100644 index 0000000..76c42d2 --- /dev/null +++ b/python-pyramid-assetviews.spec @@ -0,0 +1,78 @@ +%global _empty_manifest_terminate_build 0 +Name: python-pyramid_assetviews +Version: 1.0a3 +Release: 1 +Summary: pyramid_assetviews +License: UNKNOWN +URL: https://github.com/nek4life/pyramid_assetviews +Source0: https://mirrors.aliyun.com/pypi/web/packages/0a/c0/01e782e6af9e8ea01fe5ab37a6098a87056478bdb51d5acb8316eafa74a7/pyramid_assetviews-1.0a3.tar.gz +BuildArch: noarch + + +%description +- Included the sphinx documentation as part of the distribution package. +- Cleaned up the MANIFEST.in so there are no more warnings when installing + the package. + +%package -n python3-pyramid_assetviews +Summary: pyramid_assetviews +Provides: python-pyramid_assetviews +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-pyramid_assetviews +- Included the sphinx documentation as part of the distribution package. +- Cleaned up the MANIFEST.in so there are no more warnings when installing + the package. + +%package help +Summary: Development documents and examples for pyramid_assetviews +Provides: python3-pyramid_assetviews-doc +%description help +- Included the sphinx documentation as part of the distribution package. +- Cleaned up the MANIFEST.in so there are no more warnings when installing + the package. + +%prep +%autosetup -n pyramid_assetviews-1.0a3 + +%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-pyramid_assetviews -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue Jun 20 2023 Python_Bot <Python_Bot@openeuler.org> - 1.0a3-1 +- Package Spec generated @@ -0,0 +1 @@ +f53811a626f715841b5599ec4b7a8160 pyramid_assetviews-1.0a3.tar.gz |