]> git.pld-linux.org Git - packages/cgiirc.git/blobdiff - cgiirc.spec
- up to 0.5.3
[packages/cgiirc.git] / cgiirc.spec
index 9b07dbdbf62a95876a3f4ce7d53f74f939f5cf81..7f891e61e7a5caf9ee3b420564663c1b15db0a2c 100644 (file)
@@ -1,14 +1,16 @@
+%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
-Release:       1
-License:       GPL
+Version:       0.5.3
+Release:       2
+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: ed0be082c88b5760ba3818f33b3789e9
 URL:           http://cgiirc.sourceforge.net/doc.html
+BuildRequires: rpm-perlprov
 Requires:      webserver
-Requires:      perl
 Provides:      wwwirc
 Buildarch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -16,14 +18,14 @@ 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.
 
 %description -l pl
 Pakitet 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/home/services/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/home/services/httpd/cgi-bin
+cp ipaccess.example $RPM_BUILD_ROOT/home/services/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) /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/*
This page took 0.095896 seconds and 4 git commands to generate.