SPECS: eclipse-pydev.spec - noarch: files moved to /usr/share/ecli...
twittner
twittner at pld-linux.org
Sun Jul 3 22:59:29 CEST 2005
Author: twittner Date: Sun Jul 3 20:59:29 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- noarch: files moved to /usr/share/eclipse -> req eclipse >= 3.1-2
- rel. 0.2
---- Files affected:
SPECS:
eclipse-pydev.spec (1.7 -> 1.8)
---- Diffs:
================================================================
Index: SPECS/eclipse-pydev.spec
diff -u SPECS/eclipse-pydev.spec:1.7 SPECS/eclipse-pydev.spec:1.8
--- SPECS/eclipse-pydev.spec:1.7 Sat Jul 2 22:52:48 2005
+++ SPECS/eclipse-pydev.spec Sun Jul 3 22:59:24 2005
@@ -6,17 +6,20 @@
Summary(pl): Środowisko programistyczne Pythona dla Eclipse
Name: eclipse-%{module}
Version: %{_ver}
-Release: 0.1
+Release: 0.2
License: CPL
Group: Development/Tools
Source0: http://dl.sourceforge.net/pydev/%{module}_%{_src_ver}.zip
# Source0-md5: b5bac4248f33ada1d8dc05db4f06a3b2
URL: http://pydev.sourceforge.net/
BuildRequires: unzip
-Requires: eclipse >= 3.0
+Requires: eclipse >= 3.1-2
Requires: python
+BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+%define _eclipsedir %{_datadir}/eclipse
+
%description
PyDev is a plugin for Eclipse for editing, running and debugging
Python scripts.
@@ -31,17 +34,32 @@
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_libdir}/eclipse/{features,plugins}
-cp -rf eclipse/features/* $RPM_BUILD_ROOT%{_libdir}/eclipse/features
-cp -rf eclipse/plugins/* $RPM_BUILD_ROOT%{_libdir}/eclipse/plugins
+install -d $RPM_BUILD_ROOT%{_eclipsedir}/{features,plugins}
+cp -rf eclipse/features/* $RPM_BUILD_ROOT%{_eclipsedir}/features
+cp -rf eclipse/plugins/* $RPM_BUILD_ROOT%{_eclipsedir}/plugins
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%{_libdir}/eclipse/features/org.python.pydev*
-%{_libdir}/eclipse/plugins/org.python.pydev*
+%{_eclipsedir}/features/org.python.pydev*
+%{_eclipsedir}/plugins/org.python.pydev*
+
+%triggerpostun -- %{name} <= 0.9.5-0.1
+%banner %{name}-0.9.5-0.2 << EOF
+!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+!!! !!!
+!!! WARNING!!! !!!
+!!! !!!
+!!! An user manual intervention is required after eclipse-pydev !!!
+!!! instalation. To get this plugin working you have to add !!!
+!!! /usr/share/eclipse directory as Extension Location. Click !!!
+!!! from eclipse menu Help->Software Updates->Manage Configuration !!!
+!!! ->Add an Extension Location and choose /usr/share/eclipse . !!!
+!!! !!!
+!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+EOF
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -49,6 +67,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.8 2005/07/03 20:59:24 twittner
+- noarch: files moved to /usr/share/eclipse -> req eclipse >= 3.1-2
+- rel. 0.2
+
Revision 1.7 2005/07/02 20:52:48 charles
- updated to 0.9.5
- rel. 0.1 (req. tests with new version eclipse)
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/eclipse-pydev.spec?r1=1.7&r2=1.8&f=u
More information about the pld-cvs-commit
mailing list