]> git.pld-linux.org Git - packages/drraw.git/blob - drraw.spec
- up to b2
[packages/drraw.git] / drraw.spec
1 #
2 # TODO: move do %{_datadir}/%{name} (use webapps)
3 #
4
5 %define _beta   b2
6
7 Summary:        Draw Round Robin Archives on the Web
8 Summary(pl.UTF-8):      Drraw - rysowanie wykresów RRD na WWW
9 Name:           drraw
10 Version:        2.2
11 Release:        0.%{_beta}.1
12 License:        BSD
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
19 BuildArch:      noarch
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
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
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
35 na wiele plików RRD.
36
37 %prep
38 %setup -q -n %{name}-%{version}%{_beta}
39 %patch0 -p1
40
41 %install
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
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
48
49 %clean
50 rm -rf $RPM_BUILD_ROOT
51
52 %files
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
This page took 0.100743 seconds and 3 git commands to generate.