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