summaryrefslogtreecommitdiff
path: root/python-muntjac.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-20 09:03:40 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-20 09:03:40 +0000
commit9c6d8563aa803c131884a76afe3b3b94f167d70a (patch)
tree245075ca72f70913e2577a190566c044c9b27735 /python-muntjac.spec
parenta3df4a855ae1c1b7a3de8052a8dc60b60275e167 (diff)
automatic import of python-Muntjacopeneuler20.03
Diffstat (limited to 'python-muntjac.spec')
-rw-r--r--python-muntjac.spec87
1 files changed, 87 insertions, 0 deletions
diff --git a/python-muntjac.spec b/python-muntjac.spec
new file mode 100644
index 0000000..fe99306
--- /dev/null
+++ b/python-muntjac.spec
@@ -0,0 +1,87 @@
+%global _empty_manifest_terminate_build 0
+Name: python-Muntjac
+Version: 1.1.2
+Release: 1
+Summary: Web application GUI toolkit
+License: UNKNOWN
+URL: http://www.muntiacus.org/
+Source0: https://mirrors.aliyun.com/pypi/web/packages/fb/56/eba7e0c76762273fde8ed7d06714347e1beaf7a655875fd7d59a991f61f6/Muntjac-1.1.2.tar.gz
+BuildArch: noarch
+
+
+%description
+A web application GUI toolkit.
+Muntjac_ is a translation of Vaadin_ to the Python_ programming language. It
+is similar to GUI toolkits for desktop applications, such as PyQT_, wxPython_
+and PyGTK_. However, it can be used to create dynamic, browser independent,
+web applications. There is no need to write HTML, Javascript or RPC code,
+just server-side Python.
+
+%package -n python3-Muntjac
+Summary: Web application GUI toolkit
+Provides: python-Muntjac
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-Muntjac
+A web application GUI toolkit.
+Muntjac_ is a translation of Vaadin_ to the Python_ programming language. It
+is similar to GUI toolkits for desktop applications, such as PyQT_, wxPython_
+and PyGTK_. However, it can be used to create dynamic, browser independent,
+web applications. There is no need to write HTML, Javascript or RPC code,
+just server-side Python.
+
+%package help
+Summary: Development documents and examples for Muntjac
+Provides: python3-Muntjac-doc
+%description help
+A web application GUI toolkit.
+Muntjac_ is a translation of Vaadin_ to the Python_ programming language. It
+is similar to GUI toolkits for desktop applications, such as PyQT_, wxPython_
+and PyGTK_. However, it can be used to create dynamic, browser independent,
+web applications. There is no need to write HTML, Javascript or RPC code,
+just server-side Python.
+
+%prep
+%autosetup -n Muntjac-1.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-Muntjac -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Tue Jun 20 2023 Python_Bot <Python_Bot@openeuler.org> - 1.1.2-1
+- Package Spec generated