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