summaryrefslogtreecommitdiff
path: root/python-gdm.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-05 03:37:22 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-05 03:37:22 +0000
commit2f85881e268194937a49cb8e7b5396dc0fd693e9 (patch)
tree861a7cc1b00b137e09046e3af7e76837f28cc47f /python-gdm.spec
parent87ff11d8ff4f79ec7a4fd36bd0da318dabb6dd74 (diff)
automatic import of python-gdmopeneuler20.03
Diffstat (limited to 'python-gdm.spec')
-rw-r--r--python-gdm.spec72
1 files changed, 72 insertions, 0 deletions
diff --git a/python-gdm.spec b/python-gdm.spec
new file mode 100644
index 0000000..3a318c3
--- /dev/null
+++ b/python-gdm.spec
@@ -0,0 +1,72 @@
+%global _empty_manifest_terminate_build 0
+Name: python-GDM
+Version: 0.8.2
+Release: 1
+Summary: A language-agnostic
+License: MIT
+URL: http://git-dependency-manager.info
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/29/6c/78a29c43af28c736557e46fed33ffd3a2cb796d7de48bec5f55d8758c8e2/GDM-0.8.2.tar.gz
+BuildArch: noarch
+
+
+%description
+This project has been renamed to `GitMan <https://pypi.python.org/pypi/GitMan>`__.
+
+%package -n python3-GDM
+Summary: A language-agnostic
+Provides: python-GDM
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-GDM
+This project has been renamed to `GitMan <https://pypi.python.org/pypi/GitMan>`__.
+
+%package help
+Summary: Development documents and examples for GDM
+Provides: python3-GDM-doc
+%description help
+This project has been renamed to `GitMan <https://pypi.python.org/pypi/GitMan>`__.
+
+%prep
+%autosetup -n GDM-0.8.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-GDM -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 0.8.2-1
+- Package Spec generated