b5c282a
%define eclipse_base        %{_libdir}/eclipse
8f685b9
%define install_loc         %{_datadir}/eclipse/dropins
7fba9a2
%define svn_rev             18653
b29254d
b29254d
Name:           eclipse-rpm-editor
7fba9a2
Version:        0.4.0
925af24
Release:        7%{?dist}
b29254d
Summary:        RPM Specfile editor for Eclipse
b29254d
Group:          Development/Tools
b29254d
License:        EPL
b29254d
URL:            http://wiki.eclipse.org/index.php/Linux_Distributions_Project
b29254d
# This tarball was made using the included script, like so:
b29254d
#   sh ./fetch-specfile-editor.sh %{svn_rev}
b29254d
Source0:        specfile-editor-fetched-src-%{svn_rev}.tar.bz2
b29254d
Source1:        fetch-specfile-editor.sh
b29254d
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
b29254d
8f685b9
BuildRequires: java-devel >= 1.5.0
b29254d
BuildRequires: eclipse-pde >= 1:3.3.0
b29254d
BuildRequires: eclipse-changelog >= 2.5.1
2cece3e
Requires: eclipse-platform >= 3.3.1 
2cece3e
Requires: eclipse-changelog >= 2.5.1
65f78f2
Requires: rpmlint >= 0.81
ef66d19
Requires: rpmdevtools 
b29254d
8f685b9
# These plugins are really noarch but the changelog plugin need cdt which 
832891f
# we only build on these architectures.
832891f
ExclusiveArch: %{ix86} x86_64 ppc ia64
604e9f1
%define debug_package %{nil}
832891f
b29254d
%description
b29254d
The Eclipse Specfile Editor package contains Eclipse plugins that are
b29254d
useful for maintenance of RPM specfiles within the Eclipse IDE.
b29254d
b29254d
%prep
b29254d
%setup -q -n specfile-editor-fetched-src-%{svn_rev}
b29254d
b29254d
%build
7fba9a2
%{eclipse_base}/buildscripts/pdebuild -f  org.eclipse.linuxtools.rpm.ui.editor \
7fba9a2
 -a "-DjavacSource=1.5 -DjavacTarget=1.5" \
7fba9a2
 -j -DJ2SE-1.5=%{_jvmdir}/java/jre/lib/rt.jar \
8f685b9
 -d changelog ;
b29254d
b29254d
%install
b29254d
rm -rf %{buildroot}
3e685f5
installDir=%{buildroot}%{install_loc}/rpm-editor
b5c282a
install -d -m 755 $installDir
b5c282a
unzip -q -d $installDir \
b29254d
 build/rpmBuild/org.eclipse.linuxtools.rpm.ui.editor.zip
b29254d
b29254d
%clean
b29254d
rm -rf %{buildroot}
b29254d
b29254d
%files
b29254d
%defattr(-,root,root,-)
b5c282a
%doc org.eclipse.linuxtools.rpm.ui.editor-feature/*.html
8f685b9
%{install_loc}/rpm-editor
b29254d
b29254d
%changelog
925af24
* Sun Nov 23 2008 Alphonse Van Assche <alcapcom@fedoraproject.org> 0.4.0-7
604e9f1
- Omit empty debuginfo pkg (Ville Skyttä #472651)
604e9f1
726ac8f
* Sat Oct 11 2008 Alphonse Van Assche <alcapcom@fedoraproject.org> 0.4.0-5
726ac8f
- Fix specfile
726ac8f
8f685b9
* Thu Oct 7 2008 Alphonse Van Assche <alcapcom@fedoraproject.org> 0.4.0-4
8f685b9
- Remove gcj compilation
8f685b9
- Add %%{install_loc}
8f685b9
7f99405
* Fri Oct 03 2008 Alexander Kurtakov <akurtako@redhat.com> 0.4.0-3
7f99405
- Rebuild for #465109.
7f99405
b5c282a
* Wed Jul 30 2008 Andrew Overholt <overholt@redhat.com> 0.4.0-2
b5c282a
- Update for Eclipse SDK 3.4
b5c282a
- Remove noarch potential since CDT is arch-specific and we
b5c282a
  ExclusiveArch
b5c282a
7fba9a2
* Wed Jun 29 2008 Alphonse Van Assche <alcapcom@fedoraproject.org> 0.4.0-1
7fba9a2
- bump to 0.4.0
51a3fe0
7fba9a2
* Wed Jun 25 2008 Alphonse Van Assche <alcapcom@fedoraproject.org> 0.3.0-3
7fba9a2
- Using pdebuild.
7fba9a2
7fba9a2
* Fri May 1 2008 Alphonse Van Assche <alcapcom@fedoraproject.org> 0.3.0-2
c480e58
- Bump to 0.3.0
c480e58
2cece3e
* Wed Apr 23 2008 Alphonse Van Assche <alcapcom@fedoraproject.org> 0.2.1-4
2cece3e
- Revert last changes
2cece3e
e36efe5
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.2.1-3
e36efe5
- Autorebuild for GCC 4.3
e36efe5
64dd5f8
* Sat Dec 15 2007 Alphonse Van Assche <alcapcom@fedoraproject.org> 0.2.1-2
64dd5f8
- Add Sources completion (Contributed by Alexander Kurtakov)
64dd5f8
ef66d19
* Sat Dec 15 2007 Alphonse Van Assche <alcapcom@fedoraproject.org> 0.2.1-1
ef66d19
- RFE eclipse spec editor should allow users to configure the 
ef66d19
  format of the changelog entry (#421881)
ef66d19
d3c6120
* Wed Nov 28 2007 fons <fons@xp2000.leafamily.org> 0.2.0-2
d3c6120
- Add support for URPM tool and cancel support to RpmPackageBuildProposalsJob. 
d3c6120
- Fix Bug #207207
d3c6120
	
389b087
* Sun Oct 14 2007 Alphonse Van Assche <alcapcom@fedoraproject.org> 0.1.0-10
389b087
- Just tag the sources correctly. 
389b087
e3b2840
* Sun Oct 14 2007 Alphonse Van Assche <alcapcom@fedoraproject.org> 0.1.0-9
e3b2840
- Fix https://bugs.eclipse.org/bugs/show_bug.cgi?id=206160
e3b2840
- Fix https://bugzilla.redhat.com/show_bug.cgi?id=327101
e3b2840
e3b2840
* Mon Sep 24 2007 Alphonse Van Assche <alcapcom@fedoraproject.org> 0.1.0-8
9405a78
- Fix https://bugs.eclipse.org/bugs/show_bug.cgi?id=204146
9405a78
- Fix https://bugs.eclipse.org/bugs/show_bug.cgi?id=204150
9405a78
65f78f2
* Mon Sep 3 2007 Alphonse Van Assche <alcapcom@fedoraproject.org> 0.1.0-7
65f78f2
- Requires rpmlint >= 0.81
65f78f2
45bba96
* Mon Sep 3 2007 Alphonse Van Assche <alcapcom@fedoraproject.org> 0.1.0-6
45bba96
- Remove rpmlint-remove-rpmlint-plugin.patch because rpmlint 0.81 is out.
45bba96
832891f
* Sun Sep 2 2007 Alphonse Van Assche <alcapcom@fedoraproject.org> 0.1.0-5
832891f
- Only build the plugin where the changelog plugin can be build, only
832891f
  x86 x86_64 ppc and ia64 arches are supported by the changelog plugin because
832891f
  of dependencies on the cdt plugin.
832891f
b29254d
* Sat Sep 1 2007 Alphonse Van Assche <alcapcom@fedoraproject.org> 0.1.0-4
b29254d
- Disable temporarily rpmlint Plug-In because rpmlint 0.80 is not supported. 
b29254d
b29254d
* Thu Aug 29 2007 Alphonse Van Assche <alcapcom@gmail.com> 0.1.0-3
b29254d
- Fix the description tag (see comment 9 of #253434for more details).
b29254d
- Lower the rpmlint required version form 0.81 to 0.80.
b29254d
b29254d
* Sun Aug 26 2007 Alphonse Van Assche <alcapcom@gmail.com> 0.1.0-2
b29254d
- Fix License tag.
b29254d
b29254d
* Wed Aug 15 2007 Alphonse Van Assche <alcapcom@gmail.com> 0.1.0-1
b29254d
- Initial package.