summaryrefslogtreecommitdiff
path: root/python-ccalafiore.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-18 06:52:45 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-18 06:52:45 +0000
commit5455cabf5efe8bfdf8cc935e771efeb2183d7829 (patch)
tree7c1c78603e0cf72f15329d664173ac840cbed4cc /python-ccalafiore.spec
parentb5429a65337492b271f2cc96f8d590e694aed5fa (diff)
automatic import of python-ccalafiore
Diffstat (limited to 'python-ccalafiore.spec')
-rw-r--r--python-ccalafiore.spec88
1 files changed, 88 insertions, 0 deletions
diff --git a/python-ccalafiore.spec b/python-ccalafiore.spec
new file mode 100644
index 0000000..f2257a6
--- /dev/null
+++ b/python-ccalafiore.spec
@@ -0,0 +1,88 @@
+%global _empty_manifest_terminate_build 0
+Name: python-ccalafiore
+Version: 0.0.60
+Release: 1
+Summary: personal package
+License: MIT License
+URL: https://pypi.org/project/ccalafiore/
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/bb/9a/24fe456ab3fab76eda3654c715c974b8130c6fddac432efdbcc5a36fc4e9/ccalafiore-0.0.60.tar.gz
+BuildArch: noarch
+
+Requires: python3-calapy
+
+%description
+# ccalafiore
+
+This library was made by Carmelo Calafiore for personal use. Install calapy for newer versions.
+
+
+
+
+%package -n python3-ccalafiore
+Summary: personal package
+Provides: python-ccalafiore
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-ccalafiore
+# ccalafiore
+
+This library was made by Carmelo Calafiore for personal use. Install calapy for newer versions.
+
+
+
+
+%package help
+Summary: Development documents and examples for ccalafiore
+Provides: python3-ccalafiore-doc
+%description help
+# ccalafiore
+
+This library was made by Carmelo Calafiore for personal use. Install calapy for newer versions.
+
+
+
+
+%prep
+%autosetup -n ccalafiore-0.0.60
+
+%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-ccalafiore -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Thu May 18 2023 Python_Bot <Python_Bot@openeuler.org> - 0.0.60-1
+- Package Spec generated