packages: eclipse-bin/eclipse-bin.spec - builds and works, at least on i686...

pawelz pawelz at pld-linux.org
Mon Jan 18 20:46:03 CET 2010


Author: pawelz                       Date: Mon Jan 18 19:46:03 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- builds and works, at least on i686
- fetch sources

---- Files affected:
packages/eclipse-bin:
   eclipse-bin.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: packages/eclipse-bin/eclipse-bin.spec
diff -u packages/eclipse-bin/eclipse-bin.spec:1.1 packages/eclipse-bin/eclipse-bin.spec:1.2
--- packages/eclipse-bin/eclipse-bin.spec:1.1	Mon Jan 18 20:27:25 2010
+++ packages/eclipse-bin/eclipse-bin.spec	Mon Jan 18 20:45:58 2010
@@ -1,32 +1,17 @@
 # $Revision$, $Date$
-# TODO:
-# - make use of eclipse-swt package
-
-%define		ver_major	3.5
-%define		buildid	20090920-1017
 Summary:	Eclipse - an open extensible IDE
 Summary(pl.UTF-8):	Eclipse - otwarte, rozszerzalne środowisko programistyczne
 Name:		eclipse-bin
-Version:	%{ver_major}
-Release:	2
+Version:	3.5.1
+Release:	0.1
 License:	EPL v1.0
 Group:		Development/Tools
 Source0:	ftp://eclipse.bluage.com/technologySR1/eclipse-jee-galileo-SR1-linux-gtk.tar.gz
-# NoSource0-md5:	8c1e4f8cc967cfc847ddd8150407d8cd
+# Source0-md5:	8c1e4f8cc967cfc847ddd8150407d8cd
 Source1:	ftp://eclipse.bluage.com/technologySR1/eclipse-jee-galileo-SR1-linux-gtk-x86_64.tar.gz
-# NoSource1-md5:	f7a468512be47b9119ce1b92d25d9c7e
-NoSource:	0
-NoSource:	1
+# Source1-md5:	f7a468512be47b9119ce1b92d25d9c7e
 URL:		http://www.eclipse.org/
-BuildRequires:	ant >= 1.6.1
-BuildRequires:	ant-apache-regexp
-BuildRequires:	jdk >= 1.6
-BuildRequires:	pkgconfig
-BuildRequires:	rpm-pythonprov
-BuildRequires:	rpmbuild(macros) >= 1.300
-BuildRequires:	sed >= 4.0
 BuildRequires:	unzip
-BuildRequires:	zip
 Requires:	ant
 Requires:	jdk >= 1.4
 Obsoletes:	eclipse-SDK
@@ -58,17 +43,29 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_libdir},%{_bindir}}
+install -d $RPM_BUILD_ROOT{%{_libdir}/eclipse,%{_bindir}}
+
+cd eclipse
+cp -a features p2 configuration plugins \
+      icon.xpm libcairo-swt.so eclipse \
+      $RPM_BUILD_ROOT%{_libdir}/eclipse
 
-cp -a eclipse ${_libdir}/eclipse
-ln -s ${_libdir}/eclipse/eclipse $RPM_BUILD_ROOT%{_bindir}
+ln -s %{_libdir}/eclipse/eclipse $RPM_BUILD_ROOT%{_bindir}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%{_libdir}/eclipse
+%doc eclipse/{about_files,readme,*html}
+%dir %{_libdir}/eclipse
+%{_libdir}/eclipse/features
+%{_libdir}/eclipse/p2
+%{_libdir}/eclipse/configuration
+%{_libdir}/eclipse/plugins
+%{_libdir}/eclipse/icon.xpm
+%attr(755,root,root) %{_libdir}/eclipse/libcairo-swt.so
+%attr(755,root,root) %{_libdir}/eclipse/eclipse
 %attr(755,root,root) %{_bindir}/eclipse
 
 %define	date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -77,6 +74,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2010/01/18 19:45:58  pawelz
+- builds and works, at least on i686
+- fetch sources
+
 Revision 1.1  2010/01/18 19:27:25  pawelz
 - NFY
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/eclipse-bin/eclipse-bin.spec?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list