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