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