]> git.pld-linux.org Git - packages/cgiirc.git/commitdiff
- "Internet" spelling, gpm-friendly Source URL, revert /srv
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 16 Oct 2004 18:22:45 +0000 (18:22 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    cgiirc.spec -> 1.23

cgiirc.spec

index 401d7e58133503a07e501813ec08da830b1abda4..17410639bd05b3f89d42fff4d38148cfb93fd97d 100644 (file)
@@ -6,7 +6,7 @@ Version:        0.5.4
 Release:       1
 License:       GPL v2
 Group:         Applications/Networking
-Source0:       http://dl.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
+Source0:       http://dl.sourceforge.net/cgiirc/%{name}-%{version}.tar.gz
 # Source0-md5: c32ce6514626729ef8cf30cf7bd1a51e
 URL:           http://cgiirc.sourceforge.net/doc.html
 BuildRequires: rpm-perlprov
@@ -15,12 +15,14 @@ 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
 Pakiet ten zawiera CGIWEB, interfejs oparty na WWW do irca, pozwala
@@ -28,17 +30,17 @@ na obej
 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/srv/httpd/cgi-bin/
+install -d $RPM_BUILD_ROOT%{cgidir}
 
-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
+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) /srv/httpd/cgi-bin/cgiirc.config
-%config(noreplace) %verify(not size mtime md5) /srv/httpd/cgi-bin/ipaccess
-/srv/httpd/cgi-bin/*
+%config(noreplace) %verify(not size mtime md5) %{cgidir}/cgiirc.config
+%config(noreplace) %verify(not size mtime md5) %{cgidir}/ipaccess
+%{cgidir}/*
This page took 0.04902 seconds and 4 git commands to generate.