1 |
# $Id: smeserver-hwinfo.spec,v 1.2 2013/07/14 22:38:09 unnilennium Exp $ |
2 |
# Authority: gnujpl |
3 |
# Name: Jean-Paul Leclère |
4 |
|
5 |
%define name smeserver-hwinfo |
6 |
%define version 1.1 |
7 |
%define release 1 |
8 |
|
9 |
Summary: Harware info panel for SME Server. |
10 |
Name: %{name} |
11 |
Version: %{version} |
12 |
Release: %{release}%{?dist} |
13 |
License: GPL |
14 |
Group: System Environment/Daemons |
15 |
Source: %{name}-%{version}.tar.gz |
16 |
#REM contribs9 Patch0: smeserver-hwinfo-1.1-template.patch |
17 |
#REM contribs9 Patch1: smeserver-hwinfo-1.1-template.patch2 |
18 |
#REM contribs9 Patch2: smeserver-hwinfo-1.1-locale-2008-04-22.patch |
19 |
#REM contribs9 Patch3: smeserver-hwinfo-1.1-http.patch |
20 |
#REM contribs9 Patch4: smeserver-hwinfo-1.1-add2general.patch |
21 |
#REM contribs9 Patch5: smeserver-hwinfo-1.1-locale-2008-05-05.patch |
22 |
#REM contribs9 Patch6: smeserver-hwinfo-1.1-locale-2008-05-21.patch |
23 |
#REM contribs9 Patch7: smeserver-hwinfo-1.1-locale-2008-07-01.patch |
24 |
#REM contribs9 Patch8: smeserver-hwinfo-1.1-locale-2008-09-27.patch |
25 |
#REM contribs9 Patch9: smeserver-hwinfo-1.1-locale-2008-10-14.patch |
26 |
#REM contribs9 Patch10: smeserver-hwinfo-1.1-locale-2009-03-01.patch |
27 |
#REM contribs9 Patch11: smeserver-hwinfo-1.1-locale-2009-03-03.patch |
28 |
#REM contribs9 Patch12: smeserver-hwinfo-1.1-locale-2009-04-27.patch |
29 |
#REM contribs9 Patch13: smeserver-hwinfo-1.1-locale-2009-05-20.patch |
30 |
#REM contribs9 Patch14: smeserver-hwinfo-1.1-locale-2009-08-24.patch |
31 |
#REM contribs9 Patch15: smeserver-hwinfo-1.1-locale-2009-10-27.patch |
32 |
#REM contribs9 Patch16: smeserver-hwinfo-1.0-locale-2011.13-06.patch |
33 |
#REM contribs9 Patch17: smeserver-hwinfo-1.1-locale-2013-07-14.patch |
34 |
BuildRequires: e-smith-devtools |
35 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
36 |
BuildArchitectures: noarch |
37 |
Requires: e-smith-base lshw |
38 |
Requires: e-smith-formmagick >= 1.4.0-12 |
39 |
Obsoletes: eos-hwinfo |
40 |
AutoReqProv: no |
41 |
|
42 |
%description |
43 |
smeserver-hwinfo adds panel providing informations about server harware configuration |
44 |
|
45 |
%changelog |
46 |
* Mon Jun 16 2014 JP Pialasse <tests@pialasse.com> 1.1-1.sme |
47 |
- initial import to SME9 contribs |
48 |
|
49 |
* Sun Jul 14 2013 JP Pialasse <tests@pialasse.com> 1.0-21.sme |
50 |
- apply locale 2013-07-14 patch |
51 |
|
52 |
* Sun Mar 06 2011 SME Translation Server <translations@contribs.org> 1.0-20.sme |
53 |
- apply locale 2011-03-06 patch |
54 |
|
55 |
* Tue Oct 27 2009 SME Translation Server <translations@contribs.org> 1.0-19.sme |
56 |
- apply locale 2009-10-27 patch |
57 |
|
58 |
* Mon Aug 24 2009 SME Translation Server <translations@contribs.org> 1.0-18.sme |
59 |
- apply locale 2009-08-24 patch |
60 |
|
61 |
* Wed May 20 2009 SME Translation Server <translations@contribs.org> 1.0-17.sme |
62 |
- apply locale 2009-05-20 patch |
63 |
|
64 |
* Mon Apr 27 2009 SME Translation Server <translations@contribs.org> 1.0-16.sme |
65 |
- apply locale 2009-04-27 patch |
66 |
|
67 |
* Tue Mar 03 2009 SME Translation Server |
68 |
- apply locale 2009-03-03 patch |
69 |
|
70 |
* Sun Mar 1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-14 |
71 |
- Apply 1 Mar 2009 locale patch [SME: 5018] |
72 |
|
73 |
* Tue Oct 14 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-13 |
74 |
- Apply 14 Oct 2008 locale patch |
75 |
|
76 |
* Sun Sep 28 2008 Stephen Noble <support@dungog.net> - 1.0-12 |
77 |
- Apply locale patch |
78 |
|
79 |
* Tue Jul 1 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-11 |
80 |
- Apply 1 July 2008 locale patch |
81 |
|
82 |
* Thu May 21 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-10 |
83 |
- Apply 21 May 2008 locale patch |
84 |
|
85 |
* Mon May 5 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-9 |
86 |
- Apply 5 May 2008 locale patch |
87 |
|
88 |
* Sat Apr 26 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-8 |
89 |
- Add common <base> tags to e-smith-formmagick's general |
90 |
|
91 |
* Thu Apr 24 2008 Jean-Paul Leclere <jean-paul@leclere.org> 1.0-7 |
92 |
- remove obsolete httpd templates fragments |
93 |
|
94 |
* Tue Apr 22 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-6 |
95 |
- Added e-smith-devtools as build requirement for the createlinks script |
96 |
|
97 |
* Tue Apr 22 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-5 |
98 |
- Trying to fix creatlinks build error |
99 |
|
100 |
* Tue Apr 22 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-4 |
101 |
- Added 22 April 2008 locale patch |
102 |
|
103 |
* Fri Apr 4 2008 Jean-Paul Leclere <jean-paul@leclere.org> |
104 |
- [1.0-3] |
105 |
- removing duplicate template fragment |
106 |
|
107 |
* Sun Jan 20 2008 Jean-Paul Leclere <jean-paul@leclere.org> |
108 |
- [1.0-2] |
109 |
- templates-custom replacement by templates fragment |
110 |
- change Copyright to License in spec |
111 |
|
112 |
* Fri Aug 24 2007 Jean-Paul Leclere <jean-paul@leclere.org> |
113 |
- [1.0-1] |
114 |
- port from Free-EOS eos-hwinfo, as a new panel in server-manager |
115 |
|
116 |
%prep |
117 |
%setup |
118 |
|
119 |
#REM contribs9 %patch0 -p1 |
120 |
#REM contribs9 %patch1 -p1 |
121 |
#REM contribs9 %patch2 -p1 |
122 |
#REM contribs9 %patch3 -p1 |
123 |
#REM contribs9 %patch4 -p1 |
124 |
#REM contribs9 %patch5 -p1 |
125 |
#REM contribs9 %patch6 -p1 |
126 |
#REM contribs9 %patch7 -p1 |
127 |
#REM contribs9 %patch8 -p1 |
128 |
#REM contribs9 %patch9 -p1 |
129 |
#REM contribs9 %patch10 -p1 |
130 |
#REM contribs9 %patch11 -p1 |
131 |
#REM contribs9 %patch12 -p1 |
132 |
#REM contribs9 %patch13 -p1 |
133 |
#REM contribs9 %patch14 -p1 |
134 |
#REM contribs9 %patch15 -p1 |
135 |
#REM contribs9 %patch16 -p1 |
136 |
#REM contribs9 %patch17 -p1 |
137 |
%pre |
138 |
|
139 |
%post |
140 |
|
141 |
%build |
142 |
perl createlinks |
143 |
|
144 |
%install |
145 |
rm -rf $RPM_BUILD_ROOT |
146 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
147 |
rm -f e-smith-%{version}-filelist |
148 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
149 |
|
150 |
%preun |
151 |
|
152 |
%postun |
153 |
|
154 |
%clean |
155 |
rm -rf $RPM_BUILD_ROOT |
156 |
|
157 |
%files -f %{name}-%{version}-filelist |
158 |
%defattr(0644,root,root) |
159 |
|
160 |
|