--- /dev/null
+%global eclipse_base %{_libdir}/eclipse
+%global install_loc %{_datadir}/eclipse/dropins/gprof
+
+Name: eclipse-gprof
+Version: 0.7.0
+Release: 0.1.20110718gitc011a2c7a0%{?dist}
+Summary: GProf Integration (Incubation)
+
+Group: Development/Tools
+License: EPL
+URL: http://www.eclipse.org/linuxtools/projectPages/gprof
+Source0: http://git.eclipse.org/c/linuxtools/org.eclipse.linuxtools.git/snapshot/org.eclipse.linuxtools-c011a2c7a093ad3ba1a04623709f7c9a3650269f.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildArch: noarch
+
+BuildRequires: eclipse-pde >= 1:3.6.1
+BuildRequires: eclipse-cdt >= 1:7.0.1
+BuildRequires: eclipse-linuxprofilingframework >= 0.8.0-0.1
+Requires: eclipse-platform >= 1:3.6.1
+Requires: eclipse-cdt >= 1:7.0.1
+Requires: eclipse-linuxprofilingframework >= 0.8.0-0.1
+
+%description
+Functionality to integrate GProf with the Eclipse workbench.
+
+%prep
+%setup -q -n org.eclipse.linuxtools-c011a2c7a093ad3ba1a04623709f7c9a3650269f
+
+%build
+pushd gprof
+chmod -x org.eclipse.linuxtools.gprof-feature/license.html
+chmod -x org.eclipse.linuxtools.gprof-feature/epl-v10.html
+%{eclipse_base}/buildscripts/pdebuild -f org.eclipse.linuxtools.gprof -d "cdt rse linuxprofilingframework birt gef emf dtp-connectivity"
+popd
+
+%install
+%{__rm} -rf %{buildroot}
+install -d -m 755 %{buildroot}%{install_loc}
+
+pushd gprof
+%{__unzip} -q -d %{buildroot}%{install_loc} \
+ build/rpmBuild/org.eclipse.linuxtools.gprof.zip
+popd
+
+%clean
+%{__rm} -rf %{buildroot}
+
+%files
+%defattr(-,root,root,-)
+%{install_loc}
+%doc gprof/org.eclipse.linuxtools.gprof-feature/license.html
+%doc gprof/org.eclipse.linuxtools.gprof-feature/epl-v10.html
+
+%changelog
+* Tue Jul 18 2011 Jeff Johnston <jjohnstn@redhat.com> 0.7.0-0.1.20110718gitc011a2c7a0
+- First release of gprof (pre-0.7.0 release)
+