2 # TODO: move do %{_datadir}/%{name} (use webapps)
7 Summary: Draw Round Robin Archives on the Web
8 Summary(pl.UTF-8): Drraw - rysowanie wykresów RRD na WWW
13 Group: Applications/Databases
14 Source0: http://web.taranis.org/drraw/dist/%{name}-%{version}%{_beta}.tar.gz
15 # Source0-md5: 704ac58d2b8d0141e38897b1fe86d8a0
16 Patch0: %{name}-conf.patch
17 URL: http://web.taranis.org/drraw/
18 BuildRequires: sed >= 4.0
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 drraw is a simple web based presentation front-end for RRDtool that
24 allows you to interactively build graphs of your own design. A graph
25 definition can be turned into a template which may be applied to many
26 Round Robin Database files. drraw specializes in providing an easy
27 mean of displaying data stored with RRDtool and does not care about
28 how the data is collected, making it a great complement to other
31 %description -l pl.UTF-8
32 drraw jest prostym, opartym na WWW front-endem dla RRDtoola, który
33 pozwala w sposób interaktywny tworzyć wykresy według własnego pomysłu.
34 Definicja wykresu może być zmieniona na szablon, a ten naniesiony
38 %setup -q -n %{name}-%{version}%{_beta}
42 rm -rf $RPM_BUILD_ROOT
43 install -d $RPM_BUILD_ROOT/home/services/html/cgi-bin/icons
44 install -d $RPM_BUILD_ROOT/home/services/drraw
46 install drraw.{cgi,conf} $RPM_BUILD_ROOT/home/services/html/cgi-bin
47 install icons/* $RPM_BUILD_ROOT/home/services/html/cgi-bin/icons
50 rm -rf $RPM_BUILD_ROOT
53 %defattr(644,root,root,755)
54 %doc CHANGES INSTALL LICENSE README.EVENTS
55 %attr(755,root,root) /home/services/html/cgi-bin/drraw.cgi
56 %attr(755,http,http) /home/services/drraw/
57 /home/services/html/cgi-bin/icons/*
58 %attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) /home/services/html/cgi-bin/drraw.conf