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