2 %include /usr/lib/rpm/macros.perl
3 Summary: The CGI:IRC, chat on irc through WWW
4 Summary(pl): CGI:IRC, rozmowy irc poprzez WWW
9 Group: Applications/Networking
10 Source0: http://dl.sourceforge.net/cgiirc/%{name}-%{version}.tar.gz
11 # Source0-md5: 19dde3e376b461bf601333bf99d923c4
12 URL: http://cgiirc.sourceforge.net/
13 BuildRequires: rpm-perlprov
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 %define cgidir /home/services/httpd/cgi-bin
22 This package contains CGIIRC, a web based interface to irc, it allows
23 to bypass firewalls with blocked ports other then http, and use irc on
24 machines without installed client (i.e. internet cafes, offices where
25 you have no control of installed software etc.). All you need on the
26 client side is a WWW browser and Internet connection.
29 Pakiet ten zawiera CGIWEB, interfejs oparty na WWW do irca, pozwala na
30 obej¶cie zapór sieciowych blokuj±cych dostêp do portów innych ni¿
31 http, i u¿ywanie irca na maszynach bez zainstalowanego klienta (np
32 kafejkach, biurach gdzie nie ma siê wp³ywu na zainstalowane
33 oprogramowanie). Wszystko co jest wymagane po stronie klienta to
34 przegl±darka i pod³±czenie do Internetu.
40 rm -rf $RPM_BUILD_ROOT
41 install -d $RPM_BUILD_ROOT%{cgidir}/%{name}
43 cp -avR {cgiirc.*,*.cgi,.htaccess,formats,images,interfaces,modules} $RPM_BUILD_ROOT%{cgidir}/%{name}
44 cp ipaccess.example $RPM_BUILD_ROOT%{cgidir}/%{name}/ipaccess
47 rm -rf $RPM_BUILD_ROOT
50 %defattr(644,root,root,755)
52 %dir %{cgidir}/%{name}
53 %{cgidir}/%{name}/formats
54 %{cgidir}/%{name}/images
55 %{cgidir}/%{name}/interfaces
56 %{cgidir}/%{name}/modules
57 %{cgidir}/%{name}/cgiirc.config.full
58 %config(noreplace) %verify(not md5 mtime size) %{cgidir}/%{name}/.htaccess
59 %config(noreplace) %verify(not md5 mtime size) %{cgidir}/%{name}/cgiirc.config
60 %config(noreplace) %verify(not md5 mtime size) %{cgidir}/%{name}/ipaccess
61 %attr(755,root,root) %{cgidir}/%{name}/*.cgi