1 |
%define name smeserver-bandwidthd |
2 |
%define version 2.0.1.2 |
3 |
%define release 4 |
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-revert.patch |
14 |
Patch2: smeserver-bandwidthd-2.0.1.2-b9117.patch |
15 |
Patch3: smeserver-bandwidthd-2.0.1.2-b9118.patch |
16 |
BuildArchitectures: noarch |
17 |
BuildRoot: /var/tmp/%{name}-%{version}-buildroot |
18 |
BuildRequires: e-smith-devtools |
19 |
Requires: e-smith-release >= 8.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 |
* Mon Nov 10 2015 JP Pialasse <tests@pialasse.com> 2.0.1.2-4.sme |
28 |
- fix too verbose cronjob [SME: 9117] |
29 |
- fix bandwidthd wont start for unique IP networks(error27) [SME: 9118] |
30 |
|
31 |
* Thu Nov 05 2015 JP Pialasse <tests@pialasse.com> 2.0.1.2-3.sme |
32 |
- removed httpd.conf syntax intended for SME9 not SME8 [SME: 9100] |
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 |
%build |
64 |
perl createlinks |
65 |
|
66 |
%install |
67 |
rm -rf $RPM_BUILD_ROOT |
68 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
69 |
rm -f %{name}-%{version}-filelist |
70 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
71 |
> %{name}-%{version}-filelist |
72 |
|
73 |
%clean |
74 |
rm -rf $RPM_BUILD_ROOT |
75 |
|
76 |
%files -f %{name}-%{version}-filelist |
77 |
%defattr(-,root,root) |
78 |
|
79 |
|