1 |
slords |
1.1 |
%define name smeserver-hwinfo |
2 |
|
|
%define version 1.0 |
3 |
|
|
%define release 3 |
4 |
|
|
|
5 |
|
|
Summary: Harware info panel for SME Server. |
6 |
|
|
Name: %{name} |
7 |
|
|
Version: %{version} |
8 |
|
|
Release: %{release}%{?dist} |
9 |
|
|
License: GPL |
10 |
|
|
Group: System Environment/Daemons |
11 |
|
|
Source: %{name}-%{version}.tar.gz |
12 |
|
|
Patch0: smeserver-hwinfo-1.0-template.patch |
13 |
|
|
Patch1: smeserver-hwinfo-1.0-template.patch2 |
14 |
|
|
Packager: Jean-Paul Leclere <jean-paul@leclere.org> |
15 |
|
|
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
16 |
|
|
BuildArchitectures: noarch |
17 |
|
|
Requires: e-smith-base lshw |
18 |
|
|
Obsoletes: eos-hwinfo |
19 |
|
|
AutoReqProv: no |
20 |
|
|
|
21 |
|
|
%description |
22 |
|
|
smeserver-hwinfo adds panel providing informations about server harware configuration |
23 |
|
|
|
24 |
|
|
%changelog |
25 |
|
|
|
26 |
|
|
* Fri Apr 4 2008 Jean-Paul Leclere <jean-paul@leclere.org> |
27 |
|
|
- [1.0-3] |
28 |
|
|
- removing duplicate template fragment |
29 |
|
|
|
30 |
|
|
* Sun Jan 20 2008 Jean-Paul Leclere <jean-paul@leclere.org> |
31 |
|
|
- [1.0-2] |
32 |
|
|
- templates-custom replacement by templates fragment |
33 |
|
|
- change Copyright to License in spec |
34 |
|
|
|
35 |
|
|
* Fri Aug 24 2007 Jean-Paul Leclere <jean-paul@leclere.org> |
36 |
|
|
- [1.0-1] |
37 |
|
|
- port from Free-EOS eos-hwinfo, as a new panel in server-manager |
38 |
|
|
|
39 |
|
|
|
40 |
|
|
%prep |
41 |
|
|
%setup |
42 |
|
|
|
43 |
|
|
%patch0 -p1 |
44 |
|
|
%patch1 -p1 |
45 |
|
|
|
46 |
|
|
%pre |
47 |
|
|
|
48 |
|
|
%post |
49 |
|
|
|
50 |
|
|
%build |
51 |
|
|
./createlinks |
52 |
|
|
|
53 |
|
|
%install |
54 |
|
|
rm -rf $RPM_BUILD_ROOT |
55 |
|
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
56 |
|
|
rm -f e-smith-%{version}-filelist |
57 |
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
58 |
|
|
|
59 |
|
|
%preun |
60 |
|
|
|
61 |
|
|
%postun |
62 |
|
|
|
63 |
|
|
%clean |
64 |
|
|
rm -rf $RPM_BUILD_ROOT |
65 |
|
|
|
66 |
|
|
%files -f %{name}-%{version}-filelist |
67 |
|
|
%defattr(0644,root,root) |
68 |
|
|
|
69 |
|
|
|