summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-04-11 00:21:28 +0000
committerCoprDistGit <infra@openeuler.org>2023-04-11 00:21:28 +0000
commite3ee6daf150e36f3bfe53d8f8d2088561d65ffe4 (patch)
tree2848716f41696d626d89bcb222b89d610c621240
parent24a73b68ff079b787f70366f150acdc92c905e66 (diff)
automatic import of python-djangocms-admin-style
-rw-r--r--.gitignore1
-rw-r--r--python-djangocms-admin-style.spec72
-rw-r--r--sources1
3 files changed, 74 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..289e4a5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/djangocms-admin-style-3.2.3.tar.gz
diff --git a/python-djangocms-admin-style.spec b/python-djangocms-admin-style.spec
new file mode 100644
index 0000000..a78eb57
--- /dev/null
+++ b/python-djangocms-admin-style.spec
@@ -0,0 +1,72 @@
+%global _empty_manifest_terminate_build 0
+Name: python-djangocms-admin-style
+Version: 3.2.3
+Release: 1
+Summary: Adds pretty CSS styles for the django CMS admin interface.
+License: BSD-3-Clause
+URL: https://github.com/django-cms/djangocms-admin-style
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/33/ac/00071a05c153f4dc52d1edb62a5eb4c0d0bbe53ef3f16830625001a52b18/djangocms-admin-style-3.2.3.tar.gz
+BuildArch: noarch
+
+
+%description
+
+
+%package -n python3-djangocms-admin-style
+Summary: Adds pretty CSS styles for the django CMS admin interface.
+Provides: python-djangocms-admin-style
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-djangocms-admin-style
+
+
+%package help
+Summary: Development documents and examples for djangocms-admin-style
+Provides: python3-djangocms-admin-style-doc
+%description help
+
+
+%prep
+%autosetup -n djangocms-admin-style-3.2.3
+
+%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-djangocms-admin-style -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Tue Apr 11 2023 Python_Bot <Python_Bot@openeuler.org> - 3.2.3-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..06a508d
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+2b1e1d81ab7404350cf30b76c25e302a djangocms-admin-style-3.2.3.tar.gz