]> git.pld-linux.org Git - packages/elektra.git/commitdiff
- disable java by default (how to convince maven to use local packages?) auto/th/elektra-0.8.23-1
authorJakub Bogusz <qboosh@pld-linux.org>
Thu, 28 Jun 2018 17:03:41 +0000 (19:03 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Thu, 28 Jun 2018 17:03:41 +0000 (19:03 +0200)
elektra.spec

index 341fb6f6874eeabb9da2c8798ee327737a3d7e4d..90af9ee06073245fcdd4951e35e99c8e91dd86f9 100644 (file)
@@ -1,14 +1,16 @@
-# TODO: use system nickel (1.1.0, in src/plugins/ni), inih (r29, src/plugins/ini)
+# TODO:
+# - force maven to work without network, enable java
 # - haskell plugin (BR: ghc >= 8.0.0, cabal)
 # - rest-backend (BR: cppcms boost >= 1.45 libjwt openssl)
 # - rest-frontend, web (BR: npm)
 # - haskell plugin (BR: ghc >= 8.0.0, cabal)
 # - rest-backend (BR: cppcms boost >= 1.45 libjwt openssl)
 # - rest-frontend, web (BR: npm)
+# - use system nickel (1.1.0, in src/plugins/ni), inih (r29, src/plugins/ini)
 #
 # Conditonal build:
 %bcond_with    full            # "full" variant (libelektra-full with all plugins linked in)
 %bcond_without gen             # gen tool packaging
 %bcond_without glib            # GLib/GObject/GSetttings (+ GI) bindings
 %bcond_without gsettings       # GSetttings module
 #
 # Conditonal build:
 %bcond_with    full            # "full" variant (libelektra-full with all plugins linked in)
 %bcond_without gen             # gen tool packaging
 %bcond_without glib            # GLib/GObject/GSetttings (+ GI) bindings
 %bcond_without gsettings       # GSetttings module
-%bcond_without java            # Java support: JNA binding and JNI plugin (needs Java 8)
+%bcond_with    java            # Java support: JNA binding and JNI plugin (needs Java 8)
 %bcond_without lua             # Lua (5.2) support: bindings and plugin
 %bcond_without python2         # Python 2 support: bindings and plugin
 %bcond_without python3         # Python 3 support: bindings and plugin
 %bcond_without lua             # Lua (5.2) support: bindings and plugin
 %bcond_without python2         # Python 2 support: bindings and plugin
 %bcond_without python3         # Python 3 support: bindings and plugin
@@ -51,7 +53,8 @@ BuildRequires:        gettext-tools
 %{?with_gsettings:BuildRequires:       glib2-devel >= 1:2.42}
 %{?with_glib:BuildRequires:    gobject-introspection-devel >= 1.38}
 # for binding
 %{?with_gsettings:BuildRequires:       glib2-devel >= 1:2.42}
 %{?with_glib:BuildRequires:    gobject-introspection-devel >= 1.38}
 # for binding
-%{?with_java:BuildRequires:    java-jna}
+%{?with_java:BuildRequires:    java-jna >= 4.5.0}
+%{?with_java:BuildRequires:    java-junit >= 4.12}
 %{?with_java:BuildRequires:    jdk >= 1.8}
 # jawt for plugin
 %{?with_java:BuildRequires:    jre-X11 >= 1.8}
 %{?with_java:BuildRequires:    jdk >= 1.8}
 # jawt for plugin
 %{?with_java:BuildRequires:    jre-X11 >= 1.8}
@@ -64,6 +67,8 @@ BuildRequires:        libxml2-devel >= 2.0
 BuildRequires: libxslt-progs
 %{?with_lua:BuildRequires:     lua52-devel >= 5.2}
 %{?with_java:BuildRequires:    maven}
 BuildRequires: libxslt-progs
 %{?with_lua:BuildRequires:     lua52-devel >= 5.2}
 %{?with_java:BuildRequires:    maven}
+%{?with_java:BuildRequires:    maven-plugin-compiler >= 3.6.0}
+%{?with_java:BuildRequires:    maven-plugin-surefire >= 2.19.1}
 BuildRequires: openssl-devel
 BuildRequires: pkgconfig
 %{?with_python2:BuildRequires: python-devel >= 1:2.7}
 BuildRequires: openssl-devel
 BuildRequires: pkgconfig
 %{?with_python2:BuildRequires: python-devel >= 1:2.7}
This page took 0.139454 seconds and 4 git commands to generate.