Author: sls                          Date: Sat Jan  5 09:24:16 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new bcond java
- bconded creating apidoc

---- Files affected:
SPECS:
   brltty.spec (1.18 -> 1.19) 

---- Diffs:

================================================================
Index: SPECS/brltty.spec
diff -u SPECS/brltty.spec:1.18 SPECS/brltty.spec:1.19
--- SPECS/brltty.spec:1.18      Sat Jan  5 09:24:40 2008
+++ SPECS/brltty.spec   Sat Jan  5 10:24:11 2008
@@ -5,9 +5,11 @@
 #      - ocaml bcond is useless now:
 #              Cannot find ocamlfind.
 #              BrlAPI Caml bindings will be compiled but not installed.
+#      - check java stuff
 #
 # Conditional build:
 %bcond_without apidocs         # documentation generated with doxygen
+%bcond_with    java            # java bindings
 %bcond_with    ocaml           # ocaml bindings (NFY)
 #
 Summary:       Braille display driver for Linux/Unix
@@ -26,7 +28,7 @@
 #BuildRequires:        bluez-devel
 %{?with_apidocs:BuildRequires: doxygen}
 #BuildRequires:        gpm-devel
-#BuildRequires:        java-?
+%{?with_java:BuildRequires:    jdk}
 #BuildRequires:        libusb-devel
 #BuildRequires:        ncurses-devel
 %{?with_ocaml:BuildRequires:   ocaml}
@@ -122,6 +124,18 @@
 Dokumentacja BrlAPI w formacie HTML generowane ze
 źrodeł brltty przez doxygen.
 
+%package -n brlapi-java
+Summary:       BrlAPI library for Java
+Summary(pl.UTF-8):     Biblioteka BrlAPI dla Javy
+Group:         Libraries
+Requires:      brlapi = %{version}-%{release}
+
+%description -n brlapi-java
+BrlAPI library for Java.
+
+%description -n brlapi-java -l pl.UTF-8
+Biblioteka BrlAPI dla Javy.
+
 %prep
 %setup -q
 
@@ -496,9 +510,18 @@
 %defattr(644,root,root,755)
 %{_libdir}/libbrlapi.a
 
+%if %{with apidocs}
 %files -n brlapi-apidocs
 %defattr(644,root,root,755)
 %doc Documents/BrlAPIref/html/*
+%endif
+
+%if %{with java}
+%files -n brlapi-java
+%defattr(644,root,root,755)
+%{_libdir}/java/libbrlapi_java.so
+%{_javadir}/brlapi.jar
+%endif
 
 %define        date    %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -506,6 +529,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.19  2008-01-05 09:24:11  sls
+- new bcond java
+- bconded creating apidoc
+
 Revision 1.18  2008-01-05 08:24:40  sls
 - ocaml bcond (NFY)
 
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/brltty.spec?r1=1.18&r2=1.19&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to