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