3 %bcond_with privacy # more privacy
5 Summary: Tk Jabber client
6 Summary(pl.UTF-8): Klient Jabbera oparty o Tk
9 Release: 1%{?with_privacy:.privacy}
11 Group: Applications/Communications
12 Source0: http://files.jabber.ru/tkabber/%{name}-%{version}.tar.gz
13 # Source0-md5: ee3b1ad5e044237b36cffbf3020a4767
14 Source1: %{name}.desktop
16 Patch0: %{name}-privacy.patch
17 URL: http://tkabber.jabber.ru/
18 BuildRequires: sed >= 4.0
19 Requires: tcl >= 8.3.4-7
20 Requires: tcl-tdom >= 0.8.2
21 Requires: tcllib >= 1.2
24 Requires: tk-BWidget >= 1.3
25 Suggests: tcl-tls >= 1.4.1
28 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31 Tkabber provides a Tcl/Tk interface to the Jabber instant messaging
34 Although relatively new software, Tkabber is fully-featured. Its
43 You may need additional packages for full funcionality:
44 - tk-Img, for more image file formats support
45 - tclgpgme, for end-to-end message encryption and signing
46 - tkXwin, for auto-away
48 %description -l pl.UTF-8
49 Tkabber udostępnia interfejs Tcl/Tk dla komunikatora Jabber.
51 Mimo że jest to dosyć nowy program, Tkabber ma duże możliwości,
57 i wiele, wiele więcej.
59 Do pełnej funkcjonalności mogą być potrzebne dodatkowe pakiety:
60 - tk-Img do obsługi większej liczby formatów plików,
61 - tcl-tls do szyfrowanych połączeń z serwerem,
62 - tclgpgme do podpisywania i szyfrowania wiadomości,
63 - tkXwin do auto-away.
67 %{?with_privacy:%patch0 -p1}
69 sed -i -e 's#ifaceck##g' Makefile
72 rm -rf $RPM_BUILD_ROOT
73 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
77 DESTDIR="$RPM_BUILD_ROOT"
79 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
80 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
82 rm -rf $RPM_BUILD_ROOT%{_docdir}
85 rm -rf $RPM_BUILD_ROOT
88 %defattr(644,root,root,755)
89 %doc ChangeLog AUTHORS README examples
90 %attr(755,root,root) %{_bindir}/*
92 %{_desktopdir}/*.desktop