Blob Blame History Raw
%global eclipse_base %{_libdir}/eclipse
%global rlsdate 201010272352
%global install_loc         %{_libdir}/eclipse/dropins/anyedit

Summary: AnyEdit plugin for eclipse
Name: eclipse-anyedit
Version: 2.3.3
Release: 1%{?dist}
License: BSD
Group: Development/Tools
URL: http://andrei.gmxhome.de/anyedit/index.html

#hg clone https://hg.codespot.com/a/eclipselabs.org/anyedittools/ anyedittools
#tar caf anyedittools.tar.xz anyedittools/
Source0: anyedittools.tar.cz

Requires:      eclipse-platform >= 3.4.0

BuildRequires: jpackage-utils >= 0:1.5
BuildRequires: eclipse-pde
BuildRequires: java-devel >= 1.4.2
BuildArch:     noarch

%description
The AnyEdit plugin adds several new actions to the context menu of text-based
Eclipse editors.

%prep
%setup -q -n anyedittools
#%patch0 -p1

# remove pre-compiled classes
rm -rf de

%build
%{eclipse_base}/buildscripts/pdebuild

%install
rm -rf %{buildroot}

# create plugins directory
install -d -m755 %{install_loc}

# install plugin
unzip -q -d %{install_loc} build/rpmBuild/AnyEditTools.zip

%clean 
rm -rf %{buildroot}

%files
%defattr(-,root,root,-)
/usr/share/eclipse/dropins/anyedit
 
%changelog
* Mon Nov 8 2010 Alexander Kurtakov <akurtako@redhat.com> 2.3.3-1
- Update to 2.3.3.
- Fix FTBFS.

* Wed Aug 19 2009 Rob Myers <rob.myers@gtri.gatech.edu> 2.2.0-2
- Drop LICENSE file
- Minor spec file cleanup

* Wed Aug 19 2009 Rob Myers <rob.myers@gtri.gatech.edu> 2.2.0-1
- Updated to 2.2.0
- Drop gcj support
- Change jar location to /usr/share/eclipse/dropins/anyedit
- Bump eclipse-platform to 3.4.0+

* Wed Oct 15 2008 Rob Myers <rob.myers@gtri.gatech.edu> 2.1.1-3
- move plugin to dropins

* Sun Oct 12 2008 Rob Myers <rob.myers@gtri.gatech.edu> 2.1.1-2
- use build.update.jar package target
- update Requires for compatible versions of eclipse

* Sat Oct 11 2008 Rob Myers <rob.myers@gtri.gatech.edu> 2.1.1-1
- update to 2.1.1

* Wed Oct 17 2007 Rob Myers <rob.myers@gtri.gatech.edu> 1.8.2-5
- install as jar instead of zip

* Tue Oct 16 2007 Rob Myers <rob.myers@gtri.gatech.edu> 1.8.2-4
- rebuild

* Tue Sep 25 2007 Rob Myers <rob.myers@gtri.gatech.edu> 1.8.2-3
- update to meet http://fedoraproject.org/wiki/PackagingDrafts/EclipsePlugins

* Thu Sep 13 2007 Rob Myers <rob.myers@gtri.gatech.edu> 1.8.2-2
- update defattr settings from alcapcom

* Fri Sep  7 2007 Rob Myers <rob.myers@gtri.gatech.edu> 1.8.2-1
- update to 1.8.2
- update unicode patch for IcedTea compatibility

* Sun May 27 2007 Rob Myers <rob.myers@gtri.gatech.edu> 1.8.0-2
- enable gcj_support and rebuild

* Fri May 18 2007 Rob Myers <rob.myers@gtri.gatech.edu> 1.8.0-1
- Update to 1.8.0
- switch to pde build
- add gcj_support
- work around 'Ü' compiler issue
- add license

* Mon Apr 23 2007 Patrick Neely <patrick.neely@gtri.gatech.edu> 1.7.0-0
- Update to 1.7.0 for RHEL5

* Tue Jun 27 2006 Patrick Neely <patrick.neely@gtri.gatech.edu> 1.4.1-0
- Rebuilt for RHEL4