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