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