packages: ppl/ppl.spec - build java binding

qboosh qboosh at pld-linux.org
Wed Mar 14 18:45:53 CET 2012


Author: qboosh                       Date: Wed Mar 14 17:45:53 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- build java binding

---- Files affected:
packages/ppl:
   ppl.spec (1.4 -> 1.5) 

---- Diffs:

================================================================
Index: packages/ppl/ppl.spec
diff -u packages/ppl/ppl.spec:1.4 packages/ppl/ppl.spec:1.5
--- packages/ppl/ppl.spec:1.4	Tue Mar 13 19:36:56 2012
+++ packages/ppl/ppl.spec	Wed Mar 14 18:45:48 2012
@@ -6,7 +6,7 @@
 # - proprietary: cicstus prolog
 #
 # Conditional build:
-%bcond_with	java	# java bindings
+%bcond_without	java	# java bindings
 %bcond_with	ocaml	# ocaml bindings
 %bcond_with	gprolog	# gprolog interface
 %bcond_with	swi_pl	# swi_prolog interface
@@ -311,10 +311,9 @@
 %endif
 
 %configure \
-	--enable-interfaces="c++ c %{?with_gprolog:gnu_prolog} %{?with_swi_pl:swi_prolog} %{?with_yap_pl:yap_prolog} %{?with_java:java}" \
-	--enable-shared \
 	--docdir=%{_docdir}/%{name}-%{version} \
 	--disable-rpath \
+	--enable-interfaces="c++ c %{?with_ocaml:ocaml} %{?with_java:java} %{?with_gprolog:gnu_prolog} %{?with_swi_pl:swi_prolog} %{?with_yap_pl:yap_prolog}"
 
 %{__make}
 
@@ -333,7 +332,7 @@
 	$RPM_BUILD_ROOT%{_javadocdir}/%{name}-java
 %endif
 
-%if %{with gprolog} || %{with swi_pl} || %{with yap_pl}
+%if %{with java} || %{with gprolog} || %{with swi_pl} || %{with yap_pl}
 %{__rm} $RPM_BUILD_ROOT%{_libdir}/%{name}/*.la
 %endif
 
@@ -450,7 +449,6 @@
 
 %files -n ocaml-ppl-devel
 %defattr(644,root,root,755)
-%doc %{_docdir}/%{name}-%{version}/ppl-user-ocaml-interface-%{version}.ps.gz
 %doc %{_docdir}/%{name}-%{version}/ppl-user-ocaml-interface-%{version}.pdf
 %doc %{_docdir}/%{name}-%{version}/ppl-user-ocaml-interface-%{version}-html/
 %{_libdir}/%{name}/libppl_ocaml.a
@@ -467,7 +465,6 @@
 %files -n java-ppl-javadoc
 %defattr(644,root,root,755)
 %doc %{_docdir}/%{name}-%{version}/ppl-user-java-interface-%{version}.pdf
-%doc %{_docdir}/%{name}-%{version}/ppl-user-java-interface-%{version}.ps.gz
 %{_javadocdir}/%{name}-java
 %endif
 
@@ -477,6 +474,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.5  2012/03/14 17:45:48  qboosh
+- build java binding
+
 Revision 1.4  2012/03/13 18:36:56  qboosh
 - updated to 0.12 (note: new libppl soname; pwl has been merged into main lib)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/ppl/ppl.spec?r1=1.4&r2=1.5&f=u



More information about the pld-cvs-commit mailing list