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