]>
Commit | Line | Data |
---|---|---|
680719fb TP |
1 | # |
2 | # TODO: move do %{_datadir}/%{name} (use webapps) | |
3 | # | |
de425a15 MŁ |
4 | |
5 | %define _beta b2 | |
6 | ||
9cc29d93 | 7 | Summary: Draw Round Robin Archives on the Web |
3c3fe5a8 | 8 | Summary(pl.UTF-8): Drraw - rysowanie wykresów RRD na WWW |
9cc29d93 | 9 | Name: drraw |
680719fb | 10 | Version: 2.2 |
de425a15 | 11 | Release: 0.%{_beta}.1 |
9cc29d93 | 12 | License: BSD |
13 | Group: Applications/Databases | |
de425a15 MŁ |
14 | Source0: http://web.taranis.org/drraw/dist/%{name}-%{version}%{_beta}.tar.gz |
15 | # Source0-md5: 704ac58d2b8d0141e38897b1fe86d8a0 | |
2516bd26 | 16 | Patch0: %{name}-conf.patch |
9cc29d93 | 17 | URL: http://web.taranis.org/drraw/ |
fbb2f56f | 18 | BuildRequires: sed >= 4.0 |
bd9b3b89 | 19 | BuildArch: noarch |
9cc29d93 | 20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
21 | ||
22 | %description | |
a40d6656 | 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 | |
29 | RRDtool front-ends. | |
30 | ||
085436e3 JR |
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. | |
680719fb | 34 | Definicja wykresu może być zmieniona na szablon, a ten naniesiony |
085436e3 | 35 | na wiele plików RRD. |
a40d6656 | 36 | |
01c889ed | 37 | %prep |
de425a15 | 38 | %setup -q -n %{name}-%{version}%{_beta} |
9e36e3df | 39 | %patch0 -p1 |
9cc29d93 | 40 | |
41 | %install | |
42 | rm -rf $RPM_BUILD_ROOT | |
01c889ed | 43 | install -d $RPM_BUILD_ROOT/home/services/html/cgi-bin/icons |
2516bd26 | 44 | install -d $RPM_BUILD_ROOT/home/services/drraw |
bd9b3b89 JB |
45 | |
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 | |
9cc29d93 | 48 | |
49 | %clean | |
50 | rm -rf $RPM_BUILD_ROOT | |
51 | ||
52 | %files | |
53 | %defattr(644,root,root,755) | |
680719fb | 54 | %doc CHANGES INSTALL LICENSE README.EVENTS |
bd9b3b89 | 55 | %attr(755,root,root) /home/services/html/cgi-bin/drraw.cgi |
2516bd26 | 56 | %attr(755,http,http) /home/services/drraw/ |
bd9b3b89 | 57 | /home/services/html/cgi-bin/icons/* |
fbb2f56f | 58 | %attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) /home/services/html/cgi-bin/drraw.conf |