+#
+# THIS IS TEMPLATE PACKAGE, CLEANUP UNUSED FRAGMENTS BEFORE SUBMITTING TO CVS
+#
+# Conditional build:
+%bcond_without javadoc # don't build javadoc
+%bcond_without source # don't build source jar
+%bcond_without tests # don't build and run tests
+
+# To force building with specific JDK implementation
+# without replacing currently installed /usr/bin/javac, etc.
+#%%define use_jdk java-gcj-compat
+#%%buildrequires_jdk
+#BuildRequires: rpmbuild(macros) >= 1.556
+
+# Name without java- prefix. If it is application, not a library,
+# just do s/srcname/name/g
+%define srcname -