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