]> git.pld-linux.org Git - packages/ekg.git/blobdiff - ekg.spec
- up to final 1.6; dropped yesterday_snapshot support
[packages/ekg.git] / ekg.spec
index 0daaa6d6b7416dae3fa19841f5dc301f6ded625d..93a2941e0f8c80fbe26f8445b246b17d8896d138 100644 (file)
--- a/ekg.spec
+++ b/ekg.spec
@@ -3,6 +3,7 @@
 %bcond_without aspell          # without spell checking
 %bcond_without voip            # without VoIP support
 %bcond_without python          # with python support
+%bcond_without pthread         # build with Posix threads support
 %bcond_with    ioctl_daemon    # with ioctl_daemon (suid root)
 #
 Summary:       A client compatible with Gadu-Gadu
@@ -11,15 +12,14 @@ Summary(es):        Un cliente compatible con Gadu-Gadu
 Summary(it):   Un cliente compatibile con Gadu-Gadu
 Summary(pl):   Klient kompatybilny z Gadu-Gadu
 Name:          ekg
-Version:       1.5
-Release:       2
+Version:       1.6
+Release:       1
 Epoch:         4
 License:       GPL v2
 Group:         Applications/Communications
 Source0:       http://dev.null.pl/ekg/%{name}-%{version}.tar.gz
-# Source0-md5: 721ebfe7b13e9531b30d558465e6695f
+# Source0-md5: 1094eee5062d9b9900c4b28bd68fb564
 Source1:       %{name}.conf
-Patch0:                %{name}-kadu-0_3_6.patch
 URL:           http://dev.null.pl/ekg/
 %{?with_aspell:BuildRequires:  aspell-devel}
 BuildRequires: autoconf
@@ -29,13 +29,31 @@ BuildRequires:      libjpeg-devel
 BuildRequires: ncurses-devel
 BuildRequires: openssl-devel >= 0.9.7d
 BuildRequires: %{_bindir}/perl
-%{?with_python:BuildRequires:  python-devel}
+%if %{with python}
+BuildRequires: python
+BuildRequires: python-devel
+%endif
 BuildRequires: readline-devel
 BuildRequires: zlib-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-A client compatible with Gadu-Gadu.
+EKG ("Eksperymentalny Klient Gadu-Gadu") is an open source gadu-gadu
+client for UNIX systems. Gadu-Gadu is an instant messaging program,
+very popular in Poland.
+
+EKG features include:
+  - irssi-like ncurses interface
+  - sending and receiving files
+  - voice conversations
+  - launching shell commands on certain events
+  - reading input from pipe
+  - python scripting support
+  - speech synthesis (using an external program)
+  - encryption support
+
+Please note that the program is not internationalized and all messages
+are in Polish (although the commands are in English).
 
 %description -l de
 Ein Cliente kompatibel mit Gadu-Gadu.
@@ -47,7 +65,22 @@ Un cliente compatible con Gadu-Gadu.
 Un cliente compatibile con Gadu-Gadu.
 
 %description -l pl
-Klient kompatybilny z Gadu-Gadu.
+EKG ("Eksperymentalny Klient Gadu-Gadu") jest open source'owym
+klientem gadu-gadu dla systemów uniksowych. Gadu-Gadu to popularny w
+Polsce komunikator internetowy.
+
+Mo¿liwo¶ci EKG:
+  - interfejs u¿ytkownika podobny do irssi,
+  - wysy³anie i odbieranie plików,
+  - rozmowy g³osowe,
+  - uruchamianie poleceñ pow³oki w okre¶lonych sytuacjach,
+  - wczytywanie wej¶cia z potoku,
+  - wsparcie dla skryptów w jêzyku Python,
+  - synteza mowy (z u¿yciem zewnêtrznego programu),
+  - wsparcie dla szyfrowania.
+
+Program nie jest umiêdzynarodowiony i wszystkie komunikaty s± po
+polsku (jednak komendy s± w jêzyku angielskim).
 
 %package -n libgadu
 Summary:       libgadu library
@@ -124,11 +157,8 @@ Statyczna biblioteka libgadu.
 
 %prep
 %setup -q
-#%patch0 -p1
 
 %build
-sed -i -e 's/#define.*GG_LIBGADU_VERSION.*/#define GG_LIBGADU_VERSION "%{version}.%{snap}"/g' lib/libgadu.h
-
 rm -f missing
 %{__aclocal} -I m4
 %{__autoheader}
@@ -136,7 +166,11 @@ rm -f missing
 %configure \
        --enable-shared \
        --enable-static \
+%if %{with pthread}
        --with-pthread \
+%else
+       --without-pthread \
+%endif
        --without-bind \
        %{?with_python:--with-python} \
        %{!?with_voip:--without-libgsm} \
@@ -144,7 +178,7 @@ rm -f missing
        %{?with_ioctl_daemon:--enable-ioctld}
 
 %{__make} \
-       CC="%{__cc} %{rpmcflags} -Wall -I%{_includedir}/ncurses"
+       CC="%{__cc}  -Wall -I%{_includedir}/ncurses"
 
 %if %{with ioctl_daemon}
 %{__make} -C src ioctld
This page took 0.163887 seconds and 4 git commands to generate.