1 |
# $Id: smeserver-raidmonitor.spec,v 1.3 2008/11/25 16:20:29 slords Exp $ |
2 |
# Authority: darrellmay |
3 |
# Name: Darrell May |
4 |
|
5 |
Summary: RAID monitor for SME Server |
6 |
%define name smeserver-raidmonitor |
7 |
Name: %{name} |
8 |
%define version 0.0.1 |
9 |
%define release 7 |
10 |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
12 |
License: GPL |
13 |
Group: Mitel/addon |
14 |
Source: %{name}-%{version}.tar.gz |
15 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
16 |
BuildArchitectures: noarch |
17 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
18 |
Obsoletes: dmc-mitel-raidmonitor |
19 |
|
20 |
%description |
21 |
%name is an addon RAID monitor for SME Server |
22 |
|
23 |
%changelog |
24 |
* Mon Apr 21 2008 Shad L. Lords <slords@mail.com> |
25 |
- Prep for import into buildsys |
26 |
- Clean up spec |
27 |
|
28 |
* Fri Apr 22 2005 Darrell May <dmay@myezserver.com> |
29 |
- tested on SME Server 7.x |
30 |
- name changed |
31 |
- [0.0.1-6] |
32 |
* Fri Oct 12 2001 Darrell May <dmay@netsourced.com> |
33 |
- SME5 require change to /sbin/e-smith/expand-template /etc/cron.d/raidmonitor |
34 |
- [0.0.1-5] |
35 |
* Thu Sep 27 2001 Darrell May <dmay@netsourced.com> |
36 |
- added /etc/e-smith/templates/etc/cron.d/raidmonitor |
37 |
- [0.0.1-4] |
38 |
* Sun Sep 23 2001 Darrell May <dmay@netsourced.com> |
39 |
- name changed |
40 |
* Tue Sep 18 2001 Darrell May |
41 |
- [0.0.1-3] |
42 |
- changed to use /root/raidmonitor as backup file store |
43 |
- added backup of lilo.conf, raidtab, fstab |
44 |
* Sun Sep 16 2001 Darrell May |
45 |
- [0.0.1-2] |
46 |
- minor editing |
47 |
* Sat Sep 15 2001 Darrell May |
48 |
- [0.0.1-1] |
49 |
- Original version |
50 |
|
51 |
%prep |
52 |
%setup |
53 |
|
54 |
%install |
55 |
rm -rf $RPM_BUILD_ROOT |
56 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
57 |
rm -f e-smith-%{version}-filelist |
58 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
59 |
|
60 |
%files -f %{name}-%{version}-filelist |
61 |
%defattr(-,root,root) |
62 |
|
63 |
%clean |
64 |
rm -rf $RPM_BUILD_ROOT |
65 |
|