%def_with java

Name: test
Version: 0.0.1
Release: alt1

Summary: Test
License: GPL
Group: Development/Other
Url: http://wiki.sisyphus.ru/

Packager: Sviatoslav Sviridov <svd@altlinux.ru>

%if_with java
BuildPreReq: rpm-build-java
%endif

%description
This is test package to test something...

%prep
echo "%%_javadir is \"%_javadir\""

%build
%if_with java

%endif

%install
%__mkdir_p %buildroot%_javadir
%if_with java
:> %buildroot%_javadir/test.jar
%endif

%files
%if_with java
%_javadir/test.jar
%endif

%changelog
* Wed Nov 30 2005 Sviatoslav Sviridov <svd@altlinux.ru> 0.0.1-alt1
- Initial build
