X-Git-Url: http://git.pld-linux.org/?p=packages%2Feric4.git;a=blobdiff_plain;f=eric4.spec;h=995e80b25db4d47926296b55d84e46917576e726;hp=5ce9133f6e72bef11eb77437189aaa9c0dfa3897;hb=5bb57c36bed57f4937cee3288fdf3a4692858beb;hpb=9735f89870baaa8507e953b1389a14087940194d diff --git a/eric4.spec b/eric4.spec index 5ce9133..995e80b 100644 --- a/eric4.spec +++ b/eric4.spec @@ -1,14 +1,14 @@ -%define _snap 20061222 Summary: Eric4 - a full featured Python IDE Summary(pl.UTF-8): Eric4 - pełnowartościowe IDE dla Pythona Name: eric4 -Version: 4.0 -Release: 0.1 +Version: 4.0.1 +Release: 1 License: GPL Group: X11/Development/Tools -Source0: http://www.die-offenbachs.de/detlev/snapshots4/%{name}-snapshot-%{_snap}.tar.gz -# Source0-md5: 04a4b2a1193427fba18a779c070683ed -URL: http://www.die-offenbachs.de/detlev/eric.html +Source0: http://dl.sourceforge.net/eric-ide/%{name}-%{version}.tar.gz +# Source0-md5: bf38d851c86832fa40e07eb75394efc6 +Source1: %{name}.desktop +URL: http://www.die-offenbachs.de/eric/index.html BuildRequires: python-qscintilla2-devel BuildRequires: rpm-pythonprov %pyrequires_eq python-modules @@ -37,12 +37,13 @@ Documentation for Eric4. Dodatkowa dokumentacja dla Eric4. %prep -%setup -q -n %{name}-snapshot-%{_snap} +%setup -q %install rm -rf $RPM_BUILD_ROOT python install.py -c -b %{_bindir} -d %{py_sitedir} -i $RPM_BUILD_ROOT +install -D eric/pixmaps/eric.png $RPM_BUILD_ROOT%{_pixmapsdir}/eric4.png %py_comp $RPM_BUILD_ROOT%{py_sitedir}/* %py_ocomp $RPM_BUILD_ROOT%{py_sitedir}/* @@ -59,6 +60,7 @@ rm -rf $RPM_BUILD_ROOT %{py_sitedir}/eric4config.py %{py_sitedir}/%{name} %exclude %{py_sitedir}/%{name}/Documentation +%{_pixmapsdir}/eric4.png %files doc %defattr(644,root,root,755)