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