packages: eclipse-xsd/eclipse-xsd.spec - up to 2.2.5; noarch; javadeps

glen glen at pld-linux.org
Thu Nov 11 22:15:08 CET 2010


Author: glen                         Date: Thu Nov 11 21:15:08 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- up to 2.2.5; noarch; javadeps

---- Files affected:
packages/eclipse-xsd:
   eclipse-xsd.spec (1.8 -> 1.9) 

---- Diffs:

================================================================
Index: packages/eclipse-xsd/eclipse-xsd.spec
diff -u packages/eclipse-xsd/eclipse-xsd.spec:1.8 packages/eclipse-xsd/eclipse-xsd.spec:1.9
--- packages/eclipse-xsd/eclipse-xsd.spec:1.8	Thu Dec 13 22:11:22 2007
+++ packages/eclipse-xsd/eclipse-xsd.spec	Thu Nov 11 22:15:02 2010
@@ -1,21 +1,25 @@
 # $Revision$, $Date$
 %define		module		xsd
-%define		_buildid	R200609210005
+%include	/usr/lib/rpm/macros.java
 Summary:	XSD Schema Infoset Model
 Summary(pl.UTF-8):	Model Infoset w schemacie XSD
 Name:		eclipse-%{module}
-Version:	2.2.1
-Release:	1
+Version:	2.2.5
+Release:	0.1
 License:	EPL v1.0
-Group:		Development/Tools
-Source0:	http://download.eclipse.org/tools/emf/downloads/drops/%{version}/%{_buildid}/%{module}-SDK-%{version}.zip
-# Source0-md5:	52dc08d87d41e65b7c442bea868ee71c
-#URL:		
+Group:		Libraries/Java
+Source0:	http://archive.eclipse.org/modeling/emf/emf/downloads/drops/%{version}/R200808252119/xsd-SDK-%{version}.zip
+# Source0-md5:	18eb2449902116d6eaa5b78f53c58b3b
+URL:		http://eclipse.org/modeling/mdt/?project=xsd
+BuildRequires:	rpm-javaprov
+BuildRequires:	rpmbuild(macros) >= 1.300
 BuildRequires:	unzip
 Requires:	eclipse >= 3.2
+Requires:	eclipse-emf-sdo-xsd >= 2.3
+BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define	_eclipsedir	%{_libdir}/eclipse
+%define		eclipsedir	%{_datadir}/eclipse
 
 %description
 XSD Schema Infoset Model.
@@ -24,22 +28,22 @@
 Model Infoset w schemacie XSD.
 
 %prep
-%setup -q -c
+%setup -qc
 
 %install
 rm -rf $RPM_BUILD_ROOT
-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
+install -d $RPM_BUILD_ROOT%{eclipsedir}/{features,plugins}
+cp -a eclipse/features/* $RPM_BUILD_ROOT%{eclipsedir}/features
+cp -a eclipse/plugins/* $RPM_BUILD_ROOT%{eclipsedir}/plugins
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%{_eclipsedir}/features/org.eclipse.xsd*
-%{_eclipsedir}/plugins/org.eclipse.xsd*
-%{_eclipsedir}/plugins/org.eclipse.emf.mapping.xsd*
+%{eclipsedir}/features/org.eclipse.xsd*
+%{eclipsedir}/plugins/org.eclipse.xsd*
+%{eclipsedir}/plugins/org.eclipse.emf.mapping.xsd*
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -47,6 +51,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.9  2010/11/11 21:15:02  glen
+- up to 2.2.5; noarch; javadeps
+
 Revision 1.8  2007/12/13 21:11:22  adamg
 - release 1
 
================================================================

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



More information about the pld-cvs-commit mailing list