]> git.pld-linux.org Git - SPECS.git/blob - python-EditObj2.spec
SPECS updated Sun 1 Aug 11:02:02 CEST 2021
[SPECS.git] / python-EditObj2.spec
1 %define         module  EditObj2
2 Summary:        Useful tool for writing editors of all kinds
3 Summary(pl.UTF-8):      Narzędzie służące do tworzenia różnych edytorów
4 Name:           python-%{module}
5 Version:        0.5.1
6 Release:        1
7 License:        GPL v2+
8 Group:          Applications
9 Source0:        https://pypi.python.org/packages/source/E/%{module}/%{module}-%{version}.tar.gz
10 # Source0-md5:  fd7c0c16bb70cdf5eaa30f0e47b16e4f
11 Patch0:         install.patch
12 URL:            http://www.lesfleursdunormal.fr/static/informatique/editobj/index_en.html
13 BuildRequires:  python-devel
14 BuildRequires:  rpm-pythonprov
15 BuildRequires:  rpmbuild(macros) >= 1.710
16 Requires:       python-tkinter
17 Obsoletes:      python-EditObj
18 BuildArch:      noarch
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 EditObj can create and display a Tkinter dialog box for editing any
23 Python object (similarly to what Java call a Bean editor, but for
24 Python object). EditObj is a useful tool for writing (text or
25 non-text) editors of all kinds, including GUI editor and 3D editor.
26
27 %description -l pl.UTF-8
28 EditObj tworzy i wyświetla okno dialogowe Tkinter do edycji obiektów
29 Pythona (podobnie do edytora Java Bean, tylko dla objektów Pythona).
30 EditObj jest użytecznym narzędziem służącym do tworzenia różnych
31 edytorów (tekstowych lub nie), włącznie z edytorami GUI i 3D.
32
33 %prep
34 %setup -q -n %{module}-%{version}
35 %patch0 -p1
36
37 %install
38 rm -rf $RPM_BUILD_ROOT
39
40 %py_install
41
42 %py_postclean
43
44 %clean
45 rm -rf $RPM_BUILD_ROOT
46
47 %files
48 %defattr(644,root,root,755)
49 %dir %{py_sitescriptdir}/editobj2
50 %{py_sitescriptdir}/editobj2/*.py[co]
51 %{py_sitescriptdir}/editobj2/icons
52 %if "%{py_ver}" > "2.4"
53 %{py_sitescriptdir}/EditObj2-*.egg-info
54 %endif
This page took 0.093648 seconds and 3 git commands to generate.