SPECS: eric4.spec - up to 4.1.1 - noarch, files moved from %py_sit...

twittner twittner at pld-linux.org
Sun Mar 2 20:28:17 CET 2008


Author: twittner                     Date: Sun Mar  2 19:28:17 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- up to 4.1.1
- noarch, files moved from %py_sitedir to %py_sitescriptdir
- added plugin directory
- added -install.patch against $RPM_BUILD_ROOT/$RPM_BUILD_ROOT bug
- only a bit tested (new version and changes in %files), so I put rel. 0.1

---- Files affected:
SPECS:
   eric4.spec (1.10 -> 1.11) 

---- Diffs:

================================================================
Index: SPECS/eric4.spec
diff -u SPECS/eric4.spec:1.10 SPECS/eric4.spec:1.11
--- SPECS/eric4.spec:1.10	Sat Dec 15 15:41:16 2007
+++ SPECS/eric4.spec	Sun Mar  2 20:28:12 2008
@@ -2,19 +2,21 @@
 Summary:	Eric4 - a full featured Python IDE
 Summary(pl.UTF-8):	Eric4 - pełnowartościowe IDE dla Pythona
 Name:		eric4
-Version:	4.0.4
-Release:	1
+Version:	4.1.1
+Release:	0.1
 License:	GPL
 Group:		X11/Development/Tools
 Source0:	http://dl.sourceforge.net/eric-ide/%{name}-%{version}.tar.gz
-# Source0-md5:	1886926945a95c92f2151d5135120c67
+# Source0-md5:	361c01fe5039cf399487df1e0d9fffe5
 Source1:	%{name}.desktop
+Patch0:		%{name}-install.patch
 URL:		http://www.die-offenbachs.de/eric/index.html
 BuildRequires:	python-qscintilla2-devel
 BuildRequires:	rpm-pythonprov
 %pyrequires_eq	python-modules
 Requires:	python-qscintilla2 >= 2.1_1.73-2
 Requires:	python-devel-tools
+BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -39,15 +41,16 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %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 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
@@ -58,15 +61,17 @@
 %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
 %{_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
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -74,6 +79,13 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.11  2008-03-02 19:28:12  twittner
+- up to 4.1.1
+- noarch, files moved from %py_sitedir to %py_sitescriptdir
+- added plugin directory
+- added -install.patch against $RPM_BUILD_ROOT/$RPM_BUILD_ROOT bug
+- only a bit tested (new version and changes in %files), so I put rel. 0.1
+
 Revision 1.10  2007-12-15 14:41:16  adamg
 - updated to 4.0.4
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/eric4.spec?r1=1.10&r2=1.11&f=u



More information about the pld-cvs-commit mailing list