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