1 |
slords |
1.8 |
# $Id: smeserver-hwinfo.spec,v 1.7 2008/04/26 21:42:09 snetram 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.6 |
%define release 8 |
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 |
snetram |
1.7 |
Patch4: smeserver-hwinfo-1.0-add2general |
21 |
snetram |
1.4 |
BuildRequires: e-smith-devtools |
22 |
slords |
1.1 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
23 |
|
|
BuildArchitectures: noarch |
24 |
|
|
Requires: e-smith-base lshw |
25 |
slords |
1.8 |
Requires: e-smith-formmagick >= 1.4.0-12 |
26 |
slords |
1.1 |
Obsoletes: eos-hwinfo |
27 |
|
|
AutoReqProv: no |
28 |
|
|
|
29 |
|
|
%description |
30 |
|
|
smeserver-hwinfo adds panel providing informations about server harware configuration |
31 |
|
|
|
32 |
|
|
%changelog |
33 |
snetram |
1.6 |
* Sat Apr 26 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-8 |
34 |
|
|
- Add common <base> tags to e-smith-formmagick's general |
35 |
|
|
|
36 |
gnujpl |
1.5 |
* Thu Apr 24 2008 Jean-Paul Leclere <jean-paul@leclere.org> 1.0-7 |
37 |
|
|
- remove obsolete httpd templates fragments |
38 |
|
|
|
39 |
snetram |
1.4 |
* Tue Apr 22 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-6 |
40 |
|
|
- Added e-smith-devtools as build requirement for the createlinks script |
41 |
|
|
|
42 |
snetram |
1.3 |
* Tue Apr 22 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-5 |
43 |
|
|
- Trying to fix creatlinks build error |
44 |
|
|
|
45 |
snetram |
1.2 |
* Tue Apr 22 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-4 |
46 |
|
|
- Added 22 April 2008 locale patch |
47 |
slords |
1.1 |
|
48 |
|
|
* Fri Apr 4 2008 Jean-Paul Leclere <jean-paul@leclere.org> |
49 |
|
|
- [1.0-3] |
50 |
|
|
- removing duplicate template fragment |
51 |
|
|
|
52 |
|
|
* Sun Jan 20 2008 Jean-Paul Leclere <jean-paul@leclere.org> |
53 |
|
|
- [1.0-2] |
54 |
|
|
- templates-custom replacement by templates fragment |
55 |
|
|
- change Copyright to License in spec |
56 |
|
|
|
57 |
|
|
* Fri Aug 24 2007 Jean-Paul Leclere <jean-paul@leclere.org> |
58 |
|
|
- [1.0-1] |
59 |
|
|
- port from Free-EOS eos-hwinfo, as a new panel in server-manager |
60 |
|
|
|
61 |
|
|
%prep |
62 |
|
|
%setup |
63 |
|
|
|
64 |
|
|
%patch0 -p1 |
65 |
|
|
%patch1 -p1 |
66 |
snetram |
1.2 |
%patch2 -p1 |
67 |
gnujpl |
1.5 |
%patch3 -p1 |
68 |
snetram |
1.6 |
%patch4 -p1 |
69 |
slords |
1.1 |
|
70 |
|
|
%pre |
71 |
|
|
|
72 |
|
|
%post |
73 |
|
|
|
74 |
|
|
%build |
75 |
snetram |
1.3 |
perl createlinks |
76 |
slords |
1.1 |
|
77 |
|
|
%install |
78 |
|
|
rm -rf $RPM_BUILD_ROOT |
79 |
|
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
80 |
|
|
rm -f e-smith-%{version}-filelist |
81 |
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
82 |
|
|
|
83 |
|
|
%preun |
84 |
|
|
|
85 |
|
|
%postun |
86 |
|
|
|
87 |
|
|
%clean |
88 |
|
|
rm -rf $RPM_BUILD_ROOT |
89 |
|
|
|
90 |
|
|
%files -f %{name}-%{version}-filelist |
91 |
|
|
%defattr(0644,root,root) |
92 |
|
|
|
93 |
|
|
|