diff options
author | CoprDistGit <infra@openeuler.org> | 2023-06-20 04:05:46 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-06-20 04:05:46 +0000 |
commit | 29457f329c2072b2fdd8adf418001b01307049ef (patch) | |
tree | cbfbcdc25c8106912aac902dd704308062005e2b | |
parent | eb5b38fb1584425672f9caf83675de54d2a1686d (diff) |
automatic import of python-django-fsmedhro-coreopeneuler20.03
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-django-fsmedhro-core.spec | 75 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 77 insertions, 0 deletions
@@ -0,0 +1 @@ +/django-fsmedhro-core-0.2.16.tar.gz diff --git a/python-django-fsmedhro-core.spec b/python-django-fsmedhro-core.spec new file mode 100644 index 0000000..b5558f6 --- /dev/null +++ b/python-django-fsmedhro-core.spec @@ -0,0 +1,75 @@ +%global _empty_manifest_terminate_build 0 +Name: python-django-fsmedhro-core +Version: 0.2.16 +Release: 1 +Summary: Basisapp für die Webseite des FSR Medizin der Uni Rostock +License: MIT License +URL: https://github.com/hutchison/django-fsmedhro-core +Source0: https://mirrors.aliyun.com/pypi/web/packages/1d/8c/24b7202f4419307634e748309eaa66fff53e9cbb428f1b8b4119c73a6530/django-fsmedhro-core-0.2.16.tar.gz +BuildArch: noarch + +Requires: python3-Django +Requires: python3-django-crispy-forms +Requires: python3-ldap3 + +%description + + +%package -n python3-django-fsmedhro-core +Summary: Basisapp für die Webseite des FSR Medizin der Uni Rostock +Provides: python-django-fsmedhro-core +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-django-fsmedhro-core + + +%package help +Summary: Development documents and examples for django-fsmedhro-core +Provides: python3-django-fsmedhro-core-doc +%description help + + +%prep +%autosetup -n django-fsmedhro-core-0.2.16 + +%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-django-fsmedhro-core -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue Jun 20 2023 Python_Bot <Python_Bot@openeuler.org> - 0.2.16-1 +- Package Spec generated @@ -0,0 +1 @@ +3a4d52cd46d4d87e82e6a1abc2922c62 django-fsmedhro-core-0.2.16.tar.gz |