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