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