diff --git python-easygui/python-easygui.spec python-easygui/python-easygui.spec.tmp index 8fd7a14870..e5bc8c5b27 100644 --- python-easygui/python-easygui.spec +++ python-easygui/python-easygui.spec.tmp @@ -14,7 +14,7 @@ Name: python-easygui Version: 0.96 -Release: 17%{?dist} +Release: 18%{?dist} Summary: Very simple, very easy GUI programming in Python Group: Development/Languages @@ -33,24 +33,32 @@ BuildRequires: python3-devel BuildRequires: python3-setuptools %endif BuildRequires: python-setuptools + +%global _description\ +Experienced Pythonistas need support for quick and dirty GUI features. New\ +Python programmers need GUI capabilities that don't require any knowledge\ +of Tkinter, frames, widgets, callbacks or lambda. This is what EasyGUI\ +provides. Using EasyGUI, all GUI interactions are invoked by simple\ +function calls.\ +\ +EasyGUI is different from other GUIs in that EasyGUI is NOT event-driven.\ +It allows you to program in a traditional linear fashion, and to put up\ +dialogs for simple input and output when you need to. If you have not yet\ +learned the event-driven paradigm for GUI programming, EasyGUI will allow\ +you to be productive with very basic tasks immediately. Later, if you\ +wish to make the transition to an event-driven GUI paradigm, you can do\ +so with a more powerful GUI package such as anygui, PythonCard, Tkinter,\ +wxPython, etc. + +%description %_description + +%package -n python2-%{upstream_name} +Summary: %summary Requires: python-setuptools Requires: tkinter +%{?python_provide:%python_provide python2-%{upstream_name}} -%description -Experienced Pythonistas need support for quick and dirty GUI features. New -Python programmers need GUI capabilities that don't require any knowledge -of Tkinter, frames, widgets, callbacks or lambda. This is what EasyGUI -provides. Using EasyGUI, all GUI interactions are invoked by simple -function calls. - -EasyGUI is different from other GUIs in that EasyGUI is NOT event-driven. -It allows you to program in a traditional linear fashion, and to put up -dialogs for simple input and output when you need to. If you have not yet -learned the event-driven paradigm for GUI programming, EasyGUI will allow -you to be productive with very basic tasks immediately. Later, if you -wish to make the transition to an event-driven GUI paradigm, you can do -so with a more powerful GUI package such as anygui, PythonCard, Tkinter, -wxPython, etc. +%description -n python2-%{upstream_name} %_description %if 0%{?with_python3} %package -n python3-%{upstream_name} @@ -115,7 +123,7 @@ install -m 644 %{SOURCE1} . rm -rf %{buildroot} -%files +%files -n python2-%{upstream_name} %defattr(-,root,root,-) %doc easygui_license_info.txt cookbook/ easygui_pydoc.html easygui_version_info.html epydoc/ faq/ pydoc/ tutorial/ %doc easygui-LICENSE.txt @@ -131,6 +139,10 @@ rm -rf %{buildroot} %endif %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 0.96-18 +- Python 2 binary package renamed to python2-easygui + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.96-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild