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