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