packages: eclipse-emf-sdo-xsd/eclipse-emf-sdo-xsd.spec - noarch

glen glen at pld-linux.org
Tue Nov 16 17:21:45 CET 2010


Author: glen                         Date: Tue Nov 16 16:21:45 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- noarch

---- Files affected:
packages/eclipse-emf-sdo-xsd:
   eclipse-emf-sdo-xsd.spec (1.13 -> 1.14) 

---- Diffs:

================================================================
Index: packages/eclipse-emf-sdo-xsd/eclipse-emf-sdo-xsd.spec
diff -u packages/eclipse-emf-sdo-xsd/eclipse-emf-sdo-xsd.spec:1.13 packages/eclipse-emf-sdo-xsd/eclipse-emf-sdo-xsd.spec:1.14
--- packages/eclipse-emf-sdo-xsd/eclipse-emf-sdo-xsd.spec:1.13	Sat Mar 29 19:32:53 2008
+++ packages/eclipse-emf-sdo-xsd/eclipse-emf-sdo-xsd.spec	Tue Nov 16 17:21:40 2010
@@ -1,25 +1,26 @@
 # $Revision$, $Date$
-# TODO
-# - build noarch
-
 %define		module	emf-sdo-xsd
-%define		buildid	200802051830
+%include	/usr/lib/rpm/macros.java
 Summary:	Eclipse Modeling Framework
 Summary(pl.UTF-8):	Eclipse Modeling Framework - szkielet do modelowania w Eclipse
 Name:		eclipse-%{module}
 Version:	2.3.2
-Release:	1
+Release:	2
 License:	EPL v1.0
 Group:		Development/Tools
-Source0:	http://download.eclipse.org/modeling/emf/emf/downloads/drops/%{version}/R%{buildid}/%{module}-SDK-%{version}.zip
+Source0:	http://download.eclipse.org/modeling/emf/emf/downloads/drops/%{version}/R200802051830/%{module}-SDK-%{version}.zip
 # Source0-md5:	da937bf8e31788d5121176581b286a43
 URL:		http://www.eclipse.org/emf/
+BuildRequires:	jpackage-utils
+BuildRequires:	rpm-javaprov
+BuildRequires:	rpmbuild(macros) >= 1.300
 BuildRequires:	unzip
 Requires:	eclipse >= 3.2
 Obsoletes:	eclipse-emf-sdo
+BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define		_eclipsedir	%{_libdir}/eclipse
+%define		eclipsedir	%{_datadir}/eclipse
 
 %description
 Eclipse Modeling Framework (EMF).
@@ -32,19 +33,19 @@
 
 %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.emf*
-%{_eclipsedir}/features/org.eclipse.xsd*
-%{_eclipsedir}/plugins/org.eclipse.emf*
-%{_eclipsedir}/plugins/org.eclipse.xsd*
+%{eclipsedir}/features/org.eclipse.emf*
+%{eclipsedir}/features/org.eclipse.xsd*
+%{eclipsedir}/plugins/org.eclipse.emf*
+%{eclipsedir}/plugins/org.eclipse.xsd*
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -52,6 +53,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.14  2010/11/16 16:21:40  glen
+- noarch
+
 Revision 1.13  2008/03/29 18:32:53  adamg
 - updated to 2.3.2
 
================================================================

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



More information about the pld-cvs-commit mailing list