2 Summary: ggrelay - Gadu-Gadu instant messenger transparent proxy with DCC support
3 Summary(pl): ggrelay - przezroczyste proxy dla komunikatora Gadu-Gadu z obs³ug± DCC
9 Group: Networking/Utilities
10 Source0: http://dl.sourceforge.net/%{name}/%{name}-%{version}-%{_rc}.tar.gz
11 # Source0-md5: 7dd4ce85fdb72ad7c7f5d4156f386dc4
12 Patch0: %{name}-init.patch
14 Requires(post,preun): /sbin/chkconfig
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 This small application is a simple GG relaying agent. This means, that
19 if you are a network administrator and applying masquerade on your
20 server, it's likely, that your customers would like to establish
21 direct connections over the masquerade using GG. This program is
22 intended to be the solution.
25 Ta ma³a aplikacja jest prostym agentem przekazuj±cym GG. Oznacza to,
26 ¿e pozwala na u¿ywanie transerów plików pomiêdzy u¿ytkownikami
27 Gadu-Gadu, którzy schowani s± za NAT-em (aka maskarad±).
30 %setup -q -n %{name}-%{version}-%{_rc}
35 --prefix="$RPM_BUILD_ROOT%{_prefix}"
39 rm -rf $RPM_BUILD_ROOT
40 install -d $RPM_BUILD_ROOT
43 ./install.sh --rpmbuild "$RPM_BUILD_ROOT"
46 rm -rf $RPM_BUILD_ROOT
49 /sbin/chkconfig --add ggrelay
50 if [ -f /var/lock/subsys/ggrelay ]; then
51 /etc/rc.d/init.d/ggrelay restart 1>&2
54 echo "Installation completed. Please adjust your /etc/ggrelay/ggrelay.conf"
55 echo "adding -o and possibly -i parameters."
56 echo "Then run \"/etc/rc.d/init.d/ggrelay start\" to start daemon."
62 if [ -f /var/lock/subsys/ggrelay ]; then
63 /etc/rc.d/init.d/ggrelay stop >&2
65 /sbin/chkconfig --del ggrelay
69 %defattr(644,root,root,755)
71 %attr(755,root,root) %{_sbindir}/ggrelay
72 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/ggrelay
73 %attr(754,root,root) /etc/rc.d/init.d/ggrelay