packages: eclipse-gef/eclipse-gef.spec - noarch
glen
glen at pld-linux.org
Tue Nov 16 17:24:38 CET 2010
Author: glen Date: Tue Nov 16 16:24:38 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- noarch
---- Files affected:
packages/eclipse-gef:
eclipse-gef.spec (1.9 -> 1.10)
---- Diffs:
================================================================
Index: packages/eclipse-gef/eclipse-gef.spec
diff -u packages/eclipse-gef/eclipse-gef.spec:1.9 packages/eclipse-gef/eclipse-gef.spec:1.10
--- packages/eclipse-gef/eclipse-gef.spec:1.9 Sat Mar 29 19:32:35 2008
+++ packages/eclipse-gef/eclipse-gef.spec Tue Nov 16 17:24:33 2010
@@ -1,23 +1,24 @@
# $Revision$, $Date$
-# TODO
-# - build from source
-# - noarch
-%define buildid 200802211602
+%include /usr/lib/rpm/macros.java
Summary: Graphical Editing Framework
Summary(pl.UTF-8): Graphical Editing Framework - środowisko do edycji graficznej
Name: eclipse-gef
Version: 3.3.2
-Release: 1
+Release: 2
License: EPL v1.0
Group: Development/Tools
-Source0: http://download.eclipse.org/tools/gef/downloads/drops/R-%{version}-%{buildid}/GEF-SDK-%{version}.zip
+Source0: http://download.eclipse.org/tools/gef/downloads/drops/R-%{version}-200802211602/GEF-SDK-%{version}.zip
# Source0-md5: a5770b033aa477c2c5742f27701926ad
URL: http://www.eclipse.org/gef/
+BuildRequires: jpackage-utils
+BuildRequires: rpm-javaprov
+BuildRequires: rpmbuild(macros) >= 1.300
BuildRequires: unzip
Requires: eclipse >= 3.2
+BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-%define _eclipsedir %{_libdir}/eclipse
+%define eclipsedir %{_datadir}/eclipse
%description
Graphical Editing Framework.
@@ -30,18 +31,18 @@
%install
rm -rf $RPM_BUILD_ROOT
-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
+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.gef*
-%{_eclipsedir}/plugins/org.eclipse.gef*
-%{_eclipsedir}/plugins/org.eclipse.draw2d*
+%{eclipsedir}/features/org.eclipse.gef*
+%{eclipsedir}/plugins/org.eclipse.gef*
+%{eclipsedir}/plugins/org.eclipse.draw2d*
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -49,6 +50,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.10 2010/11/16 16:24:33 glen
+- noarch
+
Revision 1.9 2008/03/29 18:32:35 adamg
- updated to 3.3.2
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/eclipse-gef/eclipse-gef.spec?r1=1.9&r2=1.10&f=u
More information about the pld-cvs-commit
mailing list