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