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