1 |
vip-ire |
1.3 |
# $Id: smeserver-ocsinventory.spec,v 1.2 2009/03/02 23:53:29 slords Exp $ |
2 |
slords |
1.1 |
# 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 |
vip-ire |
1.3 |
%define release 5 |
10 |
slords |
1.1 |
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 |
vip-ire |
1.3 |
Conflicts: smeserver-inventory-tools |
30 |
slords |
1.1 |
|
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 |
vip-ire |
1.3 |
* Mon Mar 16 2009 Daniel B. <daniel@firewall-services.com> 0.1-5 |
43 |
|
|
- Conflicts with smeserver-inventory-tools |
44 |
|
|
|
45 |
slords |
1.1 |
* Tue Dec 09 2008 Daniel B. <daniel@firewall-services.com> 0.1-4 |
46 |
|
|
- Add a link in the server-manager |
47 |
|
|
- expand mysql fragment during ocs-update event |
48 |
|
|
|
49 |
|
|
* Tue Oct 21 2008 Daniel B. <daniel@firewall-services.com> 0.1-3 |
50 |
|
|
- correct templates2expand for ocs-update event |
51 |
|
|
|
52 |
|
|
* Wed Oct 17 2008 Daniel B. <daniel@firewall-services.com> 0.1-2 |
53 |
|
|
- Compatibility with mod_perl 2 |
54 |
|
|
- Change config path |
55 |
|
|
|
56 |
|
|
* Thu Sep 10 2008 Daniel B. <daniel@firewall-services.com> 0.1-0 |
57 |
|
|
- Initial RPM |
58 |
|
|
|
59 |
|
|
|
60 |
|
|
%prep |
61 |
|
|
%setup |
62 |
|
|
%patch1 -p1 |
63 |
|
|
%patch2 -p1 |
64 |
|
|
%patch3 -p1 |
65 |
|
|
%patch4 -p1 |
66 |
|
|
%patch5 -p1 |
67 |
|
|
|
68 |
|
|
%build |
69 |
|
|
/usr/bin/perl createlinks |
70 |
|
|
|
71 |
|
|
%install |
72 |
|
|
/bin/rm -rf $RPM_BUILD_ROOT |
73 |
|
|
(cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) |
74 |
|
|
rm -f %{name}-%{version}-filelist |
75 |
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
76 |
|
|
|
77 |
|
|
%files -f %{name}-%{version}-filelist |
78 |
|
|
%defattr(-, root, root, -) |
79 |
|
|
|
80 |
|
|
%clean |
81 |
|
|
rm -rf $RPM_BUILD_ROOT |
82 |
|
|
|
83 |
|
|
|