rpms/eclipse-egit/devel eclipse-egit-add-feature.patch, NONE, 1.1 eclipse-egit.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Ben Konrath (bkonrath)
fedora-extras-commits at redhat.com
Sat Sep 15 02:31:26 UTC 2007
- Previous message (by thread): rpms/xscreensaver/F-7 update-xscreensaver-hacks, NONE, 1.1 xscreensaver.spec, 1.42, 1.43
- Next message (by thread): rpms/sos/devel sos.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: bkonrath
Update of /cvs/pkgs/rpms/eclipse-egit/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv2706
Modified Files:
.cvsignore sources
Added Files:
eclipse-egit-add-feature.patch eclipse-egit.spec
Log Message:
* Wed Aug 29 2007 Ben Konrath <bkonrath at redhat.com> 0.2.2-0.git20070826.fc8
- Initial version
eclipse-egit-add-feature.patch:
--- NEW FILE eclipse-egit-add-feature.patch ---
diff -ruN egit.orig/org.spearce.egit/build.properties egit/org.spearce.egit/build.properties
--- egit.orig/org.spearce.egit/build.properties 1969-12-31 19:00:00.000000000 -0500
+++ egit/org.spearce.egit/build.properties 2007-08-30 12:33:14.000000000 -0400
@@ -0,0 +1 @@
+bin.includes = feature.xml
diff -ruN egit.orig/org.spearce.egit/feature.xml egit/org.spearce.egit/feature.xml
--- egit.orig/org.spearce.egit/feature.xml 1969-12-31 19:00:00.000000000 -0500
+++ egit/org.spearce.egit/feature.xml 2007-08-30 12:33:14.000000000 -0400
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<feature
+ id="org.spearce.egit"
+ label="Eclipse Git Feature"
+ version="0.2.2"
+ provider-name="spearce.org">
+
+ <description>
+ The Eclipse Git plugin allows developers to interact with Git
+ repositories from within Eclipse.
+ </description>
+
+ <copyright url="http://www.example.com/copyright">
+ [Enter Copyright Description here.]
+ </copyright>
+
+ <license url="http://www.example.com/license">
+ GPLv2 EPL
+ </license>
+
+ <plugin
+ id="org.spearce.egit.core"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="org.spearce.egit.ui"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="org.spearce.jgit"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+</feature>
diff -ruN egit.orig/org.spearce.egit/.project egit/org.spearce.egit/.project
--- egit.orig/org.spearce.egit/.project 1969-12-31 19:00:00.000000000 -0500
+++ egit/org.spearce.egit/.project 2007-08-30 12:33:14.000000000 -0400
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.spearce.egit</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.pde.FeatureBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.pde.FeatureNature</nature>
+ </natures>
+</projectDescription>
--- NEW FILE eclipse-egit.spec ---
%define gcj_support 1
Summary: Eclipse Git plug-in
Name: eclipse-egit
Version: 0.2.2
Release: 0.git20070826%{?dist}
License: EPL GPLv2
URL: http://repo.or.cz/w/egit.git
Group: Development/Tools
# retrieved from http://repo.or.cz/w/egit.git?a=snapshot;h=522c3046b3b7e4af1a13ca17912e0bfe8b0983e4;sf=tgz
Source0: egit-522c3046b3b7e4af1a13ca17912e0bfe8b0983e4.tar.gz
Patch0: %{name}-add-feature.patch
Requires: eclipse-platform > 1:3.3.0
%if %{gcj_support}
BuildRequires: gcc-java >= 4.1.2
BuildRequires: java-1.5.0-gcj-devel >= 1.5.0
Requires(post): java-1.5.0-gcj >= 1.5.0
Requires(postun): java-1.5.0-gcj >= 1.5.0
%else
BuildRequires: java-devel >= 1.6.0
%endif
BuildRequires: eclipse-pde
BuildRequires: jpackage-utils >= 0:1.5
%if %{gcj_support}
%else
BuildArch: noarch
%endif
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%description
The eclipse-egit package contains Eclipse plugins for
interacting with Git repositories.
%prep
%setup -q -c
%patch0 -p0
%build
# Copy the SDK for build
/bin/sh -x %{_datadir}/eclipse/buildscripts/copy-platform SDK %{_datadir}/eclipse
SDK=$(cd SDK > /dev/null && pwd)
# Eclipse may try to write to the home directory.
mkdir home
homedir=$(cd home > /dev/null && pwd)
# build the main egit feature
java -cp $SDK/startup.jar \
-Dosgi.sharedConfiguration.area=%{_libdir}/eclipse/configuration \
org.eclipse.core.launcher.Main \
-application org.eclipse.ant.core.antRunner \
-Dtype=feature \
-Did=org.spearce.egit \
-DbaseLocation=$SDK \
-DjavacSource=1.5 -DjavacTarget=1.5 \
-DsourceDirectory=$(pwd) \
-DbuildDirectory=$(pwd)/build \
-Dbuilder=%{_datadir}/eclipse/plugins/org.eclipse.pde.build/templates/package-build \
-f %{_datadir}/eclipse/plugins/org.eclipse.pde.build/scripts/build.xml \
-vmargs -Duser.home=$homedir
%install
rm -rf $RPM_BUILD_ROOT
install -d -m755 $RPM_BUILD_ROOT/%{_datadir}/eclipse
# egit main feature
unzip -q -d $RPM_BUILD_ROOT%{_datadir}/eclipse/.. \
build/rpmBuild/org.spearce.egit.zip
%if %{gcj_support}
aot-compile-rpm
%endif
%clean
rm -rf $RPM_BUILD_ROOT
%if %{gcj_support}
%post -p /usr/bin/rebuild-gcj-db
%postun -p /usr/bin/rebuild-gcj-db
%endif
%files
%defattr(-,root,root,-)
%{_datadir}/eclipse/features/org.spearce.egit*
%{_datadir}/eclipse/plugins/org.spearce.egit.core*
%{_datadir}/eclipse/plugins/org.spearce.egit.ui*
%{_datadir}/eclipse/plugins/org.spearce.jgit*
%if %{gcj_support}
%{_libdir}/gcj/%{name}
%endif
%changelog
* Wed Aug 29 2007 Ben Konrath <bkonrath at redhat.com> 0.2.2-0.git20070826.fc8
- Initial version
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/eclipse-egit/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 14 Sep 2007 21:27:08 -0000 1.1
+++ .cvsignore 15 Sep 2007 02:30:53 -0000 1.2
@@ -0,0 +1 @@
+egit-522c3046b3b7e4af1a13ca17912e0bfe8b0983e4.tar.gz
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/eclipse-egit/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 14 Sep 2007 21:27:08 -0000 1.1
+++ sources 15 Sep 2007 02:30:53 -0000 1.2
@@ -0,0 +1 @@
+fbbbb7b7366d5a9f397f521837fe3e19 egit-522c3046b3b7e4af1a13ca17912e0bfe8b0983e4.tar.gz
- Previous message (by thread): rpms/xscreensaver/F-7 update-xscreensaver-hacks, NONE, 1.1 xscreensaver.spec, 1.42, 1.43
- Next message (by thread): rpms/sos/devel sos.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list