%define eclipse_base %{_libdir}/eclipse %define install_loc %{_datadir}/eclipse/dropins/shelled Summary: Eclipse Shell script editor Name: eclipse-shelled Version: 2.0.0 Release: 0.M3.1%{?dist} License: EPL URL: http://sourceforge.net/projects/shelled Group: Development/Tools Source0: http://downloads.sourceforge.net/project/shelled/shelled/ShellEd%202.0.0%20M3/ShellEd-Sources-2.0.0_M3.zip Requires: eclipse-platform >= 1:3.4.0 Requires: eclipse-dltk Requires: eclipse-manpage BuildRequires: eclipse-pde BuildRequires: eclipse-dltk BuildRequires: eclipse-manpage BuildRequires: java-devel >= 0:1.5 BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root %description ShellEd is a superb shell script editor for Eclipse. The great benefit of this plugin is the integration of man page information for content assist and text hover. %prep %setup -q -c %build # build the main shelled feature %{eclipse_base}/buildscripts/pdebuild -d "dltk-core emf man" %install rm -rf $RPM_BUILD_ROOT install -d -m 755 $RPM_BUILD_ROOT%{install_loc} # shelled main feature unzip -q -d $RPM_BUILD_ROOT%{install_loc} \ build/rpmBuild/net.sourceforge.shelled.zip %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %{install_loc} #%doc net.sourceforge.shelled-feature/license.html #%doc net.sourceforge.shelled-feature/epl-v10.html %changelog * Tue Jul 20 2010 Roland Grunberg <rgrunber@redhat.com> 2.0.0-0.M3.1 - Update to 2.0.0 Milesone 3. - Change %setup flag to -c since source has no top-level directory. * Mon Jan 25 2010 Alexander Kurtakov <akurtako@redhat.com> 2.0.0-0.M2.1 - Update to 2.0.0 Milestone 2. * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.4-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Mon Mar 23 2009 Alexander Kurtakov <akurtako@redhat.com> 1.0.4-3 - Rebuild to not ship p2 context.xml. * Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Thu Jan 8 2009 Alexander Kurtakov <akurtako@redhat.com> 1.0.4-1 - Update to version 1.0.4. * Thu Nov 27 2008 Alexander Kurtakov <akurtakov@redhat.com> 1.0.3-3 - FIx %%doc handling. * Wed Nov 26 2008 Alexander Kurtakov <akurtakov@redhat.com> 1.0.3-2 - Drop unneeded BRs - zip and lzma. - Fix %%defattr. - Use %%{version} macro for the Source0. - Add %%doc. * Fri Oct 31 2008 Alexander Kurtakov <akurtako@redhat.com> 1.0.3-1 - Provide fetch script. - Fix license. - Initial version