X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=cgiirc.spec;h=5dcd282bd3d8b93829c4069deb5f0b4770609713;hb=4f85191ba50c25fe61fb5a07fbcbc5b3f280100e;hp=f9254baa8dd0630b2840a4f5322e6d74c447121b;hpb=7befd9923d4ed763ae6c9ca31715c3dd6419084c;p=packages%2Fcgiirc.git diff --git a/cgiirc.spec b/cgiirc.spec index f9254ba..5dcd282 100644 --- a/cgiirc.spec +++ b/cgiirc.spec @@ -1,13 +1,13 @@ %include /usr/lib/rpm/macros.perl -Summary: The CGI:IRC, chat on irc through www -Summary(pl): CGI:IRC, rozmowy irc poprzez www +Summary: The CGI:IRC, chat on irc through WWW +Summary(pl): CGI:IRC, rozmowy irc poprzez WWW Name: cgiirc -Version: 0.5.3 -Release: 2 +Version: 0.5.5 +Release: 1 License: GPL v2 Group: Applications/Networking -Source0: http://dl.sourceforge.net/%{name}/%{name}-%{version}.tar.gz -# Source0-md5: ed0be082c88b5760ba3818f33b3789e9 +Source0: http://dl.sourceforge.net/cgiirc/%{name}-%{version}.tar.gz +# Source0-md5: 3b0dde79ab9e4712fb8115a2b056d7dc URL: http://cgiirc.sourceforge.net/doc.html BuildRequires: rpm-perlprov Requires: webserver @@ -15,30 +15,32 @@ Provides: wwwirc BuildArch: noarch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) +%define cgidir /home/services/httpd/cgi-bin + %description This package contains CGIIRC, a web based interface to irc, it allows to bypass firewalls with blocked ports other then http, and use irc on machines without installed client (i.e. internet cafes, offices where you have no control of installed software etc.). All you need on the -client side is a www browser and internet connection. +client side is a WWW browser and Internet connection. %description -l pl -Pakitet ten zawiera CGIWEB, interfejs oparty na www do irca, pozwala +Pakiet ten zawiera CGIWEB, interfejs oparty na WWW do irca, pozwala na obej¶cie zapór sieciowych blokuj±cych dostêp do portów innych ni¿ http, i u¿ywanie irca na maszynach bez zainstalowanego klienta (np kafejkach, biurach gdzie nie ma siê wp³ywu na zainstalowane oprogramowanie). Wszystko co jest wymagane po stronie klienta to -przegl±darka i pod³±czenie do internetu. +przegl±darka i pod³±czenie do Internetu. %prep %setup -q %install rm -rf $RPM_BUILD_ROOT -install -d $RPM_BUILD_ROOT/home/services/httpd/cgi-bin/ +install -d $RPM_BUILD_ROOT%{cgidir} -cp -avR {cgiirc.config,*.cgi,formats,images,interfaces,modules} $RPM_BUILD_ROOT/home/services/httpd/cgi-bin -cp ipaccess.example $RPM_BUILD_ROOT/home/services/httpd/cgi-bin/ipaccess +cp -avR {cgiirc.config,*.cgi,formats,images,interfaces,modules} $RPM_BUILD_ROOT%{cgidir} +cp ipaccess.example $RPM_BUILD_ROOT%{cgidir}/ipaccess %clean rm -rf $RPM_BUILD_ROOT @@ -47,6 +49,6 @@ rm -rf $RPM_BUILD_ROOT %defattr(644,root,root,755) %doc README docs %defattr(755,http,http,755) -%config(noreplace) %verify(not size mtime md5) /home/services/httpd/cgi-bin/cgiirc.config -%config(noreplace) %verify(not size mtime md5) /home/services/httpd/cgi-bin/ipaccess -/home/services/httpd/cgi-bin/* +%config(noreplace) %verify(not size mtime md5) %{cgidir}/cgiirc.config +%config(noreplace) %verify(not size mtime md5) %{cgidir}/ipaccess +%{cgidir}/*