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