summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--python-dataverk-tools.spec89
-rw-r--r--sources1
3 files changed, 91 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..f0fac2c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/dataverk_tools-0.1.2.tar.gz
diff --git a/python-dataverk-tools.spec b/python-dataverk-tools.spec
new file mode 100644
index 0000000..2bc2662
--- /dev/null
+++ b/python-dataverk-tools.spec
@@ -0,0 +1,89 @@
+%global _empty_manifest_terminate_build 0
+Name: python-dataverk-tools
+Version: 0.1.2
+Release: 1
+Summary: Theming and colors for dataverker and python dataviz
+License: MIT
+URL: https://github.com/navikt/dataverk_tools/
+Source0: https://mirrors.aliyun.com/pypi/web/packages/ba/4d/c93facbb21b7436a5de9a9a98cbf6f605f2236fb24c7fab9cfdbb9336009/dataverk_tools-0.1.2.tar.gz
+BuildArch: noarch
+
+Requires: python3-plotly
+Requires: python3-altair
+Requires: python3-statsmodels
+Requires: python3-colorlover
+Requires: python3-matplotlib
+Requires: python3-numpy
+Requires: python3-vega
+Requires: python3-vega-datasets
+
+%description
+# Dataverk themes
+
+
+
+
+%package -n python3-dataverk-tools
+Summary: Theming and colors for dataverker and python dataviz
+Provides: python-dataverk-tools
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-dataverk-tools
+# Dataverk themes
+
+
+
+
+%package help
+Summary: Development documents and examples for dataverk-tools
+Provides: python3-dataverk-tools-doc
+%description help
+# Dataverk themes
+
+
+
+
+%prep
+%autosetup -n dataverk_tools-0.1.2
+
+%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-dataverk-tools -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Tue Jun 20 2023 Python_Bot <Python_Bot@openeuler.org> - 0.1.2-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..5d5111f
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+a62c99d134472c5273f64a23287ad254 dataverk_tools-0.1.2.tar.gz