1 |
snetram |
1.15 |
# $Id: smeserver-hwinfo.spec,v 1.14 2008/09/28 03:11:06 dungog 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.15 |
%define release 13 |
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.11 |
Patch6: smeserver-hwinfo-1.0-locale-2008-05-21.patch |
23 |
snetram |
1.12 |
Patch7: smeserver-hwinfo-1.0-locale-2008-07-01.patch |
24 |
dungog |
1.13 |
Patch8: smeserver-hwinfo-1.0-locale-2008-09-27.patch |
25 |
snetram |
1.15 |
Patch9: smeserver-hwinfo-1.0-locale-2008-10-14.patch |
26 |
snetram |
1.4 |
BuildRequires: e-smith-devtools |
27 |
slords |
1.1 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
28 |
|
|
BuildArchitectures: noarch |
29 |
|
|
Requires: e-smith-base lshw |
30 |
slords |
1.8 |
Requires: e-smith-formmagick >= 1.4.0-12 |
31 |
slords |
1.1 |
Obsoletes: eos-hwinfo |
32 |
|
|
AutoReqProv: no |
33 |
|
|
|
34 |
|
|
%description |
35 |
|
|
smeserver-hwinfo adds panel providing informations about server harware configuration |
36 |
|
|
|
37 |
|
|
%changelog |
38 |
snetram |
1.15 |
* Tue Oct 14 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-13 |
39 |
|
|
- Apply 14 Oct 2008 locale patch |
40 |
|
|
|
41 |
dungog |
1.13 |
* Sun Sep 28 2008 Stephen Noble <support@dungog.net> - 1.0-12 |
42 |
|
|
- Apply locale patch |
43 |
|
|
|
44 |
snetram |
1.12 |
* Tue Jul 1 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-11 |
45 |
|
|
- Apply 1 July 2008 locale patch |
46 |
|
|
|
47 |
snetram |
1.11 |
* Thu May 21 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-10 |
48 |
|
|
- Apply 21 May 2008 locale patch |
49 |
|
|
|
50 |
snetram |
1.10 |
* Mon May 5 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-9 |
51 |
|
|
- Apply 5 May 2008 locale patch |
52 |
|
|
|
53 |
snetram |
1.6 |
* 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 |
gnujpl |
1.5 |
* Thu Apr 24 2008 Jean-Paul Leclere <jean-paul@leclere.org> 1.0-7 |
57 |
|
|
- remove obsolete httpd templates fragments |
58 |
|
|
|
59 |
snetram |
1.4 |
* 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 |
snetram |
1.3 |
* Tue Apr 22 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-5 |
63 |
|
|
- Trying to fix creatlinks build error |
64 |
|
|
|
65 |
snetram |
1.2 |
* Tue Apr 22 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-4 |
66 |
|
|
- Added 22 April 2008 locale patch |
67 |
slords |
1.1 |
|
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 |
snetram |
1.2 |
%patch2 -p1 |
87 |
gnujpl |
1.5 |
%patch3 -p1 |
88 |
snetram |
1.6 |
%patch4 -p1 |
89 |
snetram |
1.10 |
%patch5 -p1 |
90 |
snetram |
1.11 |
%patch6 -p1 |
91 |
snetram |
1.12 |
%patch7 -p1 |
92 |
dungog |
1.13 |
%patch8 -p1 |
93 |
snetram |
1.15 |
%patch9 -p1 |
94 |
slords |
1.1 |
|
95 |
|
|
%pre |
96 |
|
|
|
97 |
|
|
%post |
98 |
|
|
|
99 |
|
|
%build |
100 |
snetram |
1.3 |
perl createlinks |
101 |
slords |
1.1 |
|
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 |
|
|
|