SPECS: brltty.spec - python and tcl bconds
sls
sls at pld-linux.org
Sat Jan 5 10:50:51 CET 2008
Author: sls Date: Sat Jan 5 09:50:51 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- python and tcl bconds
---- Files affected:
SPECS:
brltty.spec (1.19 -> 1.20)
---- Diffs:
================================================================
Index: SPECS/brltty.spec
diff -u SPECS/brltty.spec:1.19 SPECS/brltty.spec:1.20
--- SPECS/brltty.spec:1.19 Sat Jan 5 10:24:11 2008
+++ SPECS/brltty.spec Sat Jan 5 10:50:46 2008
@@ -11,6 +11,8 @@
%bcond_without apidocs # documentation generated with doxygen
%bcond_with java # java bindings
%bcond_with ocaml # ocaml bindings (NFY)
+%bcond_without python # python bindings
+%bcond_without tcl # tcl bindings
#
Summary: Braille display driver for Linux/Unix
Summary(pl.UTF-8): Sterownik do wyświetlaczy Braille'a
@@ -33,8 +35,9 @@
#BuildRequires: ncurses-devel
%{?with_ocaml:BuildRequires: ocaml}
#BuildRequires: pkgconfig
-#BuildRequires: python-devel
-#BuildRequires: tcl-devel
+%{?with_python:BuildRequires: python-Pyrex}
+%{?with_python:BuildRequires: rpm-pythonprov}
+%{?with_tcl:BuildRequires: tcl}
#BuildRequires: xorg-lib-libX*
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -136,6 +139,30 @@
%description -n brlapi-java -l pl.UTF-8
Biblioteka BrlAPI dla Javy.
+%package -n python-brlapi
+Summary: Python interface to BrlAPI
+Summary(pl.UTF-8): Pythonowy interfejs do BrlAPI
+Group: Libraries
+Requires: brlapi = %{version}-%{release}
+
+%description -n python-brlapi
+Python interface to BrlAPI.
+
+%description -n python-brlapi -l pl.UTF-8
+Pythonowy interfejs do BrlAPI.
+
+%package -n brlapi-tcl
+Summary: BrlAPI library for Tcl
+Summary(pl.UTF-8): Biblioteka BrlAPI dla Tcl
+Group: Libraries
+Requires: brlapi = %{version}-%{release}
+
+%description -n brlapi-tcl
+BrlAPI library for Tcl.
+
+%description -n brlapi-tcl -l pl.UTF-8
+Biblioteka BrlAPI dla Tcl.
+
%prep
%setup -q
@@ -496,6 +523,7 @@
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/libbrlapi.so.0.5
%attr(755,root,root) %{_libdir}/libbrlapi.so.0.5.1
+%dir %{_libdir}/brlapi-0.5.1
%files -n brlapi-devel
%defattr(644,root,root,755)
@@ -523,12 +551,29 @@
%{_javadir}/brlapi.jar
%endif
+%if %{with python}
+%files -n python-brlapi
+%defattr(644,root,root,755)
+%{py_sitedir}/Brlapi-*.egg-info
+%attr(755,root,root) %{py_sitedir}/brlapi.so
+%endif
+
+%if %{with tcl}
+%files -n brlapi-tcl
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/brlapi-0.5.1/libbrlapi_tcl.so
+%{_libdir}/brlapi-0.5.1/pkgIndex.tcl
+%endif
+
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <feedback at pld-linux.org>
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.20 2008-01-05 09:50:46 sls
+- python and tcl bconds
+
Revision 1.19 2008-01-05 09:24:11 sls
- new bcond java
- bconded creating apidoc
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/brltty.spec?r1=1.19&r2=1.20&f=u
More information about the pld-cvs-commit
mailing list