]> git.pld-linux.org Git - packages/ggrelay.git/blob - ggrelay.spec
f51fac0f28481dbbedc5055dd2a50a3a50a5ac79
[packages/ggrelay.git] / ggrelay.spec
1 # $Revision: 1.1 $
2
3 Summary:        ggrelay is Gadu-Gadu instant messenger transparent proxy with DCC support.
4 Summary(pl):    ggrelay jest przezroczystym proxy dla komunkikatora Gadu-Gadu, ze swsparciem DCC.
5 Name:           ggrelay
6 Version:        1.0rc5
7 Release:        1
8 Group:          Networking/Utilities
9 License:        GPL
10 Source0:        %{name}-%{version}.tar.gz
11 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
12
13 %description
14 This small application is a simple GG relaying agent. This means, that
15 if you are a network administrator and applying masquerade on your
16 server, it's likely, that your customers would like to establish
17 direct connections over the masquerade using GG. This program is
18 intended to be the solution.
19
20 %description -l pl
21 Ta ma³a aplikacja jest prostym agentem przekazuj±cym GG. Oznacza to,
22 ¿e pozwala na u¿ywanie transerów plików pomiêdzy u¿ytkownikami
23 Gadu-Gadu, którzy schowani s± za NATem (aka maskarad±).
24
25 %prep
26 %setup -q
27
28 %build
29 %configure --prefix="$RPM_BUILD_ROOT%{_prefix}"
30 %{__make}
31
32 %install
33 rm -rf $RPM_BUILD_ROOT
34 rm -rf "$RPM_BUILD_ROOT"
35 mkdir "$RPM_BUILD_ROOT"
36 %{__make} install
37 ./install.sh --rpmbuild "$RPM_BUILD_ROOT"
38
39 %post
40 /sbin/chkconfig --add ggrelay
41
42 echo
43 echo "Installation completed. Please adjust your /etc/ggrelay/ggrelay.conf"
44 echo "adding -o and possibly -i parameters."
45 echo
46
47 %postun
48 /sbin/service sshd condrestart > /dev/null 2>&1 || :
49
50 %preun
51 if [ "$1" = 0 ]; then
52         /sbin/service ggrelay stop > /dev/null 2>&1 || :
53         /sbin/chkconfig --del ggrelay
54 fi
55
56 %clean
57 rm -rf "$RPM_BUILD_ROOT"
58
59 %files
60 %defattr(644,root,root,755)
61 %doc README COPYING
62 %config %{_sysconfdir}/ggrelay
63 /etc/rc.d/init.d/ggrelay
64 %attr(755,root,root) %{_sbindir}/ggrelay
65
66 $Log: ggrelay.spec,v $
67 Revision 1.1  2004-02-06 22:03:44  hunter
68 -initial pld spec.
This page took 0.03724 seconds and 2 git commands to generate.