1 |
%define name smeserver-bandwidthd |
2 |
%define version 2.0.1.1 |
3 |
%define release 3 |
4 |
Summary: bandwidthd is a helpdesk system |
5 |
Name: %{name} |
6 |
Version: %{version} |
7 |
Release: %{release}%{?dist} |
8 |
Distribution: SME Server |
9 |
License: GNU GPL version 2 |
10 |
Group: SMEserver/addon |
11 |
Source: smeserver-bandwidthd-%{version}.tar.gz |
12 |
Patch0: smeserver-bandwidthd-2.0.1.1-authfix.patch |
13 |
BuildArchitectures: noarch |
14 |
BuildRoot: /var/tmp/%{name}-%{version}-buildroot |
15 |
BuildRequires: e-smith-devtools |
16 |
Requires: e-smith-release >= 8.0 |
17 |
Requires: bandwidthd |
18 |
AutoReqProv: no |
19 |
|
20 |
%description |
21 |
bandwidthd is an application adapted as a contrib for SMEserver |
22 |
|
23 |
%changelog |
24 |
* Sun Dec 29 2013 JP Pialasse <tests@pialasse.com> 2.0.1.1-3.sme |
25 |
- fix http auth error |
26 |
|
27 |
* Fri Dec 27 2013 JP Pialasse <tests@pialasse.com> 2.0.1.1-2.sme |
28 |
- few enhancement and bug fixing |
29 |
- added link in manager |
30 |
|
31 |
* Thu Dec 26 2013 CONTRIB MAKER <tests@pialasse.com> 2.0.1.1-1.sme |
32 |
- initial release |
33 |
- builds from unchanged .tar.gz |
34 |
|
35 |
%prep |
36 |
%setup |
37 |
%patch0 -p1 |
38 |
|
39 |
%build |
40 |
perl createlinks |
41 |
|
42 |
%install |
43 |
rm -rf $RPM_BUILD_ROOT |
44 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
45 |
rm -f %{name}-%{version}-filelist |
46 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
47 |
> %{name}-%{version}-filelist |
48 |
|
49 |
%clean |
50 |
rm -rf $RPM_BUILD_ROOT |
51 |
|
52 |
%files -f %{name}-%{version}-filelist |
53 |
%defattr(-,root,root) |
54 |
|
55 |
|