diff options
author | CoprDistGit <infra@openeuler.org> | 2023-06-20 03:50:14 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-06-20 03:50:14 +0000 |
commit | 5a20a219546ecac02eb494de4777119ffc3a66e3 (patch) | |
tree | 33f9deeea3b4589a9d68d7abff578fe0e6e3c36d | |
parent | c79c515e153ca5ec5fed67cc9fea66099359ff50 (diff) |
automatic import of python-pyramid-skosprovideropeneuler20.03
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-pyramid-skosprovider.spec | 77 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 79 insertions, 0 deletions
@@ -0,0 +1 @@ +/pyramid_skosprovider-1.2.0.tar.gz diff --git a/python-pyramid-skosprovider.spec b/python-pyramid-skosprovider.spec new file mode 100644 index 0000000..e89c39a --- /dev/null +++ b/python-pyramid-skosprovider.spec @@ -0,0 +1,77 @@ +%global _empty_manifest_terminate_build 0 +Name: python-pyramid-skosprovider +Version: 1.2.0 +Release: 1 +Summary: Integration of skosprovider in pyramid +License: MIT +URL: https://github.com/OnroerendErfgoed/pyramid_skosprovider +Source0: https://mirrors.aliyun.com/pypi/web/packages/89/e2/22c05ae381ffb03462a4e8e2edad994ff9368d14beb20043d1144b018495/pyramid_skosprovider-1.2.0.tar.gz +BuildArch: noarch + +Requires: python3-pyramid +Requires: python3-skosprovider +Requires: python3-pytest +Requires: python3-pytest-cov +Requires: python3-webtest + +%description +This library integrates skosprovider_ in a pyramid application. + +%package -n python3-pyramid-skosprovider +Summary: Integration of skosprovider in pyramid +Provides: python-pyramid-skosprovider +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-pyramid-skosprovider +This library integrates skosprovider_ in a pyramid application. + +%package help +Summary: Development documents and examples for pyramid-skosprovider +Provides: python3-pyramid-skosprovider-doc +%description help +This library integrates skosprovider_ in a pyramid application. + +%prep +%autosetup -n pyramid_skosprovider-1.2.0 + +%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-skosprovider -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue Jun 20 2023 Python_Bot <Python_Bot@openeuler.org> - 1.2.0-1 +- Package Spec generated @@ -0,0 +1 @@ +c3ac78f32d4a2f8a752aaa7669488090 pyramid_skosprovider-1.2.0.tar.gz |