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