R: php-date -> php(date)
[packages/cacti-plugin-settings.git] / cacti-plugin-settings.spec
1 %define         plugin  settings
2 %define         php_min_version 5.0.0
3 %include        /usr/lib/rpm/macros.php
4 Summary:        Plugin for Cacti - Settings
5 Summary(pl.UTF-8):      Wtyczka do Cacti - Ustawienia
6 Name:           cacti-plugin-%{plugin}
7 Version:        0.71
8 Release:        8
9 License:        GPL v2
10 Group:          Applications/WWW
11 Source0:        http://docs.cacti.net/_media/plugin:settings-v%{version}-1.tgz
12 # Source0-md5:  f29150ecb1433f17d51fb3f54398fd3e
13 URL:            http://docs.cacti.net/plugin:settings
14 BuildRequires:  rpm-php-pearprov >= 4.4.2-11
15 Requires:       cacti
16 Requires:       cacti(pia) >= 2.0
17 Requires:       php(core) >= %{php_min_version}
18 Requires:       php(pcre)
19 Requires:       php(date)
20 BuildArch:      noarch
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %define         cactidir                /usr/share/cacti
24 %define         plugindir               %{cactidir}/plugins/%{plugin}
25
26 %description
27 Provides common infrastrucutre plugin services for Cacti's Plugin
28 Architecture.
29
30 Features:
31 - Provides DNS Lookup API
32 - Provides a Mailer API
33
34 %description -l pl.UTF-8
35 Ta wtyczka Cacti zbiera wspólne ustawienia i funkcje używane przez
36 różne wtyczki.
37
38 %prep
39 %setup -qc
40 mv %{plugin}/{LICENSE,README} .
41
42 %install
43 rm -rf $RPM_BUILD_ROOT
44 install -d $RPM_BUILD_ROOT%{plugindir}
45 cp -a %{plugin}/* $RPM_BUILD_ROOT%{plugindir}
46
47 %clean
48 rm -rf $RPM_BUILD_ROOT
49
50 %files
51 %defattr(644,root,root,755)
52 %doc README
53 %{plugindir}
This page took 0.080773 seconds and 3 git commands to generate.