]> git.pld-linux.org Git - SPECS.git/blob - pywmgeneral.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / pywmgeneral.spec
1 Summary:        Python wrapper for wmgeneral functions
2 Summary(pl.UTF-8):      Pythonowy wrapper dla funkcji wmgeneral
3 Name:           pywmgeneral
4 Version:        0.1
5 Release:        0.1
6 License:        GPL
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)
14
15 %description
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.
22
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.
30
31 %prep
32 %setup -q
33
34 %build
35 python setup.py build
36
37 %install
38 rm -rf $RPM_BUILD_ROOT
39 install -d $RPM_BUILD_ROOT%{py_sitedir}
40
41 python setup.py install \
42         --root=$RPM_BUILD_ROOT 
43
44 %clean
45 rm -rf $RPM_BUILD_ROOT
46
47 %files
48 %defattr(644,root,root,755)
49 %doc PKG-INFO README
50 %{py_sitedir}/*.py*
51 %attr(755,root,root) %{py_sitedir}/*.so
This page took 0.324879 seconds and 3 git commands to generate.