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