From: hunter Date: Sat, 12 Feb 2005 13:20:26 +0000 (+0000) Subject: -no arch X-Git-Url: http://git.pld-linux.org/?p=packages%2Fdrraw.git;a=commitdiff_plain;h=01c889ed0a354f31751f62b91d7191efad95f0c9 -no arch -stbr svp Changed files: drraw.spec -> 1.3 --- diff --git a/drraw.spec b/drraw.spec index c73c0ac..4ad6290 100644 --- a/drraw.spec +++ b/drraw.spec @@ -8,6 +8,7 @@ Group: Applications/Databases Source0: http://web.taranis.org/drraw/dist/%{name}-%{version}.tgz URL: http://web.taranis.org/drraw/ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) +BuildArch: noarch %description drraw is a simple web based presentation front-end for RRDtool that @@ -24,15 +25,22 @@ pozwala w spos Definicja wykresu mo¿e byæ zmieniona na szablon, a ten naniesiony na wiele plików RRD. +%prep %setup -q + %install rm -rf $RPM_BUILD_ROOT -install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} +install -d $RPM_BUILD_ROOT/home/services/html/cgi-bin/icons +install drraw.{cgi,conf} $RPM_BUILD_ROOT/home/services/html/cgi-bin/ +install icons/* $RPM_BUILD_ROOT/home/services/html/cgi-bin/icons/ %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) -%doc CHANGES CONTRIBUTORS README TODO doc/*.html +%doc CHANGES INSTALL LICENSE README.EVENTS WISHLIST +%attr (755,root,root) /home/services/html/cgi-bin/drraw.cgi +%attr (644,root,root) /home/services/html/cgi-bin/icons/* +%attr(640,root,http) %config(noreplace) %verify(not size mtime md5) /home/services/html/cgi-bin/drraw.conf