]> git.pld-linux.org Git - packages/drpython.git/blobdiff - drpython.spec
- updated to 3.10.8
[packages/drpython.git] / drpython.spec
index 8873fa724e09eefc75bc558ed7eb3bef2e2b6071..f5cb193463d79988fdeb8cca50a5a62f3087ed05 100644 (file)
@@ -1,50 +1,60 @@
-
-%include       /usr/lib/rpm/macros.python
-
-Summary:       drpython
+Summary:       DrPython - cross-platform IDE to aid programming in Python
+Summary(pl):   DrPython - wieloplatformowe IDE wspomagaj±ce programowanie w Pythonie
 Name:          drpython
-Version:       3.2.0
-Release:       0.1
+Version:       3.10.8
+Release:       1
 License:       GPL
 Group:         Libraries/Python
-Source0:       http://dl.sourceforge.net/drpython/%{name}-%{version}.zip
-# Source0-md5: 57554a41f0290ac8083f96c319015bd6
+Source0:       http://osdn.dl.sourceforge.net/drpython/%{name}-%{version}.zip
+# Source0-md5: 702755219a07854b4eddf0dd28293f27
 URL:           http://drpython.sourceforge.net/
-BuildRequires: python-modules >= 2.3
+BuildRequires: python-modules >= 1:2.3
+BuildRequires: unzip
 %pyrequires_eq python-modules
 Requires:      python-wxPython >= 2.5.1.5
 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 
 
 %build
-chmod 0644 *.py
+chmod 644 *.py
 
 %install
 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
-chmod 0755 $RPM_BUILD_ROOT%{_bindir}/drpython
+echo 'exec python drpython.pyo' >> $RPM_BUILD_ROOT%{_bindir}/drpython
+chmod 755 $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 0.068836 seconds and 4 git commands to generate.