]> git.pld-linux.org Git - packages/ekg.git/blame - ekg.spec
- updated to 1.3.2
[packages/ekg.git] / ekg.spec
CommitLineData
885cd040
JB
1#
2# Conditional build:
52bc40da 3%bcond_without aspell # without spell checking
885cd040 4%bcond_without voip # without VoIP support
d9c5c558 5%bcond_without python # with python support
5914ec6b 6%bcond_without pthread # build with Posix threads support
885cd040 7%bcond_with ioctl_daemon # with ioctl_daemon (suid root)
bbc3cb88 8%bcond_with lock_reason # with lock_reason patch
885cd040 9#
16fa9a8a 10Summary: A client compatible with Gadu-Gadu
1dbf50e3
ER
11Summary(de.UTF-8): Ein Cliente kompatibel mit Gadu-Gadu
12Summary(es.UTF-8): Un cliente compatible con Gadu-Gadu
13Summary(it.UTF-8): Un cliente compatibile con Gadu-Gadu
14Summary(pl.UTF-8): Klient kompatybilny z Gadu-Gadu
16fa9a8a 15Name: ekg
6b2c9162
AG
16Version: 1.8
17Release: 1.rc1.2
68bd1e98 18Epoch: 4
c3065a30 19License: GPL v2
d26d141d 20Group: Applications/Communications
6b2c9162
AG
21Source0: http://ekg.chmurka.net/%{name}-%{version}rc1.tar.gz
22# Source0-md5: ae98f336a71f7aad446a3f620b672441
6d45143b 23Source1: %{name}.conf
abccf4f1 24Patch0: %{name}-LDFLAGS.patch
25Patch1: %{name}-lock_reason.patch
20951c01 26URL: http://ekg.chmurka.net/
0c6f31ba 27BuildRequires: %{_bindir}/perl
52bc40da 28%{?with_aspell:BuildRequires: aspell-devel}
cc0909ea
JB
29BuildRequires: autoconf
30BuildRequires: automake
d0076d73 31BuildRequires: libgadu-devel >= 4:1.7.0
dad7039f 32%{?with_voip:BuildRequires: libgsm-devel}
7a60042e 33BuildRequires: libjpeg-devel
16f43e8b 34BuildRequires: ncurses-devel
b4f5b154 35BuildRequires: openssl-devel >= 0.9.7d
e725a65a
KK
36%if %{with python}
37BuildRequires: python
38BuildRequires: python-devel
39%endif
cc0909ea
JB
40BuildRequires: readline-devel
41BuildRequires: zlib-devel
d7b15c2d 42Requires: libgadu >= 4:1.7.0
16fa9a8a 43BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
0f2b10a8 44
45%description
782236ba
AG
46EKG ("Eksperymentalny Klient Gadu-Gadu") is an open source gadu-gadu
47client for UNIX systems. Gadu-Gadu is an instant messaging program,
48very popular in Poland.
49
50EKG features include:
51 - irssi-like ncurses interface
52 - sending and receiving files
53 - voice conversations
54 - launching shell commands on certain events
55 - reading input from pipe
56 - python scripting support
57 - speech synthesis (using an external program)
58 - encryption support
59
60Please note that the program is not internationalized and all messages
b1cbd258 61are in Polish (although the commands are in English).
0f2b10a8 62
7cf2b953 63%description -l de.UTF-8
9cb95678 64Ein Cliente kompatibel mit Gadu-Gadu.
65
7cf2b953 66%description -l es.UTF-8
9cb95678 67Un cliente compatible con Gadu-Gadu.
a1e26334 68
7cf2b953 69%description -l it.UTF-8
9cb95678 70Un cliente compatibile con Gadu-Gadu.
83aa91cc 71
7cf2b953 72%description -l pl.UTF-8
782236ba 73EKG ("Eksperymentalny Klient Gadu-Gadu") jest open source'owym
7cf2b953 74klientem gadu-gadu dla systemów uniksowych. Gadu-Gadu to popularny w
4dd31a27 75Polsce komunikator internetowy.
782236ba 76
7cf2b953
JR
77Możliwości EKG:
78 - interfejs użytkownika podobny do irssi,
79 - wysyłanie i odbieranie plików,
80 - rozmowy głosowe,
81 - uruchamianie poleceń powłoki w określonych sytuacjach,
82 - wczytywanie wejścia z potoku,
83 - wsparcie dla skryptów w języku Python,
84 - synteza mowy (z użyciem zewnętrznego programu),
782236ba
AG
85 - wsparcie dla szyfrowania.
86
7cf2b953
JR
87Program nie jest umiędzynarodowiony i wszystkie komunikaty są po
88polsku (jednak komendy są w języku angielskim).
83aa91cc 89
0f2b10a8 90%prep
6b2c9162 91%setup -q -n %{name}-%{version}rc1
abccf4f1 92%patch0 -p0
bbc3cb88 93%if %{with lock_reason}
abccf4f1 94%patch1 -p1
bbc3cb88 95%endif
0f2b10a8 96
97%build
c56e51fa 98%{__aclocal} -I m4
20e60f56 99%{__autoheader}
100%{__autoconf}
8ef2af65 101%configure \
9edc2338 102 CFLAGS_LIBGADU="%{rpmcflags}" \
5c392f9b 103 --enable-dynamic \
cc801eba
MK
104 --enable-shared \
105 --enable-static \
e43df637 106%if %{with pthread}
2079e14d 107 --with-pthread \
e43df637
MM
108%else
109 --without-pthread \
110%endif
7a60042e 111 --without-bind \
6b2c9162 112 --disable-ui-gtk \
dad7039f 113 %{?with_python:--with-python} \
db66f667 114 %{!?with_voip:--without-libgsm} \
52bc40da 115 %{?with_aspell:--enable-aspell} \
eba7c257 116 %{?with_ioctl_daemon:--enable-ioctld}
885cd040 117
9edc2338 118%{__make}
0f2b10a8 119
dad7039f 120%if %{with ioctl_daemon}
885cd040 121%{__make} -C src ioctld
7cf2fdf8 122%endif
123
0f2b10a8 124%install
125rm -rf $RPM_BUILD_ROOT
20e60f56 126install -d $RPM_BUILD_ROOT%{_sysconfdir}
127
d285d758
PG
128%{__make} install install-ekl2 \
129 DESTDIR=$RPM_BUILD_ROOT
0f2b10a8 130
885cd040 131install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}
0f2b10a8 132
8775f7e8
ŁJM
133# For libgadu-devel
134
260759fd
JB
135rm -f examples/Makefile examples/Makefile.in examples/.cvsignore
136rm -rf examples/CVS
43a3a70b 137
dad7039f 138%if %{with ioctl_daemon}
cb122163 139install src/ioctld $RPM_BUILD_ROOT%{_bindir}
443240d5
JK
140%endif
141
0f2b10a8 142%clean
143rm -rf $RPM_BUILD_ROOT
144
145%files
146%defattr(644,root,root,755)
6b2c9162 147%doc docs/{files,gdb,python,sim,themes,ui-ncurses,vars,voip}.txt
45efdda4 148%{?with_aspell:%doc docs/slownik.txt}
d03bc2d5 149%doc ChangeLog docs/{FAQ,README,TODO,ULOTKA} docs/emoticons.{ansi,sample}
0f7cf26d 150%attr(755,root,root) %{_bindir}/e*
dad7039f 151%{?with_ioctl_daemon:%attr(4755,root,root) %{_bindir}/ioctld}
059bcb29 152%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*.conf
0c754970 153%{_datadir}/ekg
16fa9a8a
TP
154%{_mandir}/man1/*
155%lang(pl) %{_mandir}/pl/man1/*
This page took 0.103555 seconds and 4 git commands to generate.