glpi / pkg / glpi.redhat.spec @ e0c97dab
History | View | Annotate | Download (908 Bytes)
1 | 75e60ab7 | Francois POIROTTE | %define module @SHORT_NAME@ |
---|---|---|---|
2 | |||
3 | Name: vigilo-%{module} |
||
4 | Summary: Vigilo integration plugin for GLPI |
||
5 | Version: @VERSION@ |
||
6 | Release: @RELEASE@%{?dist} |
||
7 | Source0: %{name}-%{version}.tar.gz |
||
8 | URL: http://www.projet-vigilo.org |
||
9 | Group: Applications/System |
||
10 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-build |
||
11 | License: GPLv2 |
||
12 | Buildarch: noarch |
||
13 | |||
14 | Requires: glpi |
||
15 | Requires: vigilo-vigiconf |
||
16 | |||
17 | %description |
||
18 | This package provides a plugin that makes it possible to configure Vigilo |
||
19 | and deploy new configuration files from GLPI's GUI. |
||
20 | This application is part of the Vigilo Project <http://vigilo-project.org> |
||
21 | |||
22 | %prep |
||
23 | %setup -q |
||
24 | |||
25 | %build |
||
26 | |||
27 | %install |
||
28 | rm -rf $RPM_BUILD_ROOT |
||
29 | make install_pkg \ |
||
30 | DESTDIR=$RPM_BUILD_ROOT \ |
||
31 | SYSCONFDIR=%{_sysconfdir} \ |
||
32 | DATADIR=%{_datadir} \ |
||
33 | |||
34 | |||
35 | %clean |
||
36 | rm -rf $RPM_BUILD_ROOT |
||
37 | |||
38 | %files |
||
39 | %defattr(644,root,root,755) |
||
40 | %doc COPYING.txt |
||
41 | %{_datadir}/%{module}/plugins/ |