1 |
%define name smeserver-bandwidthd |
2 |
%define version 2.0.1.2 |
3 |
%define release 5 |
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.2.cronmysql.patch |
13 |
Patch1: smeserver-bandwidthd-2.0.1.2-b8536.patch |
14 |
Patch2: smeserver-bandwidthd-2.0.1.2-b8524.patch |
15 |
BuildArchitectures: noarch |
16 |
BuildRoot: /var/tmp/%{name}-%{version}-buildroot |
17 |
BuildRequires: e-smith-devtools |
18 |
Requires: e-smith-release >= 9.0 |
19 |
Requires: bandwidthd |
20 |
AutoReqProv: no |
21 |
|
22 |
%description |
23 |
bandwidthd is an application adapted as a contrib for SMEserver |
24 |
|
25 |
%changelog |
26 |
* Mon Nov 10 2015 JP Pialasse <tests@pialasse.com> 2.0.1.2-5.sme |
27 |
- fixed cron too verbose [SME: 8536] |
28 |
- fixed wont restart with single IP network [SME: 8524] |
29 |
|
30 |
* Sat Sep 26 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 2.0.1.2-2.sme |
31 |
- removed typo [SME: 8116] |
32 |
- Added smeserver-bandwidthd-2.0.1.2.cronmysql.patch |
33 |
|
34 |
* Mon Jun 16 2014 JP Pialasse <tests@pialasse.com> 2.0.1.2-1.sme |
35 |
- initial import to SME9 contribs |
36 |
|
37 |
* Mon Dec 30 2013 JP Pialasse <tests@pialasse.com> 2.0.1.1-6.sme |
38 |
- add require SSL [SME: 8099] |
39 |
|
40 |
* Sun Dec 29 2013 JP Pialasse <tests@pialasse.com> 2.0.1.1-4.sme |
41 |
- fix missing mysql.init |
42 |
- fix http auth error |
43 |
|
44 |
* Fri Dec 27 2013 JP Pialasse <tests@pialasse.com> 2.0.1.1-2.sme |
45 |
- few enhancement and bug fixing |
46 |
- added link in manager |
47 |
|
48 |
* Thu Dec 26 2013 CONTRIB MAKER <tests@pialasse.com> 2.0.1.1-1.sme |
49 |
- initial release |
50 |
- builds from unchanged .tar.gz |
51 |
|
52 |
%prep |
53 |
%setup |
54 |
%patch0 -p1 |
55 |
%patch1 -p1 |
56 |
%patch2 -p1 |
57 |
|
58 |
|
59 |
|
60 |
%build |
61 |
perl createlinks |
62 |
|
63 |
%install |
64 |
rm -rf $RPM_BUILD_ROOT |
65 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
66 |
rm -f %{name}-%{version}-filelist |
67 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
68 |
> %{name}-%{version}-filelist |
69 |
|
70 |
%clean |
71 |
rm -rf $RPM_BUILD_ROOT |
72 |
|
73 |
%files -f %{name}-%{version}-filelist |
74 |
%defattr(-,root,root) |
75 |
|
76 |
|