1 |
slords |
1.1 |
# $Id$ |
2 |
|
|
# Authority: darrellmay |
3 |
|
|
# Name: Darrell May |
4 |
|
|
|
5 |
|
|
Summary: Disk usage panel for the SME Server |
6 |
|
|
%define name smeserver-diskusage |
7 |
|
|
Name: %{name} |
8 |
|
|
%define version 0.0.1 |
9 |
|
|
%define release 3 |
10 |
|
|
Version: %{version} |
11 |
|
|
Release: %{release}%{?dist} |
12 |
|
|
License: GPL |
13 |
|
|
Group: Networking/Daemons |
14 |
|
|
Source: %{name}-%{version}.tar.gz |
15 |
|
|
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
16 |
|
|
BuildArchitectures: noarch |
17 |
|
|
Requires: e-smith-base, smeserver-release >= 7.0 |
18 |
|
|
BuildRequires: e-smith-devtools >= 1.13.1-03 |
19 |
|
|
Obsoletes: dmc-mitel-diskusage |
20 |
|
|
AutoReqProv: no |
21 |
|
|
|
22 |
|
|
%description |
23 |
|
|
Disk usage panel showing filesystem, i-bay and user statistics. |
24 |
|
|
|
25 |
|
|
%changelog |
26 |
|
|
* Mon Apr 21 2008 Shad L. Lords <slords@mail.com> |
27 |
|
|
- Prep for import into buildsys |
28 |
|
|
- Clean up spec |
29 |
|
|
|
30 |
|
|
* Mon Apr 16 2007 Darrell May <dmay@myezserver.com> |
31 |
|
|
- added /opt to ibay table |
32 |
|
|
- added date header |
33 |
|
|
- [0.0.1-2] |
34 |
|
|
* Wed Mar 21 2007 Darrell May <dmay@myezserver.com> |
35 |
|
|
- split usage/path into two columns |
36 |
|
|
- [0.0.1-1] |
37 |
|
|
* Tue Mar 20 2007 Darrell May <dmay@myezserver.com> |
38 |
|
|
- renamed and rebuilt for SME 7.x |
39 |
|
|
- [0.0.1-0] |
40 |
|
|
* Fri Aug 09 2002 Darrell May <dmay@netsourced.com> |
41 |
|
|
- initial release |
42 |
|
|
- [0.0.1-1] |
43 |
|
|
|
44 |
|
|
%prep |
45 |
|
|
%setup |
46 |
|
|
|
47 |
|
|
%build |
48 |
|
|
perl createlinks |
49 |
|
|
|
50 |
|
|
%install |
51 |
|
|
rm -rf $RPM_BUILD_ROOT |
52 |
|
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
53 |
|
|
rm -f e-smith-%{version}-filelist |
54 |
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
55 |
|
|
|
56 |
|
|
%clean |
57 |
|
|
cd .. |
58 |
|
|
rm -rf %{name}-%{version} |
59 |
|
|
|
60 |
|
|
%files -f %{name}-%{version}-filelist |
61 |
|
|
%defattr(-,root,root) |
62 |
|
|
|