1 |
# $Id: smeserver-hwinfo.spec,v 1.17 2008/11/25 16:20:24 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 14 |
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 |
BuildRequires: e-smith-devtools |
28 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
29 |
BuildArchitectures: noarch |
30 |
Requires: e-smith-base lshw |
31 |
Requires: e-smith-formmagick >= 1.4.0-12 |
32 |
Obsoletes: eos-hwinfo |
33 |
AutoReqProv: no |
34 |
|
35 |
%description |
36 |
smeserver-hwinfo adds panel providing informations about server harware configuration |
37 |
|
38 |
%changelog |
39 |
* Sun Mar 1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-14 |
40 |
- Apply 1 Mar 2009 locale patch [SME: 5018] |
41 |
|
42 |
* Tue Oct 14 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-13 |
43 |
- Apply 14 Oct 2008 locale patch |
44 |
|
45 |
* Sun Sep 28 2008 Stephen Noble <support@dungog.net> - 1.0-12 |
46 |
- Apply locale patch |
47 |
|
48 |
* Tue Jul 1 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-11 |
49 |
- Apply 1 July 2008 locale patch |
50 |
|
51 |
* Thu May 21 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-10 |
52 |
- Apply 21 May 2008 locale patch |
53 |
|
54 |
* Mon May 5 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-9 |
55 |
- Apply 5 May 2008 locale patch |
56 |
|
57 |
* Sat Apr 26 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-8 |
58 |
- Add common <base> tags to e-smith-formmagick's general |
59 |
|
60 |
* Thu Apr 24 2008 Jean-Paul Leclere <jean-paul@leclere.org> 1.0-7 |
61 |
- remove obsolete httpd templates fragments |
62 |
|
63 |
* Tue Apr 22 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-6 |
64 |
- Added e-smith-devtools as build requirement for the createlinks script |
65 |
|
66 |
* Tue Apr 22 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-5 |
67 |
- Trying to fix creatlinks build error |
68 |
|
69 |
* Tue Apr 22 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-4 |
70 |
- Added 22 April 2008 locale patch |
71 |
|
72 |
* Fri Apr 4 2008 Jean-Paul Leclere <jean-paul@leclere.org> |
73 |
- [1.0-3] |
74 |
- removing duplicate template fragment |
75 |
|
76 |
* Sun Jan 20 2008 Jean-Paul Leclere <jean-paul@leclere.org> |
77 |
- [1.0-2] |
78 |
- templates-custom replacement by templates fragment |
79 |
- change Copyright to License in spec |
80 |
|
81 |
* Fri Aug 24 2007 Jean-Paul Leclere <jean-paul@leclere.org> |
82 |
- [1.0-1] |
83 |
- port from Free-EOS eos-hwinfo, as a new panel in server-manager |
84 |
|
85 |
%prep |
86 |
%setup |
87 |
|
88 |
%patch0 -p1 |
89 |
%patch1 -p1 |
90 |
%patch2 -p1 |
91 |
%patch3 -p1 |
92 |
%patch4 -p1 |
93 |
%patch5 -p1 |
94 |
%patch6 -p1 |
95 |
%patch7 -p1 |
96 |
%patch8 -p1 |
97 |
%patch9 -p1 |
98 |
%patch10 -p1 |
99 |
|
100 |
%pre |
101 |
|
102 |
%post |
103 |
|
104 |
%build |
105 |
perl createlinks |
106 |
|
107 |
%install |
108 |
rm -rf $RPM_BUILD_ROOT |
109 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
110 |
rm -f e-smith-%{version}-filelist |
111 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
112 |
|
113 |
%preun |
114 |
|
115 |
%postun |
116 |
|
117 |
%clean |
118 |
rm -rf $RPM_BUILD_ROOT |
119 |
|
120 |
%files -f %{name}-%{version}-filelist |
121 |
%defattr(0644,root,root) |
122 |
|
123 |
|