]> git.pld-linux.org Git - packages/drpython.git/blobdiff - drpython.spec
- updated to 3.6.6
[packages/drpython.git] / drpython.spec
index 8873fa724e09eefc75bc558ed7eb3bef2e2b6071..4b5698bbc431437c2ecd7ff28dda1e38413eb707 100644 (file)
@@ -1,14 +1,13 @@
-
-%include       /usr/lib/rpm/macros.python
-
-Summary:       drpython
+Summary:       DrPython - cross-platform IDE to aid programming in Python
+Summary(pl):   DrPython - wieloplatformowe IDE pomagaj±ce w programowaniu w Pythonie
 Name:          drpython
-Version:       3.2.0
+Version:       3.6.6
 Release:       0.1
 License:       GPL
 Group:         Libraries/Python
 Source0:       http://dl.sourceforge.net/drpython/%{name}-%{version}.zip
-# Source0-md5: 57554a41f0290ac8083f96c319015bd6
+# Source0-md5: c2c40c69ce4adff92e4e8fa71dba0421
+# Source0-size:        401886
 URL:           http://drpython.sourceforge.net/
 BuildRequires: python-modules >= 2.3
 %pyrequires_eq python-modules
@@ -17,8 +16,16 @@ BuildArch:   noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-drpython
+DrPython is a clean and simple yet powerful and highly customizable
+editor/environment for developing programs written in the Python
+programming Language. It is written in Python, and uses the wxWidgets
+GUI Library through the use of wxPython.
 
+%description -l pl
+DrPython to przejrzysty i prosty, ale potê¿ny i wysoko konfigurowalny
+edytor/¶rodowisko do tworzenia programów napisanych w jêzyku Python.
+Jest napisany w Pythonie i u¿ywa biblioteki graficznej wxWidgets
+poprzez interfejs wxPython.
 
 %prep
 %setup -q 
@@ -30,21 +37,24 @@ chmod 0644 *.py
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/drpython}
 
-python /usr/share/python2.3/compileall.pyc -l .
-
-install *.py[co] $RPM_BUILD_ROOT%{_datadir}/drpython/
-cp -a examples bitmaps $RPM_BUILD_ROOT%{_datadir}/drpython/
+install *.py $RPM_BUILD_ROOT%{_datadir}/drpython
+cp -a examples bitmaps $RPM_BUILD_ROOT%{_datadir}/drpython
 
 echo '#!/bin/sh' > $RPM_BUILD_ROOT%{_bindir}/drpython
 echo 'cd %{_datadir}/drpython' >> $RPM_BUILD_ROOT%{_bindir}/drpython
-echo 'exec python drpython.pyc' >> $RPM_BUILD_ROOT%{_bindir}/drpython
+echo 'exec python drpython.pyo' >> $RPM_BUILD_ROOT%{_bindir}/drpython
 chmod 0755 $RPM_BUILD_ROOT%{_bindir}/drpython
 
+%py_comp $RPM_BUILD_ROOT%{_datadir}/drpython
+%py_ocomp $RPM_BUILD_ROOT%{_datadir}/drpython
+
+find $RPM_BUILD_ROOT%{_datadir} -name \*.py | xargs rm -f
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc documentation/*
+%doc ChangeLog.txt documentation/*
 %attr(755,root,root) %{_bindir}/drpython
 %{_datadir}/drpython
This page took 1.584852 seconds and 4 git commands to generate.