]>
Commit | Line | Data |
---|---|---|
1 | Summary: Python toolkit for building compound Tkinter widgets. | |
2 | Summary(pl.UTF-8): Zestaw narzędzi dla Pythona do budowania komponentów Tkinter | |
3 | Name: Pmw | |
4 | Version: 1.2 | |
5 | Release: 2 | |
6 | License: MIT | |
7 | Group: Development/Languages/Python | |
8 | Source0: http://download.sourceforge.net/pmw/%{name}.%{version}.tar.gz | |
9 | # Source0-md5: 75c49c30595217c8d9376c36aa5426aa | |
10 | Patch0: %{name}-env-location.patch | |
11 | URL: http://pmw.sourceforge.net/ | |
12 | Requires: python-tkinter | |
13 | Requires: python | |
14 | Buildarch: noarch | |
15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
16 | ||
17 | %description | |
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. | |
23 | ||
24 | %description -l pl.UTF-8 | |
25 | Pmw jest zestawem narzędzi do budowania komponentów wysokiego poziomu | |
26 | dla Pythona korzystając z modułu Tkinter. Zawiera zestaw podstawowych | |
27 | klas i bibliotek przenośnych i rozszerzalnych mega-komponentów. | |
28 | Zawiera notesy, comboboksy, komponenty wybierania, panele, przesuwane | |
29 | i okna dialogowe. | |
30 | ||
31 | %prep | |
32 | %setup -q -n %{name} | |
33 | %patch0 | |
34 | ||
35 | %install | |
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 | |
40 | ||
41 | %clean | |
42 | rm -rf $RPM_BUILD_ROOT | |
43 | ||
44 | %files | |
45 | %defattr(644,root,root,755) | |
46 | %doc %{name}*/doc/* | |
47 | %{py_sitescriptdir}/%{name} |