diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-05-10 10:10:19 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-05-10 10:10:19 +0000 |
| commit | 9146510fae6b2a5a95372fdd65aaf9ca27c4aa7e (patch) | |
| tree | da733143ea6d84556cce179f2bc847751a2fd0b9 | |
| parent | c862df595e4e02b787c36a050c3504c9e6d7ce59 (diff) | |
automatic import of python-djangoldp-circle
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | python-djangoldp-circle.spec | 76 | ||||
| -rw-r--r-- | sources | 1 |
3 files changed, 78 insertions, 0 deletions
@@ -0,0 +1 @@ +/djangoldp_circle-2.1.25.tar.gz diff --git a/python-djangoldp-circle.spec b/python-djangoldp-circle.spec new file mode 100644 index 0000000..fb88ae2 --- /dev/null +++ b/python-djangoldp-circle.spec @@ -0,0 +1,76 @@ +%global _empty_manifest_terminate_build 0 +Name: python-djangoldp-circle +Version: 2.1.25 +Release: 1 +Summary: djangoldp package for circle data models +License: MIT +URL: https://git.startinblox.com/djangoldp-packages/djangoldp-circle +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/af/fc/cc170a693fe005d443c07f7e50759ad824ff0feacdd999429baad25b1a11/djangoldp_circle-2.1.25.tar.gz +BuildArch: noarch + +Requires: python3-djangoldp +Requires: python3-djangoldp-account +Requires: python3-factory-boy +Requires: python3-djangoldp-notification + +%description + + +%package -n python3-djangoldp-circle +Summary: djangoldp package for circle data models +Provides: python-djangoldp-circle +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-djangoldp-circle + + +%package help +Summary: Development documents and examples for djangoldp-circle +Provides: python3-djangoldp-circle-doc +%description help + + +%prep +%autosetup -n djangoldp-circle-2.1.25 + +%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-djangoldp-circle -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed May 10 2023 Python_Bot <Python_Bot@openeuler.org> - 2.1.25-1 +- Package Spec generated @@ -0,0 +1 @@ +4574830c50a08c44e516fc1c720f6b12 djangoldp_circle-2.1.25.tar.gz |
