- noarch master auto/th/eclipse-gef-3_3_2-2
authorElan Ruusamäe <glen@pld-linux.org>
Tue, 16 Nov 2010 16:24:33 +0000 (16:24 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    eclipse-gef.spec -> 1.10

eclipse-gef.spec

index 51a72f0..a5ba38d 100644 (file)
@@ -1,22 +1,23 @@
-# 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.
@@ -29,15 +30,15 @@ Graphical Editing Framework - środowisko do edycji graficznej.
 
 %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*
This page took 0.117667 seconds and 4 git commands to generate.