SPECS (AC-branch): test.spec - test java deps

glen glen at pld-linux.org
Tue Apr 10 23:06:29 CEST 2007


Author: glen                         Date: Tue Apr 10 21:06:29 2007 GMT
Module: SPECS                         Tag: AC-branch
---- Log message:
- test java deps

---- Files affected:
SPECS:
   test.spec (1.16.4.63 -> 1.16.4.64) 

---- Diffs:

================================================================
Index: SPECS/test.spec
diff -u SPECS/test.spec:1.16.4.63 SPECS/test.spec:1.16.4.64
--- SPECS/test.spec:1.16.4.63	Sat Mar 17 22:18:34 2007
+++ SPECS/test.spec	Tue Apr 10 23:06:24 2007
@@ -1,52 +1,39 @@
 # $Revision$, $Date$
-%include	/usr/lib/rpm/macros.perl
+%include	/usr/lib/rpm/macros.java
 Summary:	test package to run COMMAND like commands on builder :/
 Name:		test.foobar
 Version:	8.56
 Release:	0.6
 License:	GPL
+Source0:	http://dl.sourceforge.net/junit/junit4.1.zip
+# Source0-md5:	e66d3e77c70b3297f2c6a12990fc3120
+Source1:	Test.java
 Group:		Applications/System
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%{expand:%%define	__cc	%(set -x;echo %__cc | sed -e 's,-gcc,-gcc4,')}
-%{expand:%%define	__cxx	%(set -x;echo %__cxx | sed -e 's,-g++,-g++4,')}
-%{expand:%%define	__cpp	%(set -x; echo %__cpp | sed -e 's,-gcc,-gcc4,')}
-
 %description
 this package should be never installed.
 
-%package addon-enigmail
-Summary:	Extension for the authentication and encryption features provided by GnuPG
-Summary(pl):	Rozszerzenie do uwierzytelniania i szyfrowania zapewnianego przez GnuPG
-Version:	0.93
-Release:	1
-License:	MPL/LGPL
-Group:		Applications/Networking
-URL:		http://enigmail.mozdev.org/
-
-%description addon-enigmail
-Enigmail is an extension to the mail client of Mozilla Thunderbird
-
 %prep
-%setup -qcT
-: CC: %{__cc}
-: CXX: %{__cxx}
-: CPP: %{__cpp}
-exit 1
+%setup -q -n junit4.1
+cp %{SOURCE1} Test.java
+
+%build
+%javac Test.java
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %install
-
-%pre
+rm -rf $RPM_BUILD_ROOT
+install -D junit-4.1.jar $RPM_BUILD_ROOT%{_javadir}/junit.jar
+install Test.class $RPM_BUILD_ROOT%{_javadir}
 
 %files
 %defattr(644,root,root,755)
-
-%files addon-enigmail
-%defattr(644,root,root,755)
+%{_javadir}/*.jar
+%{_javadir}/*.class
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -54,59 +41,6 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
-Revision 1.16.4.63  2007/03/17 21:18:34  glen
-- %files for second package
-
-Revision 1.16.4.62  2007/03/17 11:38:38  glen
-- test specinfo.pl
-
-Revision 1.16.4.61  2007/03/16 23:29:00  glen
-- test gcc suffix
-
-Revision 1.16.4.60  2007/03/07 17:11:36  glen
-- %{error} test
-
-Revision 1.16.4.59  2007/03/05 09:52:01  glen
-- kill utf
-
-Revision 1.16.4.58  2007/03/05 09:49:20  glen
-- src builder should not be in EA, funny one
-
-Revision 1.16.4.57  2007/03/05 09:43:59  glen
-- dotted Name test
-
-Revision 1.16.4.56  2007/03/03 15:38:56  glen
-- test for EA and BR order
-
-Revision 1.16.4.55  2007/03/01 07:30:19  glen
-- cpuinfo test
-
-Revision 1.16.4.54  2007/02/28 00:04:58  glen
-- /proc test
-
-Revision 1.16.4.53  2007/02/14 13:51:22  glen
-- rel 0.5
-
-Revision 1.16.4.52  2007/02/14 13:16:04  glen
-- no %{summary} in %description -- it seems to be expanded on packaging time
-
-Revision 1.16.4.51  2007/02/14 13:08:13  hawk
-- polish special chars UTF-8 test
-
-Revision 1.16.4.50  2007/02/14 12:59:25  glen
-- more testing
-
-Revision 1.16.4.49  2007/02/14 12:57:52  glen
-- fix encoding
-
-Revision 1.16.4.48  2007/02/13 14:43:16  glen
-- rel 0.3
-
-Revision 1.16.4.47  2007/02/13 13:18:01  glen
-- rel 0.2
-
-Revision 1.16.4.46  2007/02/13 10:04:23  glen
-- utf8 test
+Revision 1.16.4.64  2007/04/10 21:06:24  glen
+- test java deps
 
-Revision 1.16.4.45  2007/02/13 10:02:08  glen
-- test utf
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/test.spec?r1=1.16.4.63&r2=1.16.4.64&f=u



More information about the pld-cvs-commit mailing list