1 Summary: Python wrapper for wmgeneral functions
2 Summary(pl.UTF-8): Pythonowy wrapper dla funkcji wmgeneral
7 Group: Applications/Communications
8 Source0: http://errl.info/pywmdockapps/downloads/current/%{name}-%{version}.tar.gz
9 # Source0-md5: a393198a17f0c3f14920525cffc82669
10 URL: http://errl.info/pywmdockapps/
11 BuildRequires: /usr/bin/python
12 %pyrequires_eq python-libs
13 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16 Pywmgeneral is a library that makes it possible to write WindowMaker
17 dockapps in Python. Quite a bit of the code is taken from the old
18 wmgeneral.c and pywmgeneral just provides Python wrappers around these
19 functions. The library also contains a Python part above the wrappers
20 that ease up argument passing and return values. Also some other
21 usable methods are provided there.
23 %description -l pl.UTF-8
24 Pywmgeneral to biblioteka umożliwiająca pisanie dokletów WindowMakera
25 w Pythonie. Spora część kodu pochodzi ze starego wmgeneral.c, a
26 pywmgeneral po prostu dostarcza wrappery Pythona dla tych funkcji. Ta
27 biblioteka zawiera także część pythonową ponad tymi wrapperami,
28 ułatwiającą przekazywanie parametrów i zwracanych wartości. Dodanych
29 jest także trochę użytecznych metod.
38 rm -rf $RPM_BUILD_ROOT
39 install -d $RPM_BUILD_ROOT%{py_sitedir}
41 python setup.py install \
42 --root=$RPM_BUILD_ROOT
45 rm -rf $RPM_BUILD_ROOT
48 %defattr(644,root,root,755)
51 %attr(755,root,root) %{py_sitedir}/*.so