]> git.pld-linux.org Git - packages/eric4.git/blobdiff - eric4.spec
- updated to 4.1.3
[packages/eric4.git] / eric4.spec
index 30a64d2dc06b3d4f5372f9827795aaada65be1eb..152e3dff9a834736caa7df40a09f471840035a7e 100644 (file)
@@ -1,51 +1,54 @@
-%define                _snap   20061222
 Summary:       Eric4 - a full featured Python IDE
-Summary(pl):   Eric4 - pe³nowarto¶ciowe IDE dla Pythona
+Summary(pl.UTF-8):     Eric4 - pełnowartościowe IDE dla Pythona
 Name:          eric4
-Version:       4.0
-Release:       0.1
+Version:       4.1.3
+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: 9083903022bbdd2ad43e8bdb52837b13
+Source1:       %{name}.desktop
+URL:           http://www.die-offenbachs.de/eric/index.html
 BuildRequires: python-qscintilla2-devel
 BuildRequires: rpm-pythonprov
 %pyrequires_eq python-modules
-Requires:      python-qscintilla2
+Requires:      python-qscintilla2 >= 2.1_1.73-2
 Requires:      python-devel-tools
+BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 Eric4 is a full featured Python IDE that is written in PyQt4 using the
 QScintilla editor widget.
 
-%description -l pl
-Eric4 jest pe³nowarto¶ciowym IDE dla Pythona napisanym w PyQt4 i
-u¿ywaj±cym edytora QScintilla.
+%description -l pl.UTF-8
+Eric4 jest pełnowartościowym IDE dla Pythona napisanym w PyQt4 i
+używającym edytora QScintilla.
 
 %package doc
 Summary:       Documentation for Eric4
-Summary(pl):   Dodatkowa dokumentacja dla Eric4
+Summary(pl.UTF-8):     Dodatkowa dokumentacja dla Eric4
 Group:         X11/Development/Tools
 Requires:      %{name} = %{version}-%{release}
 
 %description doc
 Documentation for Eric4.
 
-%description doc -l pl
+%description doc -l pl.UTF-8
 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
+python install.py -c -b %{_bindir} -d %{py_sitescriptdir} -i $RPM_BUILD_ROOT
+install -D %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}/eric4.desktop
+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}/*
+%py_comp $RPM_BUILD_ROOT%{py_sitescriptdir}/*
+%py_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir}/*
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -56,11 +59,15 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc ChangeLog README* THANKS
 %attr(755,root,root) %{_bindir}/*
-%{py_sitedir}/eric4config.py
-%{py_sitedir}/%{name}
-%exclude %{py_sitedir}/%{name}/Documentation
+%{py_sitescriptdir}/eric4config.py*
+%{py_sitescriptdir}/%{name}
+%dir %{py_sitescriptdir}/%{name}plugins
+%{py_sitescriptdir}/%{name}plugins/*
+%exclude %{py_sitescriptdir}/%{name}/Documentation
+%{_desktopdir}/eric4.desktop
+%{_pixmapsdir}/eric4.png
 
 %files doc
 %defattr(644,root,root,755)
-%dir %{py_sitedir}/%{name}/Documentation
-%{py_sitedir}/%{name}/Documentation/Source
+%dir %{py_sitescriptdir}/%{name}/Documentation
+%{py_sitescriptdir}/%{name}/Documentation/Source
This page took 0.245081 seconds and 4 git commands to generate.