summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--python-pygubu-designer.spec99
-rw-r--r--sources1
3 files changed, 101 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..669e903 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/pygubu-designer-0.36.tar.gz
diff --git a/python-pygubu-designer.spec b/python-pygubu-designer.spec
new file mode 100644
index 0000000..f568228
--- /dev/null
+++ b/python-pygubu-designer.spec
@@ -0,0 +1,99 @@
+%global _empty_manifest_terminate_build 0
+Name: python-pygubu-designer
+Version: 0.36
+Release: 1
+Summary: A simple GUI designer for the python tkinter module
+License: GPL-3
+URL: https://pypi.org/project/pygubu-designer/
+Source0: https://mirrors.aliyun.com/pypi/web/packages/34/d0/7047096bf69c83b901adbf6d657cd7823a44c2b3e9821c0df3b4c8b57232/pygubu-designer-0.36.tar.gz
+BuildArch: noarch
+
+Requires: python3-appdirs
+Requires: python3-Mako
+Requires: python3-screeninfo
+Requires: python3-autopep8
+Requires: python3-pygubu
+Requires: python3-AwesomeTkinter
+Requires: python3-tkintertable
+Requires: python3-tksheet
+Requires: python3-ttkwidgets
+Requires: python3-tkinterweb
+Requires: python3-tkcalendar
+Requires: python3-customtkinter
+Requires: python3-tkintermapview
+Requires: python3-AwesomeTkinter
+Requires: python3-customtkinter
+Requires: python3-tkcalendar
+Requires: python3-tkintermapview
+Requires: python3-tkintertable
+Requires: python3-tkinterweb
+Requires: python3-tksheet
+Requires: python3-ttkwidgets
+
+%description
+`Pygubu` is a [RAD tool](https://en.wikipedia.org/wiki/Rapid_application_development) to enable _quick_ and _easy development of user interfaces_ for the Python's `tkinter` module.
+The user interfaces designed are saved as [XML](https://en.wikipedia.org/wiki/XML) files, and, by using the _pygubu builder_, these can be loaded by applications dynamically as needed.
+Pygubu is inspired by [Glade](https://glade.gnome.org).
+
+%package -n python3-pygubu-designer
+Summary: A simple GUI designer for the python tkinter module
+Provides: python-pygubu-designer
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-pygubu-designer
+`Pygubu` is a [RAD tool](https://en.wikipedia.org/wiki/Rapid_application_development) to enable _quick_ and _easy development of user interfaces_ for the Python's `tkinter` module.
+The user interfaces designed are saved as [XML](https://en.wikipedia.org/wiki/XML) files, and, by using the _pygubu builder_, these can be loaded by applications dynamically as needed.
+Pygubu is inspired by [Glade](https://glade.gnome.org).
+
+%package help
+Summary: Development documents and examples for pygubu-designer
+Provides: python3-pygubu-designer-doc
+%description help
+`Pygubu` is a [RAD tool](https://en.wikipedia.org/wiki/Rapid_application_development) to enable _quick_ and _easy development of user interfaces_ for the Python's `tkinter` module.
+The user interfaces designed are saved as [XML](https://en.wikipedia.org/wiki/XML) files, and, by using the _pygubu builder_, these can be loaded by applications dynamically as needed.
+Pygubu is inspired by [Glade](https://glade.gnome.org).
+
+%prep
+%autosetup -n pygubu-designer-0.36
+
+%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-pygubu-designer -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Fri Jun 09 2023 Python_Bot <Python_Bot@openeuler.org> - 0.36-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..012a4f9
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+7caecdaffad2d5276959db6ac34406cc pygubu-designer-0.36.tar.gz