summaryrefslogtreecommitdiff
path: root/python-appjar.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-30 17:09:04 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-30 17:09:04 +0000
commit1c70573f902a034a260901a77383f8852864334f (patch)
tree4b7eca84497936d67f56250ea67e6a2e76ec2cb3 /python-appjar.spec
parent6652d5a8f3b5724bf5a840a17a20bc32539f900a (diff)
automatic import of python-appjar
Diffstat (limited to 'python-appjar.spec')
-rw-r--r--python-appjar.spec75
1 files changed, 75 insertions, 0 deletions
diff --git a/python-appjar.spec b/python-appjar.spec
new file mode 100644
index 0000000..780d436
--- /dev/null
+++ b/python-appjar.spec
@@ -0,0 +1,75 @@
+%global _empty_manifest_terminate_build 0
+Name: python-appJar
+Version: 0.94.0
+Release: 1
+Summary: An easy-to-use, feature-rich GUI wrapper for tKinter. Designed specifically for use in the classroom, but powerful enough to be used anywhere.
+License: Apache 2.0
+URL: http://appJar.info
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/3d/61/68aa666ac80c05f85fc370487493e5eae278b331062b032505020cae7539/appJar-0.94.0.tar.gz
+BuildArch: noarch
+
+
+%description
+# appJar
+Simple tKinter GUIs in Python.
+
+%package -n python3-appJar
+Summary: An easy-to-use, feature-rich GUI wrapper for tKinter. Designed specifically for use in the classroom, but powerful enough to be used anywhere.
+Provides: python-appJar
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-appJar
+# appJar
+Simple tKinter GUIs in Python.
+
+%package help
+Summary: Development documents and examples for appJar
+Provides: python3-appJar-doc
+%description help
+# appJar
+Simple tKinter GUIs in Python.
+
+%prep
+%autosetup -n appJar-0.94.0
+
+%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-appJar -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Tue May 30 2023 Python_Bot <Python_Bot@openeuler.org> - 0.94.0-1
+- Package Spec generated