1 |
unnilennium |
1.1 |
# $Id: smeserver-ocsinventory.spec,v 1.9 2010/05/04 07:43:20 vip-ire Exp $ |
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 11 |
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 |
|
|
Patch6: smeserver-ocsinventory-0.1-open_basedir.patch |
21 |
|
|
Patch7: smeserver-ocsinventory-0.1-update_path.patch |
22 |
|
|
Patch8: smeserver-ocsinventory-0.1-perl_version.patch |
23 |
|
|
Patch9: smeserver-ocsinventory-0.1-cert_change.patch |
24 |
|
|
Patch10: smeserver-ocsinventory-0.1-expand_php_ini.patch |
25 |
|
|
Patch11: smeserver-ocsinventory-0.1-inventory_access.patch |
26 |
|
|
Patch12: smeserver-ocsinventory-0.1-check_zero_size.patch |
27 |
|
|
|
28 |
|
|
URL: http://sme.firewall-services.com |
29 |
|
|
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
30 |
|
|
BuildArchitectures: noarch |
31 |
|
|
BuildRequires: e-smith-devtools |
32 |
|
|
Requires: e-smith-release >= 7.0 |
33 |
|
|
Requires: ocsinventory-server |
34 |
|
|
Requires: ocsinventory-reports |
35 |
|
|
|
36 |
|
|
Conflicts: smeserver-inventory-tools |
37 |
|
|
|
38 |
|
|
%description |
39 |
|
|
Open Computer and Software Inventory Next Generation is an application |
40 |
|
|
designed to help a network or system administrator keep track of the |
41 |
|
|
computers configuration and software that are installed on the network. |
42 |
|
|
|
43 |
|
|
OCS Inventory is also able to detect all active devices on your network, |
44 |
|
|
such as switch, router, network printer and unattended devices. |
45 |
|
|
|
46 |
|
|
OCS Inventory NG includes package deployment feature on client computers |
47 |
|
|
|
48 |
|
|
%changelog |
49 |
|
|
* Tue May 04 2010 Daniel B. <daniel@firewall-services.com> 0.1-11.sme |
50 |
|
|
- Check if cacert size is zero |
51 |
|
|
|
52 |
|
|
* Thu Jun 18 2009 Daniel B. <daniel@firewall-services.com> 0.1-10 |
53 |
|
|
- Fixe inventory access |
54 |
|
|
|
55 |
|
|
* Mon Jun 15 2009 Daniel B. <daniel@firewall-services.com> 0.1-9 |
56 |
|
|
- expand php.ini template during ocs-update event |
57 |
|
|
|
58 |
|
|
* Wed Mar 25 2009 Daniel B. <daniel@firewall-services.com> 0.1-8 |
59 |
|
|
- Should work with any perl version |
60 |
|
|
- Update cacert if it has changed |
61 |
|
|
|
62 |
|
|
* Thu Mar 19 2009 Daniel B. <daniel@firewall-services.com> 0.1-7 |
63 |
|
|
- Update paths to the new "download" directory /var/lib/ocsinventory-reports |
64 |
|
|
|
65 |
|
|
* Wed Mar 18 2009 Daniel B. <daniel@firewall-services.com> 0.1-6 |
66 |
|
|
- Correct openbasedir directive so package creation works |
67 |
|
|
|
68 |
|
|
* Mon Mar 16 2009 Daniel B. <daniel@firewall-services.com> 0.1-5 |
69 |
|
|
- Conflicts with smeserver-inventory-tools |
70 |
|
|
|
71 |
|
|
* Tue Dec 09 2008 Daniel B. <daniel@firewall-services.com> 0.1-4 |
72 |
|
|
- Add a link in the server-manager |
73 |
|
|
- expand mysql fragment during ocs-update event |
74 |
|
|
|
75 |
|
|
* Tue Oct 21 2008 Daniel B. <daniel@firewall-services.com> 0.1-3 |
76 |
|
|
- correct templates2expand for ocs-update event |
77 |
|
|
|
78 |
|
|
* Wed Oct 17 2008 Daniel B. <daniel@firewall-services.com> 0.1-2 |
79 |
|
|
- Compatibility with mod_perl 2 |
80 |
|
|
- Change config path |
81 |
|
|
|
82 |
|
|
* Thu Sep 10 2008 Daniel B. <daniel@firewall-services.com> 0.1-0 |
83 |
|
|
- Initial RPM |
84 |
|
|
|
85 |
|
|
|
86 |
|
|
%prep |
87 |
|
|
%setup |
88 |
|
|
%patch1 -p1 |
89 |
|
|
%patch2 -p1 |
90 |
|
|
%patch3 -p1 |
91 |
|
|
%patch4 -p1 |
92 |
|
|
%patch5 -p1 |
93 |
|
|
%patch6 -p1 |
94 |
|
|
%patch7 -p1 |
95 |
|
|
%patch8 -p1 |
96 |
|
|
%patch9 -p1 |
97 |
|
|
%patch10 -p1 |
98 |
|
|
%patch11 -p1 |
99 |
|
|
%patch12 -p1 |
100 |
|
|
|
101 |
|
|
%build |
102 |
|
|
/usr/bin/perl createlinks |
103 |
|
|
|
104 |
|
|
%install |
105 |
|
|
/bin/rm -rf $RPM_BUILD_ROOT |
106 |
|
|
(cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) |
107 |
|
|
rm -f %{name}-%{version}-filelist |
108 |
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
109 |
|
|
|
110 |
|
|
%files -f %{name}-%{version}-filelist |
111 |
|
|
%defattr(-, root, root, -) |
112 |
|
|
|
113 |
|
|
%clean |
114 |
|
|
rm -rf $RPM_BUILD_ROOT |
115 |
|
|
|
116 |
|
|
|