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