summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortrojan2001-08-10 13:32:00 (GMT)
committercvs2git2012-06-24 12:13:13 (GMT)
commitb9233fe5d302f6acae8fe725bf813d2ef0392b40 (patch)
treec78b97c04d628ae177c508703ee35ae24febc3ef
parentea6e851b67152f9f0213ee6870da0a5468d6b3d9 (diff)
downloadlibgii-b9233fe5d302f6acae8fe725bf813d2ef0392b40.zip
libgii-b9233fe5d302f6acae8fe725bf813d2ef0392b40.tar.gz
- changed polish description
- added BuildRequires: autoconf, automake - conditional pthreads support (not tested yet) - conditional debug support Changed files: libgii.spec -> 1.19
-rw-r--r--libgii.spec15
1 files changed, 13 insertions, 2 deletions
diff --git a/libgii.spec b/libgii.spec
index 03a7af3..dabe100 100644
--- a/libgii.spec
+++ b/libgii.spec
@@ -1,3 +1,7 @@
+#
+# Conditional build:
+# _with_pthreads - with pthreads support
+#
Summary: General Input Interface library fo LibGGI
Summary(pl): Biblioteka do obsługi urządzeń wejściowych dla GGI
Name: libgii
@@ -13,6 +17,8 @@ Source0: ftp://ftp.ggi-project.org/pub/ggi/ggi/current/%{name}-%{version}.src.ta
Patch0: %{name}-autoconf.patch
URL: http://www.ggi-project.org/
BuildRequires: XFree86-devel
+BuildRequires: autoconf
+BuildRequires: automake
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define _sysconfdir /etc
@@ -25,7 +31,11 @@ for all possible input sources. However we are not there yet. The API
is far from set in stone yet, and is likely to change.
%description -l pl
-Biblioteka do obsługi urządzeń wejściowych dla GGI.
+Biblioteka LibGII (General Intput Interface) została przewidziana do
+obsługi urządzeń wejściowych, podobnie jak LibGGI (General Graphics
+Interface) - graficznych urzadzeń wyjściowych. Głównym celem biblioteki
+jest dostarczenie jednolitego i prostego w użyciu API dla wszystkich
+możliwych urządzeń wejściowych.
%package X11
Summary: LibGII X11 input
@@ -66,7 +76,8 @@ Pliki potrzebne do programowania z wykorzystaniem LibGII.
%build
./autogen.sh
%configure \
- --disable-debug
+ %{?_with_pthreads:--enable-mutexes=pthread} \
+ %{?!debug:--disable-debug}
%{__make}
%install