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