]> git.pld-linux.org Git - packages/cgiirc.git/blobdiff - cgiirc.spec
- www->WWW
[packages/cgiirc.git] / cgiirc.spec
index 9b07dbdbf62a95876a3f4ce7d53f74f939f5cf81..401d7e58133503a07e501813ec08da830b1abda4 100644 (file)
@@ -1,29 +1,31 @@
-Summary:       The CGI:IRC, chat on irc through www
-Summary(pl):   CGI:IRC, rozmowy irc poprzez www
+%include       /usr/lib/rpm/macros.perl
+Summary:       The CGI:IRC, chat on irc through WWW
+Summary(pl):   CGI:IRC, rozmowy irc poprzez WWW
 Name:          cgiirc
-Version:       0.4.2
+Version:       0.5.4
 Release:       1
-License:       GPL
+License:       GPL v2
 Group:         Applications/Networking
-Source0:       ftp://ftp.sourceforge.net/pub/sourceforge/%{name}/%{name}-%{version}.tar.gz
+Source0:       http://dl.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
+# Source0-md5: c32ce6514626729ef8cf30cf7bd1a51e
 URL:           http://cgiirc.sourceforge.net/doc.html
+BuildRequires: rpm-perlprov
 Requires:      webserver
-Requires:      perl
 Provides:      wwwirc
-Buildarch:     noarch
+BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %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 instaled client (i.e. internet cafes, offices where
+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 zaistalowanego klienta (np
+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.
@@ -33,20 +35,18 @@ przegl
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT/home/httpd/{html/%{name},cgi-bin,cgi-bin/formats} \
-       $RPM_BUILD_ROOT%{_datadir}/docs/%{name}
+install -d $RPM_BUILD_ROOT/srv/httpd/cgi-bin/
 
-install html/*  $RPM_BUILD_ROOT/home/httpd/html/%{name}
-cp -avR cgi-bin/* $RPM_BUILD_ROOT/home/httpd/cgi-bin
+cp -avR {cgiirc.config,*.cgi,formats,images,interfaces,modules} $RPM_BUILD_ROOT/srv/httpd/cgi-bin
+cp ipaccess.example $RPM_BUILD_ROOT/srv/httpd/cgi-bin/ipaccess
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS COPYING CHANGES README TODO doc.html
+%doc README docs
 %defattr(755,http,http,755)
-%config (noreplace) /home/httpd/cgi-bin/config
-%config (noreplace) /home/httpd/cgi-bin/ipaccess
-/home/httpd/html/%{name}
-/home/httpd/cgi-bin/*.cgi
+%config(noreplace) %verify(not size mtime md5) /srv/httpd/cgi-bin/cgiirc.config
+%config(noreplace) %verify(not size mtime md5) /srv/httpd/cgi-bin/ipaccess
+/srv/httpd/cgi-bin/*
This page took 0.063882 seconds and 4 git commands to generate.