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