1 Summary: Python toolkit for building compound Tkinter widgets
2 Summary(pl.UTF-8): Zestaw narzędzi dla Pythona do budowania komponentów Tkinter
7 Group: Development/Languages/Python
8 Source0: http://dl.sourceforge.net/pmw/%{name}.%{version}.tar.gz
9 # Source0-md5: 7f30886fe9885ab3cf85dac6ce1fbda5
10 Patch0: %{name}-env-location.patch
11 URL: http://pmw.sourceforge.net/
13 Requires: python-tkinter
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 Pmw is a toolkit for building high-level compound widgets in Python
19 using the Tkinter module. It consists of a set of base classes and a
20 library of flexible and extensible megawidgets built on this
21 foundation. These megawidgets include notebooks, comboboxes, selection
22 widgets, paned widgets, scrolled widgets and dialog windows.
24 %description -l pl.UTF-8
25 Pmw jest zestawem narzędzi do budowania komponentów wysokiego
26 poziomu dla Pythona korzystając z modułu Tkinter. Zawiera zestaw
27 podstawowych klas i bibliotek przenośnych i rozszerzalnych
28 mega-komponentów. Zawiera notesy, comboboksy, komponenty wybierania,
29 panele przesuwane i okna dialogowe.
32 %setup -q -n %{name}.%{version}/src/%{name}
36 rm -rf $RPM_BUILD_ROOT
37 install -d $RPM_BUILD_ROOT%{py_sitescriptdir}/%{name}
38 cp -r . $RPM_BUILD_ROOT%{py_sitescriptdir}/%{name}
39 rm -rf $RPM_BUILD_ROOT%{py_sitescriptdir}/%{name}/%{name}*/doc
42 rm -rf $RPM_BUILD_ROOT
45 %defattr(644,root,root,755)
47 %{py_sitescriptdir}/%{name}