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