1 |
# $Id: smeserver-hwinfo.spec,v 1.3 2021/03/26 11:42:17 brianr Exp $ |
2 |
# Authority: gnujpl |
3 |
# Name: Jean-Paul Leclère |
4 |
|
5 |
%define name smeserver-hwinfo |
6 |
%define version 1.2 |
7 |
%define release 5 |
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.2-Add-Update-event-to-createlinks.patch |
17 |
Patch1: smeserver-hwinfo-1.2-locale-2021-08-22.patch |
18 |
BuildRequires: e-smith-devtools |
19 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
20 |
BuildArchitectures: noarch |
21 |
Requires: e-smith-base lshw |
22 |
Requires: e-smith-formmagick >= 1.4.0-12 |
23 |
Obsoletes: eos-hwinfo |
24 |
AutoReqProv: no |
25 |
|
26 |
%description |
27 |
smeserver-hwinfo adds panel providing informations about server harware configuration |
28 |
|
29 |
%changelog |
30 |
* Mon Aug 23 2021 Terry Fage <terry.fage@gmail.com> 1.2-5.sme |
31 |
- apply locale 2021-08-22 patch |
32 |
|
33 |
* Fri Mar 26 2021 Brian Read <brianr@bjsystems.co.uk> 1.2-4.sme |
34 |
- Add Update event to createlinks [SME: 11060] |
35 |
|
36 |
* Fri Mar 26 2021 BogusDateBot |
37 |
- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday, |
38 |
by assuming the date is correct and changing the weekday. |
39 |
Thu May 21 2008 --> Thu May 15 2008 or Wed May 21 2008 or Thu May 22 2008 or .... |
40 |
|
41 |
* Wed Oct 28 2020 Brian Read <brianr@bjsystems.co.uk> 1.2-3.sme |
42 |
- Initial import to SME10 - [SME: 11060] |
43 |
|
44 |
* Sat Aug 22 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.2-2.sme |
45 |
- Initial release to contribs9 |
46 |
|
47 |
* Fri Aug 08 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 1.2-1.sme |
48 |
- Initial release to sme9 |
49 |
|
50 |
* Sun Jul 14 2013 JP Pialasse <tests@pialasse.com> 1.0-21.sme |
51 |
- apply locale 2013-07-14 patch |
52 |
|
53 |
* Sun Mar 06 2011 SME Translation Server <translations@contribs.org> 1.0-20.sme |
54 |
- apply locale 2011-03-06 patch |
55 |
|
56 |
* Tue Oct 27 2009 SME Translation Server <translations@contribs.org> 1.0-19.sme |
57 |
- apply locale 2009-10-27 patch |
58 |
|
59 |
* Mon Aug 24 2009 SME Translation Server <translations@contribs.org> 1.0-18.sme |
60 |
- apply locale 2009-08-24 patch |
61 |
|
62 |
* Wed May 20 2009 SME Translation Server <translations@contribs.org> 1.0-17.sme |
63 |
- apply locale 2009-05-20 patch |
64 |
|
65 |
* Mon Apr 27 2009 SME Translation Server <translations@contribs.org> 1.0-16.sme |
66 |
- apply locale 2009-04-27 patch |
67 |
|
68 |
* Tue Mar 03 2009 SME Translation Server |
69 |
- apply locale 2009-03-03 patch |
70 |
|
71 |
* Sun Mar 1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-14 |
72 |
- Apply 1 Mar 2009 locale patch [SME: 5018] |
73 |
|
74 |
* Tue Oct 14 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-13 |
75 |
- Apply 14 Oct 2008 locale patch |
76 |
|
77 |
* Sun Sep 28 2008 Stephen Noble <support@dungog.net> - 1.0-12 |
78 |
- Apply locale patch |
79 |
|
80 |
* Tue Jul 1 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-11 |
81 |
- Apply 1 July 2008 locale patch |
82 |
|
83 |
* Wed May 21 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-10 |
84 |
Thu May 21 2008 --> Thu May 15 2008 or Wed May 21 2008 or Thu May 22 2008 or .... |
85 |
- Apply 21 May 2008 locale patch |
86 |
|
87 |
* Mon May 5 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-9 |
88 |
- Apply 5 May 2008 locale patch |
89 |
|
90 |
* Sat Apr 26 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-8 |
91 |
- Add common <base> tags to e-smith-formmagick's general |
92 |
|
93 |
* Thu Apr 24 2008 Jean-Paul Leclere <jean-paul@leclere.org> 1.0-7 |
94 |
- remove obsolete httpd templates fragments |
95 |
|
96 |
* Tue Apr 22 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-6 |
97 |
- Added e-smith-devtools as build requirement for the createlinks script |
98 |
|
99 |
* Tue Apr 22 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-5 |
100 |
- Trying to fix creatlinks build error |
101 |
|
102 |
* Tue Apr 22 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-4 |
103 |
- Added 22 April 2008 locale patch |
104 |
|
105 |
* Fri Apr 4 2008 Jean-Paul Leclere <jean-paul@leclere.org> |
106 |
- [1.0-3] |
107 |
- removing duplicate template fragment |
108 |
|
109 |
* Sun Jan 20 2008 Jean-Paul Leclere <jean-paul@leclere.org> |
110 |
- [1.0-2] |
111 |
- templates-custom replacement by templates fragment |
112 |
- change Copyright to License in spec |
113 |
|
114 |
* Fri Aug 24 2007 Jean-Paul Leclere <jean-paul@leclere.org> |
115 |
- [1.0-1] |
116 |
- port from Free-EOS eos-hwinfo, as a new panel in server-manager |
117 |
|
118 |
%prep |
119 |
%setup |
120 |
%patch0 -p1 |
121 |
%patch1 -p1 |
122 |
|
123 |
%pre |
124 |
|
125 |
%post |
126 |
|
127 |
%build |
128 |
perl createlinks |
129 |
|
130 |
%install |
131 |
rm -rf $RPM_BUILD_ROOT |
132 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
133 |
rm -f e-smith-%{version}-filelist |
134 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
135 |
|
136 |
%preun |
137 |
|
138 |
%postun |
139 |
|
140 |
%clean |
141 |
rm -rf $RPM_BUILD_ROOT |
142 |
|
143 |
%files -f %{name}-%{version}-filelist |
144 |
%defattr(0644,root,root) |
145 |
|
146 |
|