1 |
vip-ire |
1.5 |
# $Id: smeserver-ocsinventory.spec,v 1.4 2009/03/18 10:52:32 vip-ire 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.5 |
%define release 7 |
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 |
vip-ire |
1.4 |
Patch6: smeserver-ocsinventory-0.1-open_basedir.patch |
21 |
vip-ire |
1.5 |
Patch7: smeserver-ocsinventory-0.1-update_path.patch |
22 |
slords |
1.1 |
|
23 |
|
|
URL: http://sme.firewall-services.com |
24 |
|
|
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
25 |
|
|
BuildArchitectures: noarch |
26 |
|
|
BuildRequires: e-smith-devtools |
27 |
|
|
Requires: e-smith-release >= 7.0 |
28 |
|
|
Requires: ocsinventory-server |
29 |
|
|
Requires: ocsinventory-reports |
30 |
|
|
|
31 |
vip-ire |
1.3 |
Conflicts: smeserver-inventory-tools |
32 |
slords |
1.1 |
|
33 |
|
|
%description |
34 |
|
|
Open Computer and Software Inventory Next Generation is an application |
35 |
|
|
designed to help a network or system administrator keep track of the |
36 |
|
|
computers configuration and software that are installed on the network. |
37 |
|
|
|
38 |
|
|
OCS Inventory is also able to detect all active devices on your network, |
39 |
|
|
such as switch, router, network printer and unattended devices. |
40 |
|
|
|
41 |
|
|
OCS Inventory NG includes package deployment feature on client computers |
42 |
|
|
|
43 |
|
|
%changelog |
44 |
vip-ire |
1.5 |
* Thu Mar 19 2009 Daniel B. <daniel@firewall-services.com> 0.1-7 |
45 |
|
|
- Update paths to the new "download" directory /var/lib/ocsinventory-reports |
46 |
|
|
|
47 |
vip-ire |
1.4 |
* Wed Mar 18 2009 Daniel B. <daniel@firewall-services.com> 0.1-6 |
48 |
|
|
- Correct openbasedir directive so package creation works |
49 |
|
|
|
50 |
vip-ire |
1.3 |
* Mon Mar 16 2009 Daniel B. <daniel@firewall-services.com> 0.1-5 |
51 |
|
|
- Conflicts with smeserver-inventory-tools |
52 |
|
|
|
53 |
slords |
1.1 |
* Tue Dec 09 2008 Daniel B. <daniel@firewall-services.com> 0.1-4 |
54 |
|
|
- Add a link in the server-manager |
55 |
|
|
- expand mysql fragment during ocs-update event |
56 |
|
|
|
57 |
|
|
* Tue Oct 21 2008 Daniel B. <daniel@firewall-services.com> 0.1-3 |
58 |
|
|
- correct templates2expand for ocs-update event |
59 |
|
|
|
60 |
|
|
* Wed Oct 17 2008 Daniel B. <daniel@firewall-services.com> 0.1-2 |
61 |
|
|
- Compatibility with mod_perl 2 |
62 |
|
|
- Change config path |
63 |
|
|
|
64 |
|
|
* Thu Sep 10 2008 Daniel B. <daniel@firewall-services.com> 0.1-0 |
65 |
|
|
- Initial RPM |
66 |
|
|
|
67 |
|
|
|
68 |
|
|
%prep |
69 |
|
|
%setup |
70 |
|
|
%patch1 -p1 |
71 |
|
|
%patch2 -p1 |
72 |
|
|
%patch3 -p1 |
73 |
|
|
%patch4 -p1 |
74 |
|
|
%patch5 -p1 |
75 |
vip-ire |
1.4 |
%patch6 -p1 |
76 |
vip-ire |
1.5 |
%patch7 -p1 |
77 |
slords |
1.1 |
|
78 |
|
|
%build |
79 |
|
|
/usr/bin/perl createlinks |
80 |
|
|
|
81 |
|
|
%install |
82 |
|
|
/bin/rm -rf $RPM_BUILD_ROOT |
83 |
|
|
(cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) |
84 |
|
|
rm -f %{name}-%{version}-filelist |
85 |
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
86 |
|
|
|
87 |
|
|
%files -f %{name}-%{version}-filelist |
88 |
|
|
%defattr(-, root, root, -) |
89 |
|
|
|
90 |
|
|
%clean |
91 |
|
|
rm -rf $RPM_BUILD_ROOT |
92 |
|
|
|
93 |
|
|
|