1 |
# $Id$ |
2 |
# Authority: vip-ire |
3 |
# Name: Daniel Berteaud |
4 |
|
5 |
Summary: Open Computer and Software Inventory Next Generation (SME Server integration) |
6 |
%define name smeserver-ocsinventory |
7 |
Name: %{name} |
8 |
%define version 0.1 |
9 |
%define release 4 |
10 |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
12 |
License: GPL |
13 |
Group: Applications/Internet |
14 |
Source: %{name}-%{version}.tar.gz |
15 |
Patch1: smeserver-ocsinventory-0.1-modPerl2.patch |
16 |
Patch2: smeserver-ocsinventory-0.1-db_config_path.patch |
17 |
Patch3: smeserver-ocsinventory-0.1-templates2expand.patch |
18 |
Patch4: smeserver-ocsinventory-0.1-panel.patch |
19 |
Patch5: smeserver-ocsinventory-0.1-expand_mysql_fragment.patch |
20 |
|
21 |
URL: http://sme.firewall-services.com |
22 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
23 |
BuildArchitectures: noarch |
24 |
BuildRequires: e-smith-devtools |
25 |
Requires: e-smith-release >= 7.0 |
26 |
Requires: ocsinventory-server |
27 |
Requires: ocsinventory-reports |
28 |
|
29 |
|
30 |
|
31 |
%description |
32 |
Open Computer and Software Inventory Next Generation is an application |
33 |
designed to help a network or system administrator keep track of the |
34 |
computers configuration and software that are installed on the network. |
35 |
|
36 |
OCS Inventory is also able to detect all active devices on your network, |
37 |
such as switch, router, network printer and unattended devices. |
38 |
|
39 |
OCS Inventory NG includes package deployment feature on client computers |
40 |
|
41 |
%changelog |
42 |
* Tue Dec 09 2008 Daniel B. <daniel@firewall-services.com> 0.1-4 |
43 |
- Add a link in the server-manager |
44 |
- expand mysql fragment during ocs-update event |
45 |
|
46 |
* Tue Oct 21 2008 Daniel B. <daniel@firewall-services.com> 0.1-3 |
47 |
- correct templates2expand for ocs-update event |
48 |
|
49 |
* Wed Oct 17 2008 Daniel B. <daniel@firewall-services.com> 0.1-2 |
50 |
- Compatibility with mod_perl 2 |
51 |
- Change config path |
52 |
|
53 |
* Thu Sep 10 2008 Daniel B. <daniel@firewall-services.com> 0.1-0 |
54 |
- Initial RPM |
55 |
|
56 |
|
57 |
%prep |
58 |
%setup |
59 |
%patch1 -p1 |
60 |
%patch2 -p1 |
61 |
%patch3 -p1 |
62 |
%patch4 -p1 |
63 |
%patch5 -p1 |
64 |
|
65 |
%build |
66 |
/usr/bin/perl createlinks |
67 |
|
68 |
%install |
69 |
/bin/rm -rf $RPM_BUILD_ROOT |
70 |
(cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) |
71 |
rm -f %{name}-%{version}-filelist |
72 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
73 |
|
74 |
%files -f %{name}-%{version}-filelist |
75 |
%defattr(-, root, root, -) |
76 |
|
77 |
%clean |
78 |
rm -rf $RPM_BUILD_ROOT |
79 |
|
80 |
|