rpms/eclipse-moreunit/devel eclipse-moreunit.spec, NONE, 1.1 eclipse-moreunit-fetch-src.sh, NONE, 1.1 sources, 1.1, 1.2 .cvsignore, 1.1, 1.2

Alexander Kurtakov akurtakov at fedoraproject.org
Wed Feb 11 09:18:07 UTC 2009


Author: akurtakov

Update of /cvs/pkgs/rpms/eclipse-moreunit/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv17505/devel

Modified Files:
	sources .cvsignore 
Added Files:
	eclipse-moreunit.spec eclipse-moreunit-fetch-src.sh 
Log Message:
Initial commit.


--- NEW FILE eclipse-moreunit.spec ---
%define src_repo_tag   V_1_2_0
%define eclipse_base   %{_libdir}/eclipse
%define install_loc    %{_datadir}/eclipse/dropins/moreunit

Name:           eclipse-moreunit
Version:        1.2.0
Release:        2%{?dist}
Summary:        An Eclipse plugin that assists with writing more unit tests

Group:          Development/Tools
License:        EPL
URL:            http://moreunit.sourceforge.net
## sh %{name}-fetch-src.sh V_1_2_0
Source0:        %{name}-fetched-src-%{src_repo_tag}.tar.bz2
Source1:        %{name}-fetch-src.sh
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildArch: noarch

BuildRequires: eclipse-pde >= 1:3.4.0
Requires: eclipse-platform >= 3.4.0
Requires: eclipse-jdt

%description
MoreUnit is an Eclipse plugin that should assist with writing more unit tests.
It can decorate classes which have testcase(s) and mark methods in the editor
which are under test.  Renaming/moving classes/methods will cause moreUnit to
rename/move the corresponding test code.  Generation of test method stubs is
also possible.

%prep
%setup -q -c

%build
%{eclipse_base}/buildscripts/pdebuild -f moreUnit

%install
%{__rm} -rf %{buildroot}
install -d -m 755 %{buildroot}%{install_loc}

%{__unzip} -q -d %{buildroot}%{install_loc} \
     build/rpmBuild/moreUnit.zip 

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-,root,root,-)
%{install_loc}
%doc eclipse-moreunit-fetched-src-V_1_2_0/org.moreunit.plugin/help/documentation.html


%changelog
* Tue Feb 10 2009 Alexander Kurtakov <akurtako at redhat.com> 1.2.0-2
- More descriptive summary and description.

* Thu Jan 29 2009 Alexander Kurtakov <akurtako at redhat.com> 1.2.0-1
- Initial packaging


--- NEW FILE eclipse-moreunit-fetch-src.sh ---
#!/bin/sh
usage='usage: $0 <tag>'
name=eclipse-moreunit
tag=$1
tar_name=$name-fetched-src-$tag

# example of fetch command:
# fetch_cmd=cvs -d:pserver:anonymous at dev.eclipse.org:/cvsroot/dsdp \
# export -r $tag org.eclipse.tm.rse/features/$f;


if [ "x$tag"x = 'xx' ]; then
   echo >&2 "$usage"
   exit 1
fi

rm -fr $tar_name && mkdir $tar_name
pushd $tar_name

# Fetch plugins
for f in \
org.moreunit.plugin \
org.moreunit.feature \
; do
cvs -d:pserver:anonymous at moreunit.cvs.sf.net:/cvsroot/moreunit export -r $tag $f
done

popd
# create archive
tar -cjf $tar_name.tar.bz2 $tar_name


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/eclipse-moreunit/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	10 Feb 2009 22:43:21 -0000	1.1
+++ sources	11 Feb 2009 09:17:36 -0000	1.2
@@ -0,0 +1 @@
+7dbc68cfb5459fa86709f0b482ac9504  eclipse-moreunit-fetched-src-V_1_2_0.tar.bz2


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/eclipse-moreunit/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	10 Feb 2009 22:43:21 -0000	1.1
+++ .cvsignore	11 Feb 2009 09:17:36 -0000	1.2
@@ -0,0 +1 @@
+eclipse-moreunit-fetched-src-V_1_2_0.tar.bz2




More information about the fedora-extras-commits mailing list