blob: 2186b0d8d7466d281d61a3c883bc54fbbec6325a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
%define module EditObj
Summary: Useful tool for writing editors of all kinds
Summary(pl.UTF-8): Narzędzie służące do tworzenia różnych edytorów
Name: python-EditObj
Version: 0.5.6
Release: 1
License: GPL
Group: Applications
Source0: http://download.gna.org/songwrite/%{module}-%{version}.tar.gz
# Source0-md5: a8e999353957cd9fa9f5a6d6fcd0e889
URL: http://oomadness.tuxfamily.org/en/editobj/
Requires: python-tkinter
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
EditObj can create and display a Tkinter dialog box for editing any
Python object (similarly to what Java call a Bean editor, but for
Python object). EditObj is a useful tool for writing (text or
non-text) editors of all kinds, including GUI editor and 3D editor.
%description -l pl.UTF-8
EditObj tworzy i wyświetla okno dialogowe Tkinter do edycji obiektów
Pythona (podobnie do edytora Java Bean, tylko dla objektów Pythona).
EditObj jest użytecznym narzędziem służącym do tworzenia różnych
edytorów (tekstowych lub nie), włącznie z edytorami GUI i 3D.
%prep
%setup -q -n %{module}-%{version}
%install
rm -rf $RPM_BUILD_ROOT
%{__python} setup.py install \
--root=$RPM_BUILD_ROOT \
--install-purelib=%{py_sitedir}
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%dir %{py_sitedir}/editobj
%{py_sitedir}/editobj/*.py[co]
%{py_sitescriptdir}/editobj/icons
|