1 |
snetram |
1.10 |
# $Id: smeserver-hwinfo.spec,v 1.9 2008/04/28 23:38:44 slords Exp $ |
2 |
slords |
1.1 |
# Authority: gnujpl |
3 |
|
|
# Name: Jean-Paul Leclère |
4 |
|
|
|
5 |
|
|
%define name smeserver-hwinfo |
6 |
|
|
%define version 1.0 |
7 |
snetram |
1.10 |
%define release 9 |
8 |
slords |
1.1 |
|
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 |
snetram |
1.2 |
Patch2: smeserver-hwinfo-1.0-locale-2008-04-22.patch |
19 |
gnujpl |
1.5 |
Patch3: smeserver-hwinfo-1.0-http.patch |
20 |
slords |
1.9 |
Patch4: smeserver-hwinfo-1.0-add2general.patch |
21 |
snetram |
1.10 |
Patch5: smeserver-hwinfo-1.0-locale-2008-05-05.patch |
22 |
snetram |
1.4 |
BuildRequires: e-smith-devtools |
23 |
slords |
1.1 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
24 |
|
|
BuildArchitectures: noarch |
25 |
|
|
Requires: e-smith-base lshw |
26 |
slords |
1.8 |
Requires: e-smith-formmagick >= 1.4.0-12 |
27 |
slords |
1.1 |
Obsoletes: eos-hwinfo |
28 |
|
|
AutoReqProv: no |
29 |
|
|
|
30 |
|
|
%description |
31 |
|
|
smeserver-hwinfo adds panel providing informations about server harware configuration |
32 |
|
|
|
33 |
|
|
%changelog |
34 |
snetram |
1.10 |
* Mon May 5 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-9 |
35 |
|
|
- Apply 5 May 2008 locale patch |
36 |
|
|
|
37 |
snetram |
1.6 |
* 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 |
gnujpl |
1.5 |
* Thu Apr 24 2008 Jean-Paul Leclere <jean-paul@leclere.org> 1.0-7 |
41 |
|
|
- remove obsolete httpd templates fragments |
42 |
|
|
|
43 |
snetram |
1.4 |
* 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 |
snetram |
1.3 |
* Tue Apr 22 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-5 |
47 |
|
|
- Trying to fix creatlinks build error |
48 |
|
|
|
49 |
snetram |
1.2 |
* Tue Apr 22 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-4 |
50 |
|
|
- Added 22 April 2008 locale patch |
51 |
slords |
1.1 |
|
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 |
snetram |
1.2 |
%patch2 -p1 |
71 |
gnujpl |
1.5 |
%patch3 -p1 |
72 |
snetram |
1.6 |
%patch4 -p1 |
73 |
snetram |
1.10 |
%patch5 -p1 |
74 |
slords |
1.1 |
|
75 |
|
|
%pre |
76 |
|
|
|
77 |
|
|
%post |
78 |
|
|
|
79 |
|
|
%build |
80 |
snetram |
1.3 |
perl createlinks |
81 |
slords |
1.1 |
|
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 |
|
|
|