rpms/jemmy/devel import.log, NONE, 1.1 jemmy.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Victor G. Vasilyev victorv at fedoraproject.org
Sat Aug 8 11:53:58 UTC 2009


Author: victorv

Update of /cvs/pkgs/rpms/jemmy/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv28740/devel

Modified Files:
	.cvsignore sources 
Added Files:
	import.log jemmy.spec 
Log Message:
Initial version



--- NEW FILE import.log ---
jemmy-2_3_0_0-4_fc12:HEAD:jemmy-2.3.0.0-4.fc12.src.rpm:1249732703


--- NEW FILE jemmy.spec ---
# Prevent brp-java-repack-jars from being run.
%global __jar_repack %{nil}

# Install time macros
%global target_jar build/%{name}.jar
%global target_javadoc build/javadoc/*


Name:           jemmy
Version:        2.3.0.0
Release:        4%{?dist}
Summary:        Java UI testing library

Group:          Development/Libraries
License:        CDDL
URL:            https://jemmy.dev.java.net

# The source for this package was pulled from upstream's vcs.  Use the
# following commands to generate the tarball:
#
# svn export https://jemmy.dev.java.net/svn/jemmy/trunk/Jemmy2 jemmy-2.3.0.0 --username <username>
# tar -czvf jemmy-2.3.0.0.tar.gz jemmy-2.3.0.0
#
# where <username> is a name of the user registered here: https://www.dev.java.net/servlets/Join
Source0:        jemmy-2.3.0.0.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  ant >= 1.6.5
BuildRequires:  java-devel >= 1:1.6.0
BuildRequires:  jpackage-utils

Requires:       java >= 1:1.6.0
Requires:       jpackage-utils

BuildArch:      noarch

%description
Jemmy is a Java UI testing library. Jemmy represents the most natural way to 
test Java UI - perform the testing right from the Java code. Jemmy is a Java 
library which provides clear and straightforward API to access Java UI. Tests 
are then just java programs, which use the API. Having the tests in Java allows 
to use all the flexibility of high level language to capture test logic and 
also do any other operations needed to be done from test.

%package javadoc
Summary:        Javadocs for %{name}
Group:          Documentation
Requires:       %{name} = %{version}-%{release}
Requires:       jpackage-utils

%description javadoc
This package contains the API documentation for %{name}.

%prep
%setup -q
find . -type f -name '*.jar' | xargs -t rm
echo "Please, visit https://jemmy.dev.java.net for more info about Jemmy." > README.txt

%build
%ant jar javadoc

%install
%__rm -rf %{buildroot}

# jar
%__mkdir_p %{buildroot}%{_javadir}
%__cp -a %{target_jar} %{buildroot}%{_javadir}/%{name}-%{version}.jar
(cd %{buildroot}%{_javadir} && for jar in *-%{version}*; do \
%__ln_s ${jar} ${jar/-%{version}/}; done)

# javadoc
%__mkdir_p %{buildroot}%{_javadocdir}/%{name}
%__cp -a %{target_javadoc} %{buildroot}%{_javadocdir}/%{name}

%clean
%__rm -rf %{buildroot}

%files
%defattr(-,root,root,-)
%doc README.txt
%{_javadir}/*.jar

%files javadoc
%defattr(-,root,root,-)
%{_javadocdir}/%{name}

%changelog
* Sun Aug 02 2009 Victor Vasilyev <victor.vasilyev at sun.com> 2.3.0.0-4
- adjust macro defs
- svn export instead of checkout
* Wed Jul 30 2009 Victor Vasilyev <victor.vasilyev at sun.com> 2.3.0.0-3
- javadoc subpackage is added
* Wed Jul 30 2009 Victor Vasilyev <victor.vasilyev at sun.com> 2.3.0.0-2
- (B)R jpackage-utils
- 'define' macro -> 'global' macro
* Wed Jul 29 2009 Victor Vasilyev <victor.vasilyev at sun.com> 2.3.0.0-1
- release 2.3.0.0


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/jemmy/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	3 Aug 2009 21:32:45 -0000	1.1
+++ .cvsignore	8 Aug 2009 11:53:57 -0000	1.2
@@ -0,0 +1 @@
+jemmy-2.3.0.0.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/jemmy/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	3 Aug 2009 21:32:45 -0000	1.1
+++ sources	8 Aug 2009 11:53:57 -0000	1.2
@@ -0,0 +1 @@
+5175a212ed86fde706f84e1d3d256810  jemmy-2.3.0.0.tar.gz




More information about the fedora-extras-commits mailing list