1 |
%define name smeserver-bandwidthd |
2 |
%define version 2.0.1.1 |
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.1-authfix.patch |
13 |
Patch1: smeserver-bandwidthd-2.0.1.1-mysqlinit.patch |
14 |
Patch2: smeserver-bandwidthd-2.0.1.1-requireSSL.patch |
15 |
BuildArchitectures: noarch |
16 |
BuildRoot: /var/tmp/%{name}-%{version}-buildroot |
17 |
BuildRequires: e-smith-devtools |
18 |
Requires: e-smith-release >= 8.0 |
19 |
Requires: bandwidthd |
20 |
AutoReqProv: no |
21 |
|
22 |
%description |
23 |
bandwidthd is an application adapted as a contrib for SMEserver |
24 |
|
25 |
%changelog |
26 |
* Mon Dec 30 2013 JP Pialasse <tests@pialasse.com> 2.0.1.1-6.sme |
27 |
- add require SSL [SME: 8099] |
28 |
|
29 |
* Sun Dec 29 2013 JP Pialasse <tests@pialasse.com> 2.0.1.1-4.sme |
30 |
- fix missing mysql.init |
31 |
- fix http auth error |
32 |
|
33 |
* Fri Dec 27 2013 JP Pialasse <tests@pialasse.com> 2.0.1.1-2.sme |
34 |
- few enhancement and bug fixing |
35 |
- added link in manager |
36 |
|
37 |
* Thu Dec 26 2013 CONTRIB MAKER <tests@pialasse.com> 2.0.1.1-1.sme |
38 |
- initial release |
39 |
- builds from unchanged .tar.gz |
40 |
|
41 |
%prep |
42 |
%setup |
43 |
%patch0 -p1 |
44 |
%patch1 -p1 |
45 |
%patch2 -p1 |
46 |
|
47 |
%build |
48 |
perl createlinks |
49 |
|
50 |
%install |
51 |
rm -rf $RPM_BUILD_ROOT |
52 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
53 |
rm -f %{name}-%{version}-filelist |
54 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
55 |
> %{name}-%{version}-filelist |
56 |
|
57 |
%clean |
58 |
rm -rf $RPM_BUILD_ROOT |
59 |
|
60 |
%files -f %{name}-%{version}-filelist |
61 |
%defattr(-,root,root) |
62 |
|
63 |
|