packages: java-jna/java-jna.spec - fixed tests bcond and its BRs - translat...

qboosh qboosh at pld-linux.org
Sat Jul 23 09:58:37 CEST 2011


Author: qboosh                       Date: Sat Jul 23 07:58:37 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- fixed tests bcond and its BRs
- translated pl into Polish

---- Files affected:
packages/java-jna:
   java-jna.spec (1.9 -> 1.10) 

---- Diffs:

================================================================
Index: packages/java-jna/java-jna.spec
diff -u packages/java-jna/java-jna.spec:1.9 packages/java-jna/java-jna.spec:1.10
--- packages/java-jna/java-jna.spec:1.9	Mon Jan 24 00:14:52 2011
+++ packages/java-jna/java-jna.spec	Sat Jul 23 09:58:32 2011
@@ -10,7 +10,7 @@
 %define		snap		rev1177
 %include	/usr/lib/rpm/macros.java
 Summary:	Easy access to native shared libraries from Java
-Summary(pl.UTF-8):	Prosty dostęp do natywnych bibliotek dzielonych z poziomu Javy.
+Summary(pl.UTF-8):	Prosty dostęp do natywnych bibliotek współdzielonych z poziomu Javy
 Name:		java-%{srcname}
 Version:	3.2.7.0
 Release:	0.%{snap}.2
@@ -30,29 +30,33 @@
 BuildRequires:	rpmbuild(macros) >= 1.300
 BuildRequires:	sed >= 4.0
 BuildRequires:	unzip
+%if %{with tests}
+BuildRequires:	java-junit
+BuildRequires:	ant-junit
+BuildRequires:	ant-trax
+%endif
 Requires:	jpackage-utils
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 JNA provides Java programs easy access to native shared libraries
-(DLLs on Windows) without writing anything but Java code No JNI or
+(DLLs on Windows) without writing anything but Java code - no JNI or
 native code is required.
 
 %description -l pl.UTF-8
-JNA pozwala na łatwy dostęp do natywnych bibliotek dzielonych bez
-pisania czegokolwiek co nie jest kodem Javy. Nie potrzebne jest ani
-JNI ani fragmentu kodu natywnego.
+JNA pozwala na łatwy dostęp do natywnych bibliotek współdzielonych bez
+pisania czegokolwiek co nie jest kodem Javy - nie jest potrzebne JNI
+ani kod natywny.
 
 %prep
 %setup -q -n %{srcname}-%{version}.%{snap}
 
 # Segfaults for us and for fedora
-rm test/com/sun/jna/DirectTest.java
+%{__rm} test/com/sun/jna/DirectTest.java
 
 %build
-# %ant jar contrib-jars %{?with_tests:tests}
-%ant 
+%ant jar contrib-jars %{?with_tests:test}
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -76,6 +80,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.10  2011/07/23 07:58:32  qboosh
+- fixed tests bcond and its BRs
+- translated pl into Polish
+
 Revision 1.9  2011/01/23 23:14:52  sparky
 - BR: unzip
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/java-jna/java-jna.spec?r1=1.9&r2=1.10&f=u



More information about the pld-cvs-commit mailing list